Hey!
You can obtain the card startup time using the
hwEntityUpTime object in the
hwEntityStateTable table.
The query procedure is as follows:
Perform an SNMP walk operation on the entPhysicalClass object to obtain indexes and types of all entities. Find the entity of the type 9 from the walk operation results. The value 9 indicates that the entity type is device.
entPhysicalClass.16842753 = 9
In the preceding operation results, the value 16842753 indicates an entity index, and the value 9 indicates an entity type.
Perform an SNMP get operation on the entPhysicalName object based on the device index to obtain the name and ID of the device.
entPhysicalName.16842753 = CE6850-48T4Q-EI 1
In the preceding operation results, the name and ID of the device with the index 16842753 are CE6850-48T4Q-EI and 1 respectively.
Perform an SNMP get operation on the hwEntityUpTime object based on the device index to obtain the device startup time.
hwEntityUpTime.16842753 = 3402
In the preceding operation results, the startup time of the device with the index 16842753 is 3402.