Commit Graph
2468 Commits
Author SHA1 Message Date
Søren RosiakandNeil Lathwood b19116abe6 newdevice: Added CiscoSB DOM Support (#7072) 2017-07-23 19:35:30 +01:00
Søren RosiakandNeil Lathwood 64909849ee feature: Add CiscoSB Port Suspended Status Info (#7064) 2017-07-22 21:50:45 +01:00
Neil LathwoodandGitHub 75ea45d275 changed the way snmpwalk is done for yaml sensors (#7069) 2017-07-22 15:03:11 +01:00
laf 04b0c43dc1 fix: Fixed Raspberry Pi sensors support 2017-07-22 00:00:04 +01:00
Tony MurrayandNeil Lathwood 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 LathwoodandGitHub d1e8458b31 newdevice: Updated powerwalker sensor discovery to use custom mib (#7020) 2017-07-20 12:01:16 +01:00
Neil LathwoodandGitHub 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
Neil LathwoodandTony Murray c40825f233 fix: Use the correct high/high warn thresholds for junos dbm sensors (#7056) 2017-07-18 19:47:00 -05:00
Tony MurrayandNeil Lathwood 97828eceba device: Added FDB support for IOS-XE devices (#7044) 2017-07-17 19:01:37 +01:00
InfraTeamandNeil Lathwood 579bfd4c3e newdevice: Added additional sensors for APC IRRP100 Air Conditionner series (#7006)
* Added detection for Hirschmann Railswitch

* Update AUTHORS.md

I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Synchro Fork

* Synchro Fork

* Added additional sensors for APC IRRP100 Air conditionner series

* Updated apc.yaml

@laf I modified the yaml file according to your comment. I forgot the index line in a few definitions...

* Rollback hirschmann.inc.php to original file

* Roolback to original hirschmann.inc.php file

* Updated apc.yaml file to include data section

* Update apc.yaml

* Update apc.yaml

* Updated apc.inc.php after @laf requests

Modified $current calculation, including $multiplier in place of static value and added 'PowerNet-MIB' as an argument of the snmp_get function (detached from OID writing)

* missing new line

* reverted hirschmann updates

* reverted hirschmann updates
2017-07-15 11:44:56 +01:00
Søren RosiakandNeil Lathwood 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 LathwoodandTony Murray 83cb39a7fd fix: Netbotz state sensors using wrong value (#7027)
* fix: Netbotz state sensors using wrong value

* actual fix
2017-07-13 19:02:26 -05:00
FTBZandNeil Lathwood 138fd2923a fix: Fixed Rittal LCP sensor divisors (#7014)
* Better values for some graphs

* Change definition order

* Update rittal-lcp.yaml
2017-07-13 18:23:55 +01:00
Tony MurrayandNeil Lathwood c874fc5b1e fix: Standardise UPS divisors (#6942)
Set default divisors for all devices and remove per-os overrides for them.
We should only use per-os overrides for non-standard behavior.

High possibility for breakage here if devices not listed here have non-standard behavior.
2017-07-13 18:09:56 +01:00
Tony MurrayandGitHub 2bf99c65a0 fix: no data for yaml discovery (#7010)
fixes: #7008
2017-07-11 16:02:38 -05:00
Neil LathwoodandTony Murray d30e5660f9 feature: Added ability specify options for sensors yaml discovery (#6985)
* feature: Added ability specify options for sensors yaml discovery

* travis fix for new line + skip_values_* -> skip_value_*
2017-07-10 16:27:46 -05:00
djamp42andNeil Lathwood 394c4393a4 newdevice: Add Calix AXOS/E5-16F Detection (#6926)
* Add Calix AXOS/E5-16F Detection

* Update calix.yaml

* Create calix_e5-16f.snmprec

* Split out Calix to AXOS

* Delete axos.inc.php
2017-07-05 21:21:48 +01:00
Tony MurrayandNeil Lathwood b56c6b6adf fix: fdb tables multiple IPs and IPs from other devices adding extra rows (#6930)
Fix missing IPs because the ARP entries are on different port_id
Update arp discovery to use snmpwalk_group() additional fix in that function
Fix removal of arp entries
Fix a debug output type in fdb discovery
2017-07-04 22:27:43 +01:00
TomEvinandNeil Lathwood a1fffa4e8f fix: Fixed state sensor values for fabos (#6947)
The state of the sensors was a value (#1-4) not an actual state (nominal, faulty etc.) on UI.

Tested device:
Brocade 300 Switch (Brocade FabricOS v6.4.1)
2017-07-04 11:41:38 +01:00
Neil LathwoodandTony Murray afcc2b5e2d newdevice: Added more sensor support for raritan devices (#6929)
* newdevice: Added more sensor support for raritan devices

* Updated PDU-MIB

* Added more hover graphs to overview
2017-07-03 16:04:01 -05:00
Tony MurrayandNeil Lathwood eb1014a657 device: Updated Gamatronic ups use sysObjectID for os discovery (#6940) 2017-07-03 19:43:11 +01:00
Tony MurrayandNeil Lathwood 14ed767edb fix: a couple of issues with the yaml state sensor discovery (#6912) 2017-06-29 21:12:51 +01:00
Tony MurrayandNeil Lathwood e8dd72e8db feature: Support fdb table on generic devices (#6902)
* feature: support fdb table on generic devices
refactored code to use snmpwalk_group
refactored ajax table code to use joins and reduce extra queries
add indexes for device_id and port_id, drop primary index
Make all columns sortable
Fix a few other small issues

* Add index for vlan_id since that field can be searched by the user

* fix whitespace

* Rename 197.sql to 198.sql

* set row count for table
2017-06-29 21:03:56 +01:00
Neil LathwoodandGitHub bda5a4343e fix: Fixed auto discovery for lldp not adding new hosts (#6919) 2017-06-29 19:29:33 +01:00
Neil LathwoodandTony Murray a4b905e3f6 fix: Fixed netman voltage and load divisor values (#6905)
* fix: Fixed netman voltage and load divisor values

* Update to perform more checks
2017-06-29 07:23:39 -05:00
Neil LathwoodandTony Murray aa64eb99ac fix: Fixed the index for sentry3 current + updated mibs (#6911) 2017-06-28 19:46:15 -05:00
Neil LathwoodandTony Murray 929d7ece56 fix: Fixed checks for $entPhysicalIndex/$hrDeviceIndex being numeric (#6907) 2017-06-28 16:03:35 -05:00
Tony MurrayandNeil Lathwood d47b58bf6d newdevice: Changed Solaris and Allied discovery to yaml (#6900)
Add SunOS to callback sanitize
2017-06-28 07:53:25 +01:00
Neil LathwoodandTony Murray 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 LathwoodandTony Murray 8b806a857a newdevice: Added Cpu/Mem support for dnos and ftos devices and updated detection (#6897) 2017-06-27 23:58:57 -05:00
Neil LathwoodandGitHub 5e32474d26 feature: Added support for sensors to be discovered from yaml (#6859)
* feature: Added support for sensors to be discovered from yaml

* added discovery definitions

* Updated docs, more code updates + tests

* removed the oid_name use

* pre-set variable from scrut output

* small updates as per comments in pr

* Allow index in descr

* Added ability to skip values

* Check for numeric values

* small update of oid name
2017-06-26 23:27:57 +01:00
Søren RosiakandNeil Lathwood 5d5d3816ef fix: Make various Cisco sensor descriptions start with upper case (#6891) 2017-06-26 21:40:50 +01:00
Tony MurrayandNeil Lathwood bf0df7266a feature: Added fdb discovery module (#6887)
revert the context_name changes to snmp.inc.php and use the same method as other parts of the code
2017-06-26 13:58:17 +01:00
Neil LathwoodandGitHub 54365985a6 Revert "feature: fdb tables (#6616)" (#6886)
This reverts commit 81ddab86af.
2017-06-25 07:04:04 +01:00
Lorenzo ZafraandTony Murray 81ddab86af feature: fdb tables (#6616)
* feature: FDB TABLES for ios and timos

* Fixed coding style issues

* renamed fdb.sql to 191.sql

* fixed travisCI issue

* FDB table discovery working on IOS

* Fixed bug: failing to insert fdb entries into database

* Fix phpcbf issue

* moved sql schema

* rename sql schema

* Add (tentative) FDB support for HP Comware switches

* build schema

* schema changes

* run build schema.......

* FBD Table discovery working on HP ComWare

* FBD Table discovery working on HP ComWare

* Add FDB support for HP Comware

* Discovery regex fix, tested and works for cisco 3750, 2960, 6509

* Use vlan_id instead of raw vlan. Remove Nokia implementation as vlans are not being discovered for it at the moment.

* Use vlan_id instead of vlan.

* Add debug messages, comware support

* Sorry.. phpunit isnt working for me

* Use a file structure instead of if statement per OS

* Make inserts to vlan table if entry does not exist.

* Rename sql schema file

* Use existing context name

Improve output and database synchronization

Remove chromephp and if ios

rename sqlfile

add comware back

update schema

* Delete TIMETRA-CHASSIS-MIB

* Delete TIMETRA-FILTER-MIB

* change index to bigint to be safe
2017-06-24 22:07:31 -05:00
dnapperandNeil Lathwood 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
Tony MurrayandNeil Lathwood 90aa485149 refactor: discovery code cleanups (#6856)
* Use foreach $key => value

* use get_port_by_ifIndex
get rid of the rest of the array_keys()

* improve hex_to_ip() function, add tests, use in more places

* Simplify can_skip_discovery logic
2017-06-22 21:08:20 +01:00
Neil LathwoodandTony Murray 19cdf8f684 newdevice: Added support for Schneider PowerLogic (#6809) 2017-06-13 16:20:12 -05:00
FTBZandNeil Lathwood 3a62c83642 newdevice: Added additional sensors to Axis camera (#6827)
newdevice: Added additional sensors to Axis camera (#6827)
2017-06-13 21:37:01 +01:00
Mark GuzmanandNeil Lathwood a5cf0b720a newdevice: Added Quanta lb6m device support (#6816)
newdevice: Added Quanta lb6m device support (#6816)
2017-06-13 21:30:00 +01:00
Neil LathwoodandGitHub 5c58cc011a newdevice: Added support for processor and memory for 3com devices (#6823) 2017-06-13 08:11:09 +01:00
Neil LathwoodandGitHub 32fa059c98 newdevice: Added state sensors to HP Procurve (#6814) 2017-06-12 19:37:25 +01:00
Neil LathwoodandGitHub 51ccec94c5 fix: Strip " from rPi temp sensor discovery (#6815) 2017-06-10 17:46:00 +01:00
Neil LathwoodandTony Murray d5384f9256 fix: Updated Raspberry Pi Temp sensor discovery (#6804) 2017-06-08 22:11:42 -05:00
Neil LathwoodandGitHub 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
SLMitchandNeil Lathwood 7bd23946ad remove 'Wrong Type' string when we ask LocalAS to switch (#6745)
* remove 'Wrong Type' string when we ask LocalAS to switch (bug with at least Dell ON Switch)

* Only remove the MIB
2017-06-08 08:01:17 +01:00
Søren RosiakandNeil Lathwood d5dd5c2da5 newdevice: Add Cisco ASR, Nexus, etc. PSU State sensor (#6790) 2017-06-06 22:47:39 +01:00
Søren RosiakandNeil Lathwood cbe476ad2f fix: Fix bad Cisco dBm discovery on some IOS versions (#6789) 2017-06-06 22:46:29 +01:00
dridandNeil Lathwood f7c5aee25b newdevice: Added C.H.I.P. power monitor (#6763)
newdevice: Added C.H.I.P. power monitor (#6763)
2017-06-04 19:27:00 +01:00
CZandNeil Lathwood 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