Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Checks the number of free network interfaces on a IF-MIB compliant network device. Plugin let us checking the number of interfaces with a DOWN operational or admin status for more than X days. An example should make this more clear. check_snmp_free_interfaces.pl -H 192.168.3.13 -C public -d 30 In this case, plugin returns the number of interfaces down for more than 30 days. Also, plugin can be used in the more verbose extended mode to return the names of free interfaces. check_snmp_free_interfaces.pl -H 192.168.3.13 -C public -d 30 -e
Current Version
1.0
Last Release Date
2011-04-08
Owner
LORENZINI Romain
Website
http://www.netxp.fr
License
GPL
Compatible With
I use this as command: define command{ command_name check_snmp_free_interfaces command_line $USER1$/check_snmp_free_interfaces.pl -H $HOSTADDRESS$ -C $ARG1$ -d 20 -e }
Thanks a lot. You made my life a lot easyer!! Small note about the oid: 1.3.6.1.2.1.1.3.0 sysUpTime is a 32-bit counter and will roll over after 496 days. But you can poll snmpEngineId (.1.3.6.1.6.3.10.2.1.3) which returns the uptime in seconds and should not roll over for 135 years... Could you implement this? its being described in https://supportforums.cisco.com/thread/153494 Now i sometimes get the following message: ./check_snmp_free_interfaces -H opc00sw1 -C netstat -d 90 -e Warning - Switch uptime lower than defined delay (Uptime is 83 days) While infact the uptime on my cisco device is: OPC00SW1 uptime is 2 years, 49 weeks, 5 days, 4 hours, 16 minutes thanks again!!
./check_snmp_free_interfaces.pl -H 10.100.19.250 -C public -d 30 -e Interface GigabitEthernet0/9 is free for 66 days. Interface GigabitEthernet0/10 is free for 66 days. Interface GigabitEthernet0/11 is free for 66 days. Interface GigabitEthernet0/12 is free for 66 days. Interface GigabitEthernet0/13 is free for 66 days. Interface GigabitEthernet0/14 is free for 66 days. Interface GigabitEthernet0/15 is free for 66 days. Interface GigabitEthernet0/16 is free for 66 days. Interface GigabitEthernet0/17 is free for 66 days. Interface GigabitEthernet0/18 is free for 66 days. Interface GigabitEthernet0/19 is free for 66 days. Interface GigabitEthernet0/20 is free for 66 days. Interface GigabitEthernet0/21 is free for 66 days. Interface GigabitEthernet0/23 is free for 66 days. OK - 14 free interfaces on this switch | free_ports=14 Worked Properly in Nagios Core 3x
You must be logged in to submit a review.
To:
From: