Commit Graph
6546 Commits
Author SHA1 Message Date
Neil LathwoodandSøren Rosiak aef79535f4 newdevice: Added support for A10 ACOS devices (#7327)
* newdevice: Added support for A10 ACOS devices
2017-09-17 21:33:09 +02:00
Søren RosiakandGitHub 18d29956d3 Merge pull request #7352 from laf/newdevice/issue-1011
newdevice: Added support for routeros to pull UPS info
2017-09-17 20:51:42 +02:00
Søren RosiakandGitHub 11a7507d8a Merge pull request #7353 from laf/newdevice/issue-7250
newdevice: Added more detection for Cisco SB devices
2017-09-17 20:50:49 +02:00
laf 82f6eb096e newdevice: Added more detection for Cisco SB devices 2017-09-17 21:35:36 +01:00
laf 14aafd39a6 newdevice: Added support for routeros to pull UPS info 2017-09-17 09:21:38 +01:00
Neil LathwoodandGitHub b19b9e90d2 Revert "refactor: rewrite is_valid_port()" (#7355)
* Revert "refactor: Added detection of vlan name changes (#7348)"

This reverts commit 4ad8faecdc.

* Revert "refactor: Rewrite is_valid_port() (#7337)"

This reverts commit 31607418e1.
2017-09-17 08:21:28 +01:00
Neil LathwoodandTony Murray 4ad8faecdc refactor: Added detection of vlan name changes (#7348) 2017-09-16 21:19:54 -05:00
Tony MurrayandNeil Lathwood 31607418e1 refactor: Rewrite is_valid_port() (#7337)
Convert is_valid_port to Config
Several Config optimizations
Update documentation
2017-09-16 10:13:03 +01:00
Tony MurrayandNeil Lathwood b4d804f2ac fix: rfc1628 runtime - allow os quirks (#7340)
* fix: rfc1628 runtime - allow os quirks
Also, properly divide values at discovery
Remove accidental debug output
2017-09-14 21:55:07 +01:00
Tony MurrayandNeil Lathwood 65b29d5563 fix small typo for himoinsa-gensets (#7338) 2017-09-14 21:26:48 +01:00
Tony MurrayandGitHub f158a56774 fix incorrect getOsSetting arguments (#7339)
Missed calls when the function definition changed.
2017-09-14 00:43:14 -05:00
Neil LathwoodandTony Murray 973b1181e3 newdevice: Added additional detection for Cisco small business switches (#7317)
* newdevice: Added additional detection for Cisco small business switches

* updated test unit
2017-09-13 21:25:49 -05:00
Neil LathwoodandTony Murray 7af0fd28e5 newdevice: Added sensor support for Himoinsa Gensets (#7315) 2017-09-13 21:16:37 -05:00
Neil LathwoodandTony Murray b3567041dd newdevice: Added support for SmartOptics M-Series (#7314)
* newdevice: Added support for SmartOptics M-Series

* added os polling file
2017-09-13 21:12:56 -05:00
Paul HeinrichsandNeil Lathwood 9f553af71e newdevice: Added DHCP Leases Graph for Mikrotik (#7333) 2017-09-13 19:49:41 +01:00
Tony MurrayandNeil Lathwood 98786c0ea7 feature: Allow ignore_mount, ignore_mount_string, ignore_mount_regex per OS (#7304)
* feature: Allow ignore_mount, ignore_mount_string, ignore_mount_regex at OS level

* Change the storage settings to override global instead of merge.
Add documentation
2017-09-13 19:43:21 +01:00
Neil LathwoodandTony Murray e0040b2831 newdevice: Added support for Toshiba RemotEye4 devices (#7312)
* newdevice: Added support for Toshiba RemotEye4 devices

* small updates thanks to kate

* Update new-os.php

* Update new-os.php
2017-09-12 22:27:06 -05:00
Neil LathwoodandTony Murray 58193e16a3 newdevice: Added additional Quanta detection (#7316) 2017-09-12 20:15:50 -05:00
Neil LathwoodandTony Murray 1e7e421cd7 newdevice: Added additional detection for Calix devices (#7325) 2017-09-12 19:58:59 -05:00
Tony MurrayandNeil Lathwood b18c41b1a9 refactor: Use the Config class includes/discovery (#7299)
* refactor: use the Config class includes/discovery

* fix issue with $config variable not accessible in include-dir.inc.php

* improved whitespace

* Tidy up discovery_by_ip
2017-09-11 21:26:41 +01:00
Neil LathwoodandTony Murray 9cafcb6280 newdevice: Added detection for Himoinsa Gensets (#7295)
* newdevice: Added detection for Himoinsa Gensets

* Update himoinsa.svg
2017-09-10 13:44:05 -05:00
jayceeemperadorandNeil Lathwood dbbb9ca7fa newdevice: Added detection for ServerChecks (#7308)
* Add files via upload

Serverscheck logo

* Delete serverscheck.svg

* Add files via upload

* Delete serverscheck.png

* Add OS discovery for ServerChecks #7284

* Delete servercheck.svg

* newdevice: Add OS discovery for ServerChecks (#7284)

* Create serverscheck.yaml

* Delete serverscheck.png

* Change png to 32x32 size

* Add OS discovery for ServerChecks #7308

Added mib directory for serverscheck

* Create SERVERSCHECK-MIB

* Add OS discovery for ServerChecks #7308

Added snmprec file for serverscheck
2017-09-10 19:14:34 +01:00
Neil LathwoodandTony Murray 455c72156d newdevice: Added support for Saf Integra Access points (#7292)
* newdevice: Added support for Saf Integra Access points

* Split SAF Integra models out

* added polling files

* Update saf-integra-b.yaml

* Update saf-integra-w.yaml
2017-09-08 15:22:03 -05:00
Neil LathwoodandTony Murray f97b0b87a3 refactor: Updated ldap auth to allow configurable uidnumber field (#7302) 2017-09-08 12:04:59 -05:00
Tony MurrayandNeil Lathwood ec72eb2960 newdevice: Added basic Open-E detection (#7301)
ingore_mount_string will be activated with separate PR
2017-09-08 05:17:40 +01:00
Neil LathwoodandTony Murray f7e14df90e newdevice: Updated Arista entity-physical support to use high/low values from device (#7156)
* fix: Fixed the high/low thresholds for Arista devices

* final updates

* push threshold changes

* more updates

* another update

* updated entity-sensor for current value calc

* hoping final update
2017-09-07 08:49:32 -05:00
Mathieu PatenaudeandNeil Lathwood fea2f37f20 fix: Use Netscaler vserver full names (#7279)
Netscaler vserver names can be up to 127 chars long.  The current db schema supports that but the actual polling was using vsvrName instead of vsvrFullName, therefore producing some ramdom strings for vserver name longer than 30 chars.
2017-09-07 09:29:40 +01:00
Tony MurrayandNeil Lathwood 66f9411adc newdevice: Added support for Mimosa A5 (#7287)
* device: add support for Mimosa A5
Frequency and Tx/Rx Power

Unfortunately, we would have to walk the client table to get any client stats such as count.

* remove sysdescr after checking stats

* Forgot the mib new files
2017-09-07 09:29:03 +01:00
Stefan FunkeandTony Murray c39f3c7468 fix: quotes breaking powerdns app data (#7111) 2017-09-04 23:30:08 -05:00
Neil LathwoodandGitHub edae33507a feature: Added script to generate config for new OS (#7161)
* feature: Added script to generate config for new OS

* scrut fixes
2017-09-04 21:38:09 +01:00
Andrew HolmesandNeil Lathwood da0dcda409 newdevice: Updated state sensor code for Netonix 2017-09-03 21:08:57 +01:00
Tony MurrayandNeil Lathwood 7b262a6851 refactor: Improve yaml state discovery (#7221)
* feature: Improve yaml state discovery
Handle state values that are returned as strings instead of int
Synchronize state values for existing state translations so we can change them without creating a new translation and losing historical data
More extensive/verbose yaml discovery phpunit tests
dbBulkInsert, use the first entry instead of requiring the first entry to be at index 0

* Update sensor state documentation
re-order values for better readability
remove os check
Use snmpwalk_group since it is more flexible

* Add some more debug output in dynamic discovery
2017-09-03 19:58:39 +01:00
ZmegolazandTony Murray 5441bafc81 fix: Fixed IPv6 host renaming (#7275)
* Fixed IPv6 host renaming

* Added get_rrd_dir() and modified other files to use it where appropriate.

* rrd_name() now uses the new function get_rrd_dir(), to make it simpler to modify the escaping in the future.

* Wrong function name in rrdstep.php
2017-09-02 13:45:31 -05:00
sfiniandNeil Lathwood b85269f00e newdevice: Added Support for Radware / AlteonOS OS/Mem/Proc (#7220)
* Added Support for Radware / AlteonsOS OS/Mem/Proc

* Discovery processors alteonos.inc.php

* Delete alteonos.inc.php

* file for discovery mempools

* File for discovery  processors alteonos.inc.php

* file for polling mempools alteonos.inc.php

* Update alteonos.inc.php
2017-09-01 21:06:38 +01:00
Søren RosiakandNeil Lathwood 21283f4a5b fix: Fixed Comware Processor Discovery && Hardware Info (#7206)
* fix: Fix Comware Processor Discovery && Hardware Info

* Remove old info.
2017-09-01 21:01:01 +01:00
deepsethandNeil Lathwood 809c9ea591 feature: Added Syslog hook for ASA support (#7268)
* Added limited support for ASA using emblem logging

* Updated documentation

* Updated ASA support to cover regular and emblem logging

* Gave the variable a more suitable name

* Removed debug output
2017-09-01 18:37:01 +01:00
deepsethandNeil Lathwood 2cbee2dc02 refactor: Added IOS-XR Bundle-Ether shortened/corrected forms (#7283)
* Added IOS-XR Bundle-Ether shortened/corrected forms
2017-09-01 17:14:03 +01:00
Tom SealeyandNeil Lathwood 4c3562ea0f alerts: Added Slack mrkdwn support in alert messages (#7202) 2017-09-01 14:50:13 +01:00
Paul HeinrichsandNeil Lathwood 6914666004 newdevice: Added support for DragonWave Horizon (#7264)
* Add Dragonwave Horizon Support

* Add snmprec and fix style issues

* Update logo and discovery oid

* Update horizon.yaml
2017-08-30 23:13:31 +01:00
Tony MurrayandNeil Lathwood 21deb96d52 fix: Fixed Avtech sensor discovery (#7244)
$valid is no longer a global as it once was
2017-08-29 19:37:24 +01:00
ZmegolazandTony Murray 18fb90ad25 fix: Corrected variable for timeout messages in unix-agent.inc.php (#7246) 2017-08-29 10:00:09 -05:00
Neil LathwoodandGitHub b5d24a533a fix: Fixed the empty() vlan detection check (#7241) 2017-08-28 20:24:43 +01:00
Arzhel YounsiandGitHub 33c8d38e57 Use $install_dir var for auth_mechanism require_once
This PR fixes the following error that showed up after upgrading to 1.31.
```
Array ( [0] => 1 [1] => Uncaught Error: Call to undefined function init_auth() in /srv/deployment/librenms/librenms-cache/revs/8c9da11850ecbf2a949b9317d1fce75301bfd13b/includes/init.php:152 Stack trace: #0 /srv/deployment/librenms/librenms-cache/revs/8c9da11850ecbf2a949b9317d1fce75301bfd13b/html/index.php(59): require() #1 {main} thrown [2] => /srv/deployment/librenms/librenms-cache/revs/8c9da11850ecbf2a949b9317d1fce75301bfd13b/includes/init.php [3] => 152 ) 
```
it's most likeley related to the fact that we use a symlink, and $config['install_dir'] is the symlink, and $install_dir is the real folder.
2017-08-28 12:07:00 -07:00
Neil LathwoodandTony Murray 061add5eb1 fix: Re-added changes for #6959 removed by accident in #7128 (#7240) 2017-08-28 13:44:24 -05:00
Neil LathwoodandGitHub 951e09e925 fix: issues with Geist Watchdog sensors
fix: issues with Geist Watchdog
2017-08-28 19:19:32 +01:00
Daniel PreusskerandTony Murray f4fd564f46 Update hddtemp.inc.php (#7232) 2017-08-28 13:10:09 -05:00
Tony Murray c8436d2a4f fix: issues with Geist Watchdog
miss-named variable in sensor pre-caching
internal humidity and temperature was discovered twice
humidity was mis-spelled in yaml discovery
temperature and current had incorrect divisor in yaml

remove redundant fahrenheit to celsius function

fixes #7236
2017-08-28 13:00:29 -05:00
Tony MurrayandNeil Lathwood 0def643e09 feature: Notify about failed updates, block detectable bad updates (#7188)
* Feature: Notify about failed updates, block detectable bad updates
Ability to post notifications when the update fails.
Detect and roll back updates that will cause broken installs. (Needs testing)
Add severity to notifications, critical (2) notifications will display a toast.

This will be used for removing in-tree dependencies and raising the minimum php version.

* Improve naming a bit add phpdoc to new_notification
In case multiple notifications are created, remove them all.

* Remove notifications when update is disabled.

* update travis to use db testing

* added missing index
2017-08-26 21:35:39 +01:00
Neil LathwoodandGitHub 932b05c38c fix: Updated dump_db_schema() to use default 0 if available (#7225)
* fix: Updated dump_db_schema() to use default 0 if available

* added removed column for testing
2017-08-26 20:23:30 +01:00
yac01andNeil Lathwood 38cf424417 webui: Added ability for users to configure selectable times for graphs (#7193)
* feat:add links for librenms graph

* added widescreen config
2017-08-25 20:11:01 +01:00