Commit Graph

5111 Commits

Author SHA1 Message Date
Tony Murray
738067e622 fix: rfc1628 state sensor translations (#7416) 2017-10-02 15:08:02 +00:00
Aldemir Akpinar
b4af9197ba newdevice: Added basic detection for hanwha techwin devices (#7397)
* Basic hanwha techwin support

* Changed os type to iPolis

* Changed file names to ipolis rather than the vendor name

* oid fixes
2017-10-01 19:19:46 +01:00
Neil Lathwood
592e8aca4c newdevice: Added sensor detection for APC In Row RD devices (#7385)
* newdevice: Added sensor detection for APC In Row RD devices

* Update apc.yaml

* Update apc.yaml

* Update cooling.inc.php

* Update pressure.inc.php
2017-09-29 21:13:27 +01:00
celalemre
973764e7d3 alerts: Added OpsGenie transport. (#7392)
* Add OpsGenie transport.

* Log response body from OpsGenie only when an error occurs.

* Move OpsGenie SQL config to a new sql file.
2017-09-28 21:20:21 +01:00
noaheroufus
554b40eb3f newdevice: Added better hardware and version identification for SAF (#7378)
* Proper hardware and version identification

* Replaced str_replace with preg_match
2017-09-27 20:41:19 +01:00
Tom Sealey
c07daa325b newdevice: Added basic os for EricssonLG ES switches (#7289)
* added basic os for EricssonLG ES switches

* changed names

* tidied up some more

* renamed test files

* fixed typo

* removed _ from names

* fixed os names

* changes requested by @laf

* fixed unit test for ucp
2017-09-25 10:01:35 +01:00
noaheroufus
ef9ada9adb Applied correct divisors to voltage for Alpha UPSs (#7377) 2017-09-21 21:40:32 +01:00
Neil Lathwood
1be550826e api: Added ability to supports CORS for API (#7357)
* Update defaults.inc.php

* api: Added ability to supports CORS for API

* added acknowledge

* Update Configuration.md
2017-09-21 18:07:31 +01:00
Tony Murray
6ea6218f47 refactor: rewrite is_valid_port() (#7360)
* refactor: speed up is_valid_port()
Convert is_valid_port to Config
Several Config optimizations
Update documentation

* fix getCombined() when os key is not set, but global is.
Add more tests
2017-09-21 18:02:01 +01:00
FragmentedPacket
c20ffec40c newdevice: Updated Engenius OS detection (#7365)
* fix: Engenius OS discovery

bandroidx was having issues with their Engenius AP being discovered as a wireless device, instead it was just showing up as 'generic'. Adding OID .1.3.6.1.4.1.14125 resolved their issue.

* Update engenius.yaml

* Create engenius_3.snmprec
2017-09-19 21:46:22 +01:00
Tony Murray
39804b047d refactor: rfc1628 sensor tidy up (#7341)
* refactor: rfc1628 tidy up
reduce the amount of snmp calls

* Did not finish re-writing rfc1628 load

* fix type in bypass power oid

* remove testing changes
2017-09-19 20:12:04 +01:00
Neil Lathwood
838f91a18a newdevice: Added detection for DPS Telecom NetGuardian (#7326)
* newdevice: Added detection for DPS Telecom NetGuardian
2017-09-18 20:29:27 +02:00
Neil Lathwood
2115a1c6d1 newdevice: Added support for Alpha FXM UPS devices (#7324)
* newdevice: Added support for Alpha FXM UPS devices
2017-09-18 20:24:53 +02:00
Søren Rosiak
7e601c31ed Merge pull request #7354 from laf/newdevice/issue-7310
newdevice: Added detection for IgniteNet FusionSwitch devices
2017-09-18 17:37:00 +02:00
laf
802cd703bc newdevice: Added detection for IgniteNet FusionSwitch devices 2017-09-17 22:31:23 +01:00
Neil Lathwood
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 Rosiak
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 Rosiak
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 Lathwood
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 Lathwood
4ad8faecdc refactor: Added detection of vlan name changes (#7348) 2017-09-16 21:19:54 -05:00
Tony Murray
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 Murray
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 Murray
65b29d5563 fix small typo for himoinsa-gensets (#7338) 2017-09-14 21:26:48 +01:00
Tony Murray
f158a56774 fix incorrect getOsSetting arguments (#7339)
Missed calls when the function definition changed.
2017-09-14 00:43:14 -05:00
Neil Lathwood
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 Lathwood
7af0fd28e5 newdevice: Added sensor support for Himoinsa Gensets (#7315) 2017-09-13 21:16:37 -05:00
Neil Lathwood
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 Heinrichs
9f553af71e newdevice: Added DHCP Leases Graph for Mikrotik (#7333) 2017-09-13 19:49:41 +01:00
Tony Murray
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 Lathwood
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 Lathwood
58193e16a3 newdevice: Added additional Quanta detection (#7316) 2017-09-12 20:15:50 -05:00
Neil Lathwood
1e7e421cd7 newdevice: Added additional detection for Calix devices (#7325) 2017-09-12 19:58:59 -05:00
Tony Murray
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 Lathwood
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
jayceeemperador
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 Lathwood
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 Lathwood
f97b0b87a3 refactor: Updated ldap auth to allow configurable uidnumber field (#7302) 2017-09-08 12:04:59 -05:00
Tony Murray
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 Lathwood
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 Patenaude
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 Murray
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 Funke
c39f3c7468 fix: quotes breaking powerdns app data (#7111) 2017-09-04 23:30:08 -05:00
Neil Lathwood
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 Holmes
da0dcda409 newdevice: Updated state sensor code for Netonix 2017-09-03 21:08:57 +01:00
Tony Murray
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
Zmegolaz
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
sfini
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 Rosiak
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