I’m using the check command check_snmp_int.pl with some Cisco switches and I stumble across a weird issue… If I check for instance a interface with the name “TwentyFiveGigE2/0/2” I get all the interfaces 2/0/2x returned also… So the plugin returns for instance “TwentyFiveGigE2/0/20” and “TwentyFiveGigE2/0/21”.
Which in result get critical because those are down/not used.
I use this commandline:
/usr/lib/nagios/plugins/check_snmp_int.pl' '--64bits' '-2' '-B' '-C' 'xxxx' '-H' '10.10.0.20' '-M' '-Y' '-c' '0,600' '-d' '300' '-e' '-f' '-k' '-n' 'TwentyFiveGigE2/0/2' '-t' '5' '-w' '300,400'
Does anyone else get this? I haven’t seen it on Gigabit Eth ports. So maybe I have something wrong in the arguments ?