Linux – snmp linux timezone

linuxsnmp

I have the oid to get system time from linux, but is it possible to determine the system timezone via snmp on a redhat/centos box?

Best Answer

The hrSystemDate.0 object returns the local timezone:

HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2011-3-24,6:20:24.0,-6:0
                                                                 ^^^^

The suffix shows the time offset from GMT.