centreon-plugins
centreon-plugins copied to clipboard
network::cisco::standard::snmp::plugin 'environment' mode bugs
Hello,
We have been testing network::cisco::standard::snmp::plugin environment mode and we have a couple of bugs.
Bug 1: We noticed that if we've disabled power to a line card in the configuration that the plugin doesn't seem to differentiate between it being intentionally disabled and it being 'missing/broken'. i.e.: (config)#no power enable module 7 %Power admin state updated Bug 2: The plugin thinks that WS-X6748-GE-TX CEF720 48 port 10/100/1000mb Ethernet Rev. 2.9/8000 is a power supply rather than a line card (this is cosmetic) Bug 3: The plugin doesn't mention which slot/module (it happens to be slot 7 in this example) (also cosmetic)
Output from plugin (it actually raises two different alerts for module 7):
CRITICAL: Module 'WS-X6748-GE-TX CEF720 48 port 10/100/1000mb Ethernet Rev. 2.9/8000' status is poweredDown WARNING: Power supply 'WS-X6748-GE-TX CEF720 48 port 10/100/1000mb Ethernet Rev. 2.9/8000' status is offEnvOther
This is an old switch we are testing with.
Could you provide the full snmpwalk of your equipment ?
Even though I'll scrub the routing table etc from it is there an email you'd like me to send it to or do you want me to just dump it here public?
Also what specific MIB or OID(s) are you interested in? this is way too much data.
I don't want to filter. You can sent it by email.
Okay well for obvious reasons I had to delete about 100,000 lines of text from the output. It would probably be easier if you just told me what the environment mode is actually looking at.
I don't really know exactly which OIDs i'll use. Have you tried the option --use-physical-name
?
But you can provide:
.1.3.6.1.2.1.47.1.1.1.1
.1.3.6.1.4.1.9.9.117.1.2.1.1.2
.1.3.6.1.4.1.9.9.13.1.5.1
.1.3.6.1.4.1.9.9.117.1.1.2.1.2
Finally, where would you like the output sent?
By email.
You should use following option: --threshold-overload='psu,OK,offEnvOther' --use-physical-name
It will be ok