Commit Graph

16043 Commits

Author SHA1 Message Date
djamp42
c1fab98cc3 Added device WISI Tangram (#10039)
* Added device WISI Tangram
2019-04-03 06:43:39 +02:00
Timothy Willey
311d24c3b3 Cleaning in function poll_device(#10015) 2019-04-03 00:51:41 +02:00
Neszt Tibor
f30d5afa35 Added PPPoE Sessions Graph for Mikrotik (#10056) 2019-04-02 22:35:37 +02:00
smiles1969
c4fa3278b5 Add SysName to Oxidized view (#10012)
* Add sysName to Oxidized view

* Add sysName to Oxidized view

* Add force_ip_to_sysname check

* Add force_ip_to_sysname check

* Add force_ip_to_sysname check Config::get method

* Add force_ip_to_sysname check Config::get method

* Add force_ip_to_sysname check loose comparison

* Add force_ip_to_sysname check loose comparison

* Fix Spacing - Travis check

* Fix Spacing - Travis check

* Travis Check

* Travis Check

* Travis check changes

* Whitespace Travis Check

* Replace ifcheck with ternary operator

Always send column id tag, but hide SysName conditionally

* Move php tags

* Remove ifcheck
2019-04-01 22:19:31 -05:00
Tony Murray
a3ef7c3d4a fix style issues (#10057) 2019-04-01 20:03:54 -05:00
Tony Murray
7615dd5b39 rename hikvision nvr test file (#10055) 2019-04-01 16:21:27 -05:00
Tony Murray
c36f913cfb Don't skip style tests for os that have PHP files (#10053) 2019-04-01 15:49:55 -05:00
Tony Murray
d628afcc27 LibreNMS python service doc updates (#10044) 2019-04-01 12:23:53 -05:00
Tony Murray
c7c14ae809 Fix gw-eydfa (#10052) 2019-04-01 12:23:17 -05:00
priiduonu
5fc2f18af1 Added support for IONODES video encoders (#10031)
* Added support for IONODES video encoders

* fixed expected number instead of string value error when running tests

* removed extra colon

* added mibs_dir for ionodes

* removed IF-MIB from ionodes.yaml
2019-04-01 09:25:32 +02:00
Chi Hang Long
2eb5e30aa7 Modify to fix neighbours on EXOS switch problem (#10013)
https://community.librenms.org/t/modify-discovery-protocols-inc-php-to-fix-neighbours-problem-on-extreme-networks-exos-switch/7797

The bug is caused by SNMP polling switch-1 with ifIndex to DB (associate
ifIndex when adding switch), the port “1” is “1001”. Another switch-2
discover the switch-1 port “1” by LLDP is “1” (after LiberNMS get this
information). Two values are not equal (“1001” != “1”). If I change to
use ifName associate when adding device, because ifName is “1:1”, so it
can not equal to LLDP too (“1:1” != “1”).
2019-04-01 09:24:58 +02:00
Spencer Butler
6b4f2476a6 Added support for DELLEMC-OS10-PRODUCTS-MIB (os: dell-os10) (#10011)
* Added support for DELLEMC-OS10-PRODUCTS-MIB (os: dell-os10)

* added info comment

* added group: dell
2019-04-01 09:23:31 +02:00
Tony Murray
9661e6b9b3 Bump version to 1.50 1.50 2019-03-31 22:44:01 -05:00
Tony Murray
c03ed12d29 Changelog for 1.50 2019-03-31 22:43:59 -05:00
Freddie Cash
a4513e9372 Fix path in Smokeping conf file (#10045)
Fix path in Smokeping conf file
2019-03-31 11:18:55 +02:00
Tony Murray
4e4ceffc0a Work around issue with Weathermaps (#10033) 2019-03-27 16:34:24 -05:00
Spencer Butler
7bfe0bc831 Added support for HikVision-DS Cameras (#9980)
* Added support for HikVision-DS Cameras

clean up

removed pointless file, cleaned up code

fixed failing unit tests, a bit of cleanup

WIP - will rebase

split hikvision into hikvision-nvr an hikvision-cam

* removed unneeded comment and rec file
2019-03-27 15:38:35 -05:00
jozefrebjak
54893b9c4e Added support for EDFA (#9912)
* Create edfa.yaml

* Create edfa.inc.php

* Create NSCRTV-ROOT

* Create edfa.yaml

* Add files via upload

* Add files via upload
2019-03-27 15:37:23 -05:00
Tony Murray
f55302d0c5 Eltek Valere: group by shelf (#10040) 2019-03-27 15:33:22 -05:00
PipoCanaja
7fd7ba5a84 Added support for Orvaldi UPS (#10021)
* ovaldi UPS support

* ovaldi UPS tests

* serial + model + version inc tests

* update of the code using details from requester

* update of the code using details from requester

* update of the tests

* forgot discovery yaml ...
2019-03-27 07:21:35 -05:00
Tony Murray
373de957bc top ports widget (#10024)
work around bad data in the database
2019-03-27 07:19:19 -05:00
Tony Murray
960a75f19f auth fix error when user doesn't exist (#10023) 2019-03-27 07:18:28 -05:00
Tony Murray
ac1cd1296b Fix transport options when edited on Windows (#10001)
Windows puts line returns as \r\n, when parsing LibreNMS previously left the \r, which could cause issues
Centralize the code so we just have one place to fix.
Try to fix SMSEagle, it had the options wrong (copied from another transport)
2019-03-27 07:18:02 -05:00
PipoCanaja
743b76ea9c Typo in routeros YAML discovery (#9903)
Typo in routeros YAML discovery (#9903)
2019-03-27 07:15:51 +01:00
Spencer Butler
2ad13f1836 Added support for Ruijie Networks (#10026)
* Added support for Ruijie Networks

* Extend discovery

Let's extend to all the products from this brand, at least until we have more detailed discovery
2019-03-26 20:38:28 +01:00
JoshWeepie
9037c0736d Fix missing pipe in ports page menu (#10025)
The ports page has a missing pipe in the menu between 'Update URL' and 'Search'.
2019-03-25 22:34:24 +01:00
TheGreatDoc
8f718f5c78 Update Fast-Ping-Check.md (#10022)
Fixed documentation formatting issues
2019-03-25 10:07:04 +01:00
TheGreatDoc
5535768d25 New Device: ATS - Automatic Transfer Switch (#9889)
* New Device: ATS - Automatic Transfer Switch

* Small fixes

* Fixed test data

* More fixes, again

* Moved temp to php to retrieve limits from device

* Fixed perms again...

* Final test file. Or I hope so...
2019-03-24 18:48:55 -05:00
PipoCanaja
546849f326 Added Panduit Eagle-I (was Sinetica) (#10014)
* Panduit eagle-I

* tests

* mibfile

* over update

* tests redone with dynamic sensors
2019-03-24 18:45:50 -05:00
PipoCanaja
c7a9e8db5d extend support for all emerson products (#10018) 2019-03-24 18:43:49 -05:00
VVelox
bc2a0e6c42 check if the proper variable is empty (#10017) 2019-03-24 18:40:37 -05:00
Tony Murray
74dbc43248 Ignore _ide_helper_models.php (#9952) 2019-03-22 19:39:54 -05:00
Tony Murray
7c86234815 fix an issue with bills with no data (#10009)
Still gets a an error message when graphing, but it better relates to what the issue is.
2019-03-22 19:36:50 -05:00
KodApa85
8ec2476036 Added support for APC AP9810 zone contacts (#9967)
* device: Added support for APC AP9810 zone contacts

* fix: disconnected sensors been detected. And iemConfigProbesTable certainly does get used and it reference

* fix: load is VA, not to be confused with watts. This could be different per device though...
Apparent Power unit = VA
Real Power unit = Watts

And Keeping codeclimate happy

* feature: updated APC MIB

* feature: added test data for APC Smart UPS SMX750i and AP9810 with contact switches
2019-03-22 00:10:20 +01:00
Yann Gauteron
76597ea94a Improving Health limits display (#10007) 2019-03-21 08:52:01 +01:00
djamp42
fbfed49082 Add Device Arris Apex (#10006)
* device arris-apex

* Code Climate Fixes
2019-03-21 08:51:14 +01:00
Yann Gauteron
96797aa813 Beautify port health (#9981)
* Removal of the unused  variable
* Replace double quotes by single quotes when possible
* Adding spaces between operands of the concatenation operator
* Rewrite of code echoed to the browser
* Reuse the logic of the Device/Health page for displaying current and limit values
* New helper function to determine the unit for the different sensor classes
* Fixing wrong value for current unit
2019-03-20 16:17:49 +01:00
Tony Murray
f7b071a221 Also fixes warning about mismatched composer.json hash (#10002)
Update dependencies
  - Updating symfony/var-dumper (v4.2.3 => v4.2.4)
  - Updating symfony/console (v4.2.3 => v4.2.4)
  - Updating symfony/debug (v4.2.3 => v4.2.4)
  - Updating nikic/php-parser (v4.2.0 => v4.2.1)
  - Updating symfony/css-selector (v4.2.3 => v4.2.4)
  - Updating symfony/routing (v4.2.3 => v4.2.4)
  - Updating symfony/process (v4.2.3 => v4.2.4)
  - Updating symfony/http-foundation (v4.2.3 => v4.2.4)
  - Updating symfony/event-dispatcher (v4.2.3 => v4.2.4)
  - Updating symfony/http-kernel (v4.2.3 => v4.2.4)
  - Updating symfony/finder (v4.2.3 => v4.2.4)
  - Installing symfony/polyfill-intl-idn (v1.10.0)
  - Installing symfony/polyfill-iconv (v1.10.0)
  - Updating swiftmailer/swiftmailer (v6.1.3 => v6.2.0)
  - Updating opis/closure (3.1.5 => 3.1.6)
  - Updating symfony/translation (v4.2.3 => v4.2.4)
  - Updating erusev/parsedown (1.7.1 => v1.7.2)
  - Updating laravel/framework (v5.7.26 => v5.7.28)
  - Updating nexmo/client (1.6.2 => 1.6.3)
  - Updating laravel/laravel (v5.7.19 => v5.7.28)
  - Updating symfony/yaml (v4.2.3 => v4.2.4)
  - Updating fico7489/laravel-pivot (3.0.0 => 3.0.1)
  - Updating barryvdh/laravel-debugbar (v3.2.2 => v3.2.3)
  - Updating symfony/filesystem (v4.2.3 => v4.2.4)
  - Updating barryvdh/laravel-ide-helper (v2.5.3 => v2.6.1)
  - Updating laravel/dusk (v5.0.0 => v5.0.2)
  - Updating phpunit/php-timer (2.0.0 => 2.1.1)
  - Updating phpunit/phpunit (7.5.4 => 7.5.7)
  - Updating symfony/dotenv (v3.4.22 => v3.4.23)
2019-03-20 09:25:33 -05:00
Tony Murray
3a275e5807 Fix bill permissions (#10005) 2019-03-20 09:23:06 -05:00
Tony Murray
666c909ca6 Fix permissions issues (#10004)
Handle numbers passed as strings
2019-03-20 08:33:47 -05:00
Tony Murray
f5209332b5 Update index.md 2019-03-19 15:16:29 -05:00
Spencer Butler
62113ebde4 Added Med(5m) and High(15m) Utilization sensors for Cambium APs (os: pmp) (#9995)
* Added Med(5m) and High(15m) Utilization sensors for Cambium based (os: pmp) APs

* update the variants
2019-03-19 08:23:08 -05:00
Misha Komarovskiy
55f4870b91 Added resources/sensors api call to list all sensors (#9837)
* Added resources/sensors api call to list all sensors

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* Use global read permission check

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* fix typo

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* fix another typo

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* Use laravel style for call

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
2019-03-19 08:22:39 -05:00
Tony Murray
00a1185980 New permissions code (#9986)
* Initial permissions

* initial tests

* updates

* finish tests, other tweaks

* update legacy permissions checks
remove global :D

* missed facade extend

* Update eloquent permissions to use the new facade and drop joins

* method descriptions

* more docs

* fix style
2019-03-19 08:14:01 -05:00
Yann Gauteron
bafc195ae3 Fix cisco temperature limit (#9985)
* The SNMP value ciscoEnvMonTemperatureThreshold is now stored as high limit (and no more as high warning limit)

* Updating misc/notifications.rss to make the user aware of the behavioral change

* Addition of missing </description> in the misc/notifications.rss
2019-03-19 08:12:54 -05:00
Tony Murray
05186d4b50 Fix device group queries again (#10000) 2019-03-19 07:29:29 -05:00
Tony Murray
edd18b4f9f Fix world map when location has been deleted that a device still references (#9997) 2019-03-19 06:52:20 -05:00
Tony Murray
bc24d39bf1 Fix device list down devices that have never been polled (#9994)
* Fix device list down devices that have never been polled

* Suggestion with 'Never' in case last_polled empty and down

* Improve handling of all cases

* fix doc comment
2019-03-19 06:52:06 -05:00
Ryan Medlyn
b237e42615 Add location to alert hostname tooltip (#9991) 2019-03-19 11:07:05 +01:00
Kevin Krumm
4a9ee7ae56 Update github issue template (#9993)
* update github issue template
added more warnings to github issue template.

* Update ISSUE_TEMPLATE.md
2019-03-19 10:35:38 +01:00