Unsolved

This post is more than 5 years old

3 Posts

37571

February 8th, 2013 19:00

SNMP Uptime Counter incorrect

Hello,

I've recently setup a monitoring system that, among other things, alerts me when the uptime of any switch on our network is less than an hour. I've done this as a way to alert when a switch unexpectedly reboots. I got an alert from a bunch of my routers today that the uptime counter was reset. Thinking that I had a large-scale electrical problem, I checked out the switches and was surprised to find that all my switches were up and running without a reboot in the logs. Upon logging into them and issueing "show system", they had a 49 day uptime proving that they had not been rebooted.

The OID that I am using to monitor our 5324, 5424 , 5524, and 6224 switches is "1.3.6.1.2.1.1.3.0". The counter currently reads only a few hours when queried even though the system uptime is still 49 days. My theory is that this counter is for a specific interface's uptime or something else but definately not the entire system's uptime.

Is there an available OID or other way to monitor the system's uptime accurately via SNMP? Thanks!

-Dennis

3 Posts

February 12th, 2013 09:00

I've been concentrating on my 6224 for the time being, but will be sure to update the 53xx and 54xx switches as well. The 6224 is fully up to date with the latest firmware and is still giving the wrong uptime with the OID i posted earlier. Furthermore, the OID that was posted earlier (1.3.6.1.2.1.1.3) comes back with no response. I'm testing this with "snmpget" in Linux.

Is the OID provided not implemented in the 6224, oir is it different in this switch as opposed to the 54xx series?

3 Posts

February 12th, 2013 11:00

Thanks for looking for me, I really appreciate it! While you're looking for that, I'll go ahead and upgrade at least one of our 5000 series switches and see if I can get an accurate reading on that. The reason I've been concentrating on the 6224 is because I'm looking to get alerted when the uptime on that switch (our central layer 3 switch that connects 4 of our buildings) is too low, indicating that it has rebooted (I've had that happen on a few PowerConnect switches in the past and am just covering my bases).

Thanks again!

Top