Skip to content
Advertisement

Tag: snmp

SNMP DateAndTime hex-string convert to human date in PHP

When i want to get the cablemodem event log via SNMP, then i snmpwalk the ‘mib-2.69.1.5.8.1’ oid, but I had the problem because the SNMP store every event date in ‘special’ hex-string called DateAndTime format. (In my case this is a 8 byte hex-string, like this: 07 B2 01 01 00 0A 14 00) I would like to convert to

Advertisement