Random Project

Excellent!

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!!