16264 Commits

Author SHA1 Message Date
36e709ebab Improved Linksys support, including POE (#10075)
Fixes #9718 

This PR adds POE graphs, even if not all the values that are polled on other OSes are available on this one.  

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [X] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 10075`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-04-09 20:32:57 +01:00
5697d24869 Added Cisco Small business bootloader + HW version (#10043)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [X] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-04-09 20:03:07 +01:00
0a7b0d4086 Added detection for ESW 5xx series of Cisco SB devices (#10077)
* Added detection for ESW 5xx series of Cisco SB devices

* Added test files

* Fixed the regex

* Updated definitions

* Final fix hopefully
2019-04-09 18:45:43 +02:00
9c3f987d7c Cleanup of typo in oxidized view (#10079)
* HTML Cleanup

Extra quote and semicolon

* Revert "HTML Cleanup"

This reverts commit 6a956916fcb0192da4461a1790326d5fce22c32f.

* HTML Cleanup

Extra quote and semicolon
2019-04-09 18:37:46 +02:00
a01cd82e9c Updated json error message to show how to debug. (#9998)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-04-09 14:57:33 +01:00
91ca7b37fe Refactored Nvidia Application (#10037)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [ ] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-04-09 14:47:43 +01:00
780ee36b10 Updated support for adva_fsp150 devices (#10049)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [X] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-04-09 13:59:08 +01:00
943dbe4ff1 Updated RegEx string for correct definitions for Proxmox 4.x nodes (#10048) 2019-04-09 13:55:50 +01:00
7b4c63a2f4 Added API call to list all ports FDB (#10020)
Add FDB API calls to resolve this [forum request](https://community.librenms.org/t/fdb-table-search-via-api-mac-ip-switch-port/1772/4) 

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-04-09 13:51:01 +01:00
e285a9268e Improve Huawei BGP polling + BGP webui & graphs patches (#10010)
* basic adress family for VRP

* Improve BGP prefixes display

* Improve BGP prefixes display

* Improve BGP prefixes display

* climate
2019-04-09 13:44:48 +01:00
e7ba1b195f Added initial support for teltonika (#10059)
* initial support for teltonika
* fix sensors
* fix mibs name
* add rutos.json
* Update rutos.json
2019-04-08 08:54:17 +02:00
47e0ee1d04 Added support for Liebert PDUs (#10062)
* Added support for Liebert PDUs
2019-04-07 21:19:08 +02:00
edf81cca7e Update api_functions.inc.php (#10068) 2019-04-07 09:00:20 -05:00
e1df2a3dd9 Added support for TP-LINK T1600G-52TS (#9983)
* Normalizing support for TP-Link Jetstream switches

* WIP - playing with MIB Modules

* removed comments

* reset discovery yaml
2019-04-07 08:55:52 -05:00
adaf08b1bf fix aruba-controller polling (#10071) 2019-04-07 08:26:55 -05:00
dd2faa2634 Minor word usage corrections (#10073) 2019-04-05 17:09:08 -05:00
1b46d87b0a Fix fail2ban jails eventlog spam (#10066)
The previous sort preserved keys, which we don't want
2019-04-03 21:49:15 -05:00
68916a1930 Fix notification creation (#10058)
* Fix notification creation
also refactor so it is a bit more logical

* Don't allow empty title and body

* Updated to use error message in toastr
2019-04-03 20:52:08 -05:00
c305d2b520 Fixed fail2ban jails eventlog spam (#10061)
Sort the jails before saving so it always matches.
Not sure why it would be different order, but this fixes the spam in any case.
2019-04-03 23:21:27 +01:00
64897c273c Updated Smokeping.md (#10064)
Fixed a couple more things after #9731 and #10045 make some changes.
2019-04-03 15:02:24 +02:00
4e36805eaa Updated SNMP-Configuration-Examples (#10063)
Update snmpd instructions for Linux to reflect the ability to use @reboot declaration in the crontab. This is probably preferable to rc.local, which is apparently not supported or possible deprecated in Ubuntu or CentOS7.
2019-04-03 13:39:02 +02:00
c1fab98cc3 Added device WISI Tangram (#10039)
* Added device WISI Tangram
2019-04-03 06:43:39 +02:00
311d24c3b3 Cleaning in function poll_device(#10015) 2019-04-03 00:51:41 +02:00
f30d5afa35 Added PPPoE Sessions Graph for Mikrotik (#10056) 2019-04-02 22:35:37 +02:00
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
a3ef7c3d4a fix style issues (#10057) 2019-04-01 20:03:54 -05:00
7615dd5b39 rename hikvision nvr test file (#10055) 2019-04-01 16:21:27 -05:00
c36f913cfb Don't skip style tests for os that have PHP files (#10053) 2019-04-01 15:49:55 -05:00
d628afcc27 LibreNMS python service doc updates (#10044) 2019-04-01 12:23:53 -05:00
c7c14ae809 Fix gw-eydfa (#10052) 2019-04-01 12:23:17 -05:00
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
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
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
9661e6b9b3 Bump version to 1.50 1.50 2019-03-31 22:44:01 -05:00
c03ed12d29 Changelog for 1.50 2019-03-31 22:43:59 -05:00
a4513e9372 Fix path in Smokeping conf file (#10045)
Fix path in Smokeping conf file
2019-03-31 11:18:55 +02:00
4e4ceffc0a Work around issue with Weathermaps (#10033) 2019-03-27 16:34:24 -05:00
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
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
f55302d0c5 Eltek Valere: group by shelf (#10040) 2019-03-27 15:33:22 -05:00
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
373de957bc top ports widget (#10024)
work around bad data in the database
2019-03-27 07:19:19 -05:00
960a75f19f auth fix error when user doesn't exist (#10023) 2019-03-27 07:18:28 -05:00
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
743b76ea9c Typo in routeros YAML discovery (#9903)
Typo in routeros YAML discovery (#9903)
2019-03-27 07:15:51 +01:00
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
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
8f718f5c78 Update Fast-Ping-Check.md (#10022)
Fixed documentation formatting issues
2019-03-25 10:07:04 +01:00
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
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