Commit Graph

1768 Commits

Author SHA1 Message Date
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
Søren Rosiak
e890509b3d newdevice: Added Kemp LoadMaster Version Info (#7205) 2017-08-22 20:43:28 +01:00
sbeneke
e68082d178 fix: Correct memory calculation for screenos (#7191)
correct memory calculation (SSG-140)
2017-08-21 22:56:13 +01:00
Andrew Holmes
0ba372221f fix: Cambium ePMP CPU reporting fix (#7182)
* Commit merge to branch for Cambium CPU fix (#1)

* Remove division by 10

Removes unnecessary division by 10 from poller file; this is handled by processor_precision in the main include.

* Correct processor_precision

Adjusted processor precision divider from 100 to 10 (as sysCPUUsage.0 reports from 0-1000 as 0-100.0%)

* Delete cambium-cpu.inc.php

With the change to the discovery file (processor_precision set to the correct value of 10) this file is not required.
2017-08-21 08:02:51 +01:00
Neil Lathwood
25d79ce9d7 newdevice: Added further sensor support for Geist Watchdog (#7143)
* newdevice: Added further sensor support for Geist Watchdog

* relaxed if check
2017-08-19 20:22:23 +01:00
Lorenzo Zafra
2da9ee7458 device: Added detection for Hitachi Data Systems SAN (#7160)
* Syslog test case

* revert changes on master

* newDevice: Hitachi Data Systems SAN

* Renamed mib directory

* Change discovery of sysObjectId
2017-08-18 07:58:38 +01:00
erotel
dc41c9d565 newdevice: Udated edgecos OS polling to include more models
* Udated edgecos OS polling V2

* Udated edgecos OS polling V2

* Udated edgecos OS polling V2
2017-08-14 14:06:25 +01:00
Neil Lathwood
1e4be3bf4a refactor: Udated edgecos OS polling (#7149) 2017-08-13 13:32:35 +01:00
Cory Hill
25ec0be8d3 newdevice: Added support for Trango Apex Lynx OS (#7142)
* Added discovery support for Trango Apex Lynx OS

* Add discovery support for Trango Apex Lynx OS

* Add discovery support for Trango Apex Lynx OS
2017-08-11 23:09:07 +01:00
RobJE
cdf8021843 snmp exec support (#7126)
* I agree to the conditions of the Contributor Agreement contained in
doc/General/Contributing.md.

* add support for snmpd exec
2017-08-11 22:11:02 +01:00
Tony Murray
1d777693e1 feature: New IP parsing classes. Removes usage of Pear Net_IPv4 and Net_IPv6. (#7106)
* Refactor remove use of pear Net_IPv4 and Net_IPv6

Caution, I added tests to test the functionality of the new functions, but I'm not 100% certain the replaced usages match 100%.  Please test.

Left usage in generate-iplist.php because I'm not sure the use of that script, so I didn't want to implement additional functionality to support it.

Add support for ipv6 fo ipInNetwork() function

Add phpdocs to functions
Remove accidental inclusion

Use binary operations instead of string for networKFromIp()
Tidy up binary operations in ipInNetwork()

tidy parsing cidr network

Change to a class based implementation.

Update phpdocs.
Fully catch exceptions for hex parsing.

Fix mistake.

support older phpunit versions

Fix php shifting to negative with php 5

* Fix graph authorization. Uncaught exception and checking an ipv4 against an ipv6 network == fail.

* Also remove colons from hex strings.

* Fix typo in bgp polling
Two passes of removing invalid characters from hex strings. (That way we don't mangle valid IPs)
2017-08-08 14:14:58 -05:00
Neil Lathwood
d8140467ae newdevice: Added support for Emerson energy systems (#7128)
* newdevice: Added support for Emerson energy systems

* added missing test

* Update ees.yaml
2017-08-08 07:58:57 +01:00
Lorenzo Zafra
f66d73de89 refactor: Use ifName if ifDescr is blank
* Add if statement for ROS os when querying remote port id for LLDP map

* Apply ifDescr fix in ports polling instead.
2017-07-29 12:09:15 +01:00
Tom Sealey
f8b795ec95 newdevice: Removed check for switch model or firmware version for Avaya ERS switches
* Added mempool support for Avaya ERS 3500

* Added mempool support for Avaya ERS 3500

* removed check for  firmware version

* removed check for switch model or firmware version

* removed check for switch model or firmware version

* removed check for switch model or firmware version

* adding @laf suggested changes

* made changes as suggested by @laf

* removed blank line

* removed blank line

* added the snmpwalk back

need this, or it's pointless
2017-07-29 11:20:36 +01:00
network-guy
890164c737 Update OS version parsing for IOS XE Denali and Everset (#7073) 2017-07-24 08:33:28 +01:00
Tony Murray
123a90feab feature: Log event if device polling takes too long (#7065)
Move $device_time closer to end of poll_device(), and simplify
remove some unused variables
simplify $device_time in discover_device() too
2017-07-21 23:01:59 +01:00
Neil Lathwood
da7550f55f device: Added additional sensors support for HP ILO4 (#7053)
* device: Improved HP ILO4 support

Added HP ILO4 temperature (HDD, motherboard), power, state (powersupply, HDD, Fans, memory slots) sensors support.
Tested with HP ProLiant ML350p Gen8-Gen9

* actual MIB file!
2017-07-19 22:06:59 +01:00
Lorenzo Zafra
bfaab856bd newdevice: Added support for Siemens Ruggedcom Switches (#7052)
* newdevice: Siemens Ruggedcom Switches

* Fixed svg images

* Renamed to ros

* renamed snmprec file
2017-07-18 23:32:07 +01:00
Neil Lathwood
534595d71d newdevice: Added detection for Gestetner printers (#7038)
* newdevice: Added detection for Gestetner printers

* added missing snmprec test file

* reverted ports change from debug
2017-07-17 07:00:48 -05:00
Yacine Benamsili
294ec4d73d feature: Added support for sending metrics to OpenTSDB (#7022)
* Create OpenTSDB.md

* Send collected data to OpenTSDB

* Send collected data to OpenTSDB

* Update build.sql

* Send collected data to OpenTSDB

* Delete 200.sql

* Update db_schema.yaml

* Update datastore.inc.php

* Update OpenTSDB.md

* Added OpenTSDB to mkdocs.yaml
2017-07-15 10:28:27 +01:00
Søren Rosiak
fd140888ab newdevice: Added CPU / Mem support for HPE MSM (#7026)
* newdevice: Improve HPE MSM Support

fix #6972

* remove unneeded polling file

* Update to use numerical OID
2017-07-14 21:06:22 +01:00
Neil Lathwood
898f59cb72 newdevice: Added sensor metrics for APC IRRP 100/500 devices (#7024) 2017-07-13 23:23:40 +01:00
Tony Murray
282e4b77a5 newdevice: Savin printer support (#6982)
Toner supply levels supported
2017-07-12 08:16:05 +01:00
Tony Murray
2ab5962cbb newdevice: Added Valere system sensors and os detection. (#6981)
* Add Valere system sensors and os detection.

* update yaml data layout
2017-07-12 07:56:45 +01:00
Tony Murray
81617e8422 Include the sensor state description in the eventlog (#6977) 2017-07-07 18:15:53 +01:00
Tony Murray
aeedf515c5 fix: Include state descriptions in eventlog (#6968)
* fix: include state descriptions in eventlog
Pull in array_column compat library for php < 5.5

* Add state descriptions to eventlog messages
2017-07-06 08:27:02 +01:00
FTBZ
39d3639733 newdevice: Added support for Rittal LCP Liquid Cooling Package (#6626)
* newdevice: Rittal LCP

* Add snmpsim file

* Change state sensor to YAML

* Clean old file

* Add state_name
2017-07-05 19:58:35 +01:00
Tony Murray
13d047c029 device: restore old junos version code as a fallback (#6945) 2017-07-04 02:10:48 +01:00
Neil Lathwood
72da2c7b39 newdevice: Updated JunOS os polling to detect version correctly (#6904) 2017-06-29 21:56:27 -05:00
Neil Lathwood
b8d8d79a0a newdevice: Added memory detection, fixed cpu polling (#6896)
* newdevice: Added memory detection, fixed cpu polling

* Added new line

* Fix temperature entPhysicalIndex too

* Edited the wrong spot :0
2017-06-28 00:54:14 -05:00
Neil Lathwood
8b806a857a newdevice: Added Cpu/Mem support for dnos and ftos devices and updated detection (#6897) 2017-06-27 23:58:57 -05:00
Tony Murray
e40a7d7767 device: More succinct hardware description for Netonix (#6863) 2017-06-23 22:12:44 +01:00
dnapper
02a7949c5e newdevice: Added Support for Benu OS (#6857)
* Added Basic OS support for Benu

* Benu OS take 2

* Benu OS take 3

* Benu round 4 - this time for real

* added benu sensors

* reamed to benuos, renamed mibs, sensor rewrite pending

* upated sensors to use snmp_get_multi

* rename yaml

* rename yaml

* updated mempool discover to use multi get, fixed whitepaces, removed old commented out code from polling

* changed detection from sysDescr to sysObjectId

* Update benuos.yaml

* Update benuos.inc.php

* Update benuos.inc.php

* Update benuos.inc.php

* Update benuos.inc.php
2017-06-22 21:45:18 +01:00
Neil Lathwood
2e43adce37 newdevice: Improved Cisco Unified CM detection and renamed to ucos (#6813) 2017-06-18 20:56:31 -05:00
Lorenzo Zafra
283392c9a7 newdevice: Added support for Chatsworth PDU (legacy old pdus not sure model number) (#6833)
* newdevice: AXIS Audio Appliance

* newdevice: chatsworth pdus

* Renamed chatsworth to chatsworth-pdu
2017-06-17 15:31:01 +01:00
Lorenzo Zafra
5bcec9c7d3 newdevice: Added detection for Microsemi PowerDsine PoE Midspans (#6843)
newdevice: Added detection for Microsemi PowerDsine PoE Midspans (#6843)
2017-06-17 15:12:33 +01:00
Tony Murray
f5931535b4 fix: Check HC counters individually (#6828)
* fix: Check HC counters individually
Vendors are very inconsistent returning ifXTable values.
Some only implement some of them (seemingly randomly).
Others return them, but they are always 0.

This attempts to fix that by checking each value individually.

* A couple of small cleanups

* Change the logic, The (if < hc) logic will be messed up when the counters roll.
Just make sure it is not 0 or an empty string.
2017-06-15 08:11:10 +01:00
Neil Lathwood
19cdf8f684 newdevice: Added support for Schneider PowerLogic (#6809) 2017-06-13 16:20:12 -05:00
Lorenzo Zafra
be64546498 newdevice: Added detection for AXIS Audio Appliances (#6830) 2017-06-13 21:33:21 +01:00
Mark Guzman
a5cf0b720a newdevice: Added Quanta lb6m device support (#6816)
newdevice: Added Quanta lb6m device support (#6816)
2017-06-13 21:30:00 +01:00
Julian K
ffb20d9ee3 newdevice: Added hardware and version from AirOS 8.x (#6802)
newdevice: Added hardware and version from AirOS 8.x (#6802)
2017-06-13 20:55:42 +01:00
Neil Lathwood
5c58cc011a newdevice: Added support for processor and memory for 3com devices (#6823) 2017-06-13 08:11:09 +01:00
Neil Lathwood
3bf7e207a7 fix: Check for ifHCInOctets and ifHighSpeed before falling back to if… (#6777)
* fix: Check for ifHCInOctets and ifHighSpeed before falling back to ifEntry

* switched && to ||
2017-06-10 06:50:40 -05:00
Neil Lathwood
1d70d3e96a newdevice: Added detection for Atal Ethernetprobe (#6778)
* newdevice: Added detection for Atal Ethernetprobe

* updated to ethernetprobe2

* added temp and humidity sensors
2017-06-08 19:05:10 +01:00
crcro
d886086e78 newdevice: Updated vmware vcsa hardware/version detection (#6783)
* nicer vmware vcsa detection

* nicer vmware vcsa detection

* fix based on laf request
2017-06-07 14:20:09 +01:00
crcro
96f066189e feature: Added pi-hole application support (#6782)
* added data to webui

* added last step on docs

* fix scrutinizer issue

* fix blank lines
2017-06-05 23:00:09 +01:00
Neil Lathwood
2371c6cc79 fix: Updated cisco-iospri to check for numeric + named ifType and included new cisco mibs (#6776) 2017-06-04 19:09:26 +01:00
CZ
f784228e93 newdevice: Added support for Adva FSP150CC and FSP3000R7 Series (#6696)
* ADVA device support
- sensors for temperature, voltage, current and dbm
- ADVA mibs for FSP150CC and FSP3000R7

* sysObjectId - changed to level above instead of two entries

* OS for FSP150 and FSP3000R7 now in two seperate OS definitions
- split the files
- removed sysObjectId check for each
- removed hardcoded sensor limits
- removed more generic MIBs

* standardized variables / corrected declarations

* added missing MIB, style check code

* - corrected 'current' readings by adding $devisor
- changed rrdfile names to sensorname+$index
- moved LLDP-V2 mibs to main mib directory
2017-06-02 21:07:55 +01:00
network-guy
dc498be4f0 newdevice: Added Current Connections Graph for Cisco WSA (#6734)
* Added current connections graph for AsyncOS devices

* Fixed issues with AsyncOS connections polling and add name to AUTHORS file

* Update 194.sql
2017-06-02 20:58:02 +01:00
Maciej Kaczkowski
528350177d newdevice: Arris C4c (#6662)
* newdevice:  Arris C4c, convert arris.png to arris.svg, added temperature sensors

* removed debug

* converted snmp_walk to snmpwalk_cache_oid_num

* added test, fixed formatting

* fixed logo

* removed height and width from logo

* revert arris.svg
2017-06-01 18:46:13 -05:00