Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Fabio885
Explorer

SNMP OID value

Hi,

someone know the oid for the uptime service for snmp?

thank you.

0 Kudos
7 Replies
JozkoMrkvicka
Mentor
Mentor

You mean uptime of device, or uptime of SNMP daemon since last SNMP restart ?

Kind regards,
Jozko Mrkvicka
0 Kudos
Fabio885
Explorer

I mean uptime of device

0 Kudos
JozkoMrkvicka
Mentor
Mentor

1.3.6.1.2.1.1.3
or
1.3.6.1.2.1.1.3.0
or
sysUpTime
Kind regards,
Jozko Mrkvicka
0 Kudos
Fabio885
Explorer

many thanks, which format of data i will receive? seconds?
regards
0 Kudos
JozkoMrkvicka
Mentor
Mentor

Not sure to be honest, maybe miliseconds, maybe the same format like "uptime" command.
I will check it in 2 hours.
Kind regards,
Jozko Mrkvicka
0 Kudos
funkylicious
Advisor

"The time (in hundredths of a second) since the
network management portion of the system was last
re-initialized."

 

http://www.mibdepot.com/cgi-bin/vendor_index.cgi?r=checkpoint

0 Kudos
JozkoMrkvicka
Mentor
Mentor

Hi,

All 3 OIDs provided by me are working fine and will give you the same results:

[Expert@FW:0]# snmpwalk -v2c -c <SNMP_COMMUNITY> <IP> sysUpTime
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (295519884) 34 days, 4:53:18.84


[Expert@FW:0]# uptime
17:02:02 up 34 days, 4:54, 1 user, load average: 0.06, 0.12, 0.04

Kind regards,
Jozko Mrkvicka
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events