Documentation ¶
Overview ¶
Package general represents generic information that can be requested via SNMP
Index ¶
Constants ¶
View Source
const SystemDateOID = ".1.3.6.1.2.1.25.1.2.0"
RFC2790 defines HOST-RESOURCES-MIB::hrSystemDate.0
View Source
const SystemProcessesOID = ".1.3.6.1.2.1.25.1.6.0"
RFC2790 defines HOST-RESOURCES-MIB::hrSystemProcesses.0
View Source
const SystemUptimeOID = ".1.3.6.1.2.1.1.3.0"
RFC3418 defines SNMPv2-MIB::sysUpTime
Variables ¶
View Source
var NTPServer = "time1.uni-hannover.de"
The preferred NTP Server for calculating the differences in clock times
Functions ¶
func SnmpTimeString ¶
SnmpTimeString parses SNMP Data into a RFC3339 compatible timestamp
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.