manubulon-snmp
manubulon-snmp copied to clipboard
check_snmp_load.pl fails with stacked cisco 3650
When running the script via icinga2, the following error is returned:
ERROR: Description table : No response from remote host "10.x.x.x".
There are three cisco 3650's in a stack, and the snmp requests are going to the stack master. Based on my queries using snmp-walk and get, it seems you have to query oid's:]
1.3.6.1.4.1.9.9.109.1.1.1.1.3
1.3.6.1.4.1.9.9.109.1.1.1.1.4
1.3.6.1.4.1.9.9.109.1.1.1.1.5
but you get back a "array" of values
.iso.org.dod.internet.private.enterprises.9.9.109.1.1.1.1.3.19 = Gauge32: 11
.iso.org.dod.internet.private.enterprises.9.9.109.1.1.1.1.3.20 = Gauge32: 10
.iso.org.dod.internet.private.enterprises.9.9.109.1.1.1.1.3.21 = Gauge32: 8
which correspond to the 5 minute average for each switch in the stack and which matches the documentation from cisco
https://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html#topic1