limitation when monitoring uptime with snmp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

limitation when monitoring uptime with snmp

L3 Networker

Hello Community.

 

I have an inquiry with which maybe you can help me. This is the situation:

 

In order to know the uptime I´m using the OID 1.3.6.1.2.1.25.1.1.0 to get the value of object hrSystemUptime. This is a counter of 32 bits and considering it´s counting in hundreds of seconds, the maximum uptime without overflow is: 2^32 = 4294967296 (hundreds of seconds) -> 497 days.

So if the device is not rebooted before 497 days the uptime value won´t be correct by using snmp.

 

Do you know any way (snmp or other means) to bypass this limitation and to get the correct uptime regardless the value??

 

Thanks in advance,

 

Marcos.

4 REPLIES 4

Community Team Member

Hi @Carracido,

 

I'm not sure if there's a workaround for that ... or if the latest MIB might be 64 bit aware.  Maybe someone else can answer that question or it might be worthwile to reach out to support to answer your question.

 

That said, it would mean that you don't do any firmware upgrades for 497 days ... I'm not convinced that would be a good idea either 🙂

 

Cheers !

-Kiwi.

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

Cyber Elite
Cyber Elite

@Carracido,

Not aware of any workaround and unless I don't  believe the latest MIB is 64 bit aware at all. However as @kiwi already mentioned that would mean that this device has ran for well over a year without any updates; that wouldn't be a great thing to run across. 

L7 Applicator

@BPry wrote:

@Carracido,

that wouldn't be a great thing to run across. 


Specially not for a security appliance ...

L7 Applicator

@Carracido

Did you try the API to get the value?

  • 3623 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!