5133 Commits

Author SHA1 Message Date
tomarch
1318e5871c newdevice: Added support for Eaton ATS devices (#7448)
* eaton-ats: add definition, voltage, frequency and state

* eaton-ats: missing snmprec file

* fix some syntax error

* fix some syntax error, again

* exclude eaton-ats from eaton-mgeups definition

* change eaton-ats definition

* move state and output voltage to yaml syntax

* Update eaton-mgeups.yaml
2017-10-15 21:06:11 +01:00
Søren Rosiak
81667b9e20 newdevice: Updated Zhone MXK detection (#7488)
* newdevice: Improve Zhone MXK Discovery

* Fix test name
2017-10-15 21:02:39 +01:00
Daniel Preussker
1998845f06 fix: Fail isPingable if fping errors (#7426) 2017-10-15 20:29:08 +01:00
Tony Murray
2f2234da70 fix: cdp matching incorrect ports (#7491)
Need either remote device_id or mac_address to find a port, otherwise, we might match an incorrect port.
2017-10-15 19:49:28 +01:00
Martin Zatloukal
f48cff0f1b newdevice: Added support for Racom RAy devices (#7466) 2017-10-15 19:31:44 +01:00
Neil Lathwood
a2de3ff681 newdevice: Added detection for SmartOptics T-Series devices (#7433) 2017-10-14 14:45:57 +02:00
Neil Lathwood
6b44ac784a newdevice: Added support for Huawei OceanStor devices 2017-10-12 19:55:25 +02:00
Neil Lathwood
f61dfa3bcd newdevice: Added more support for Avocent devices (#7444)
* newdevice: Added more support for Avocent devices
2017-10-12 19:54:55 +02:00
Yunchih Chen
82fb20cc19 feature: Configurable 95th percentile (#7442)
See issue #7406 for detail.
2017-10-11 13:21:11 +01:00
Tony Murray
46ee1b377c fix: snmp_get_multi returns no data if the oid doesn't contain a period (#7456) 2017-10-11 08:10:04 +01:00
sfini
3381b401f9 newdevice: Added Support for ApsoluteOS / Defense Pro Hw (#7440)
* Add Support for ApsoluteOS  / Defense Pro Hw

* apsoluteos.snmprec

* Create apsoluteos.yaml

* Create apsoluteos.inc.php

* Create apsoluteos.inc.php

* Create test

* mibs

* Delete test

* Update apsoluteos.yaml

* Update apsoluteos.inc.php

* Update apsoluteos.inc.php

* Create radwaremib.txt

* Update apsoluteos.yaml

* Update apsoluteos.yaml

* Delete BGP4-MIB.mib

* delete mib dir

delete

* CHANGE NAME
2017-10-10 14:18:47 +01:00
TomEvin
b45b2be695 Update hpe-ilo.inc.php (#7465) 2017-10-10 13:31:34 +01:00
TomEvin
c8b677779d newdevice: Added HPE ILO4 storage, memory and additional sensors
* HPE ILO4 enhance

Added Storage, Memory pools, new status (Array Controller, Logical Drive)

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete hpe.ilo.inc.php
2017-10-09 20:24:20 +01:00
tomarch
c927e6d68c newdevice: Updated Zyxelnwa to add storage, mempools and wireless support
* zyxelnwa: add storage, mempools and wireless

* zyxelnwa: add storage, mempools and wireless

* Update Zyxelnwa.php

* zyxelnwa: add MIB and use snmp-get
2017-10-07 21:17:51 +01:00
Tony Murray
f92449e637 fix: issues with recent discovery refactor (#7437)
fix find_port_id() deleting all variables when device_id was given
improve find_port_id() to find ports where only a number is given
fix orphan deletion count
fix insert and update of links with strings where int are required
2017-10-06 08:53:16 -05:00
Tony Murray
a2b9342f05 fix: improve accuracy of is_valid_hostname() (#7435)
* fix: improve accuracy of is_valid_hostname()
fixes discovery code attempting to add discover invalid dns names
the old code allowed some invalid hostnames, this is more thorough
add tests

* fix merge error
2017-10-05 16:04:17 -05:00
Frank Petrilli
b89ed26852 newdevice: Added additional detection for Dell Equallogic devices
* Add support for alternate Equallogic SNMP sysObjectId

* Widen scope, add unit test

* Revert "Widen scope, add unit test"

This reverts commit 9486f06dd1951717202a40e24be00757b96e9bdc.

* Revert erroneous commit, include changes

* Made changes requested by @laf
2017-10-05 19:53:13 +01:00
tomarch
931bfce011 newdevice: Added detection for technicolor TG650S and TG670S (#7420)
* update zywall.yaml ; use sysDescr_regex_except

* Cleanup technicolor

* newdevice: technicolor TG650S and TG670S

* Update technicolor.svg

* add technicolor.svg compressed

* Update tgos.yaml
2017-10-04 21:16:00 +01:00
tomarch
d46df1770e device: Added Dlink dap2660 add processors and mempools (#7428)
* update zywall.yaml ; use sysDescr_regex_except

* Cleanup technicolor

* newdevice: technicolor TG650S and TG670S

* Devices: Add cpu and mem for dlinkap

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Update dlinkap.inc.php

* Delete dlinkap.inc.php
2017-10-04 20:54:55 +01:00
Tony Murray
bc8103774b fix: snmpwalk_group tables not using entries. (#7427)
When walking an arbitrary oid, it may not be grouped properly if the address ends with .0

For example: channelInternalTxAborted[11].0
2017-10-04 19:50:26 +01:00
Tony Murray
c0b267b49c refactor: Discovery protocols re-write (#7380)
* refactor: discovery protocols re-write
extract more code to make it easier to read
use snmpwalk_group
walk lldpRemTable instead of lldpRemoteSystemsData
Optimize discover_device to reduce dns lookups of bad dns names
Make discovery_by_ip behavior consistent between cdp and lldp
move can_skip_discovery to discovery functions

Tested lldp, cdp, and ospf.

* always discover links even if the remote device isn't in system
Fix discover_link always updating

* fix style

* fix update, not fetching id

* increase platform length.  Most devices use sysDescr here, which is max length 255

* remove orphaned links

* update db_schema.yaml
2017-10-04 08:16:23 +01:00
tomarch
a1d782613b device: Added additional zywall-usg detection (#7405)
* device: more zywall-usg support
move and add snmpsim files

* add snmpsim files

* add again snmpsim files

* Update zywall.yaml
2017-10-03 21:38:40 +01:00
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 4ad8faecdcca0308aa8c2bf48e813a0032f8349a.

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

This reverts commit 31607418e1229d414040cc648b29789706679fcb.
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