03-30-2021 09:26 AM
Greetings,
I use to monitor devices uptime with zabbix.
Extreme X-series has an OID:
.1.3.6.1.4.1.1916.1.1.1.37.0
which is pretty constant and shows in unixtime format when device was booted. So if it changes - device was rebooted.
I do not find the same OID for VSP. Only SysUpTime OID which shows timeticks from the last reboot.
Could you please point me to the right OID or to the magic logic 🙂 how to know VSP was rebooted? Operate with “<>”?
Thank you,
Serge
03-30-2021 04:01 PM
It sounds like you are looking for a static number that doesn't change until the box reboots.
Probably a better way to do this, but the closest thing that I could ever find for the actual boot date is to lookup file dates on the intFlash.
.iso.org.dod.internet.private.enterprises.rapidCity.rcMgmt.rc2k.rc2kDevice.rc2kDeviceFlashFileTable.rc2kDeviceFlashFileEntry.rc2kDeviceFlashFileName
.1.3.6.1.4.1.2272.1.100.4.3.1.2
.iso.org.dod.internet.private.enterprises.rapidCity.rcMgmt.rc2k.rc2kDevice.rc2kDeviceFlashFileTable.rc2kDeviceFlashFileEntry.rc2kDeviceFlashFileDate
.1.3.6.1.4.1.2272.1.100.4.3.1.3
The date on file .lcr_sysinfo.txt works best.
file name mib value = .1.47.105.110.116.102.108.97.115.104.47.46.108.99.114.95.115.121.115.105.110.102.111.46.116.120.116
snmpGet of the following mib should give you the boot date and time.
.1.3.6.1.4.1.2272.1.100.4.3.1.3.1.47.105.110.116.102.108.97.115.104.47.46.108.99.114.95.115.121.115.105.110.102.111.46.116.120.116
03-30-2021 02:34 PM
on my VSP4800 running v7.1.9.0 its the following. (Shouldn’t have changed in any v8.X switch)
.1.3.6.1.2.1.1.3.0
DISMAN-EVENT-MIB::sysUpTimeInstance
.iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.sysUpTimeInstance