diff --git a/generator/FORMAT.md b/generator/FORMAT.md index 62460bddb..229ffc93c 100644 --- a/generator/FORMAT.md +++ b/generator/FORMAT.md @@ -12,6 +12,7 @@ module_name: # List of OID subtrees to walk. - 1.3.6.1.2.1.2 - 1.3.6.1.2.1.31.1.1 + - 1.3.6.1.2.1.25.1.2 get: # List of OIDs to get directly. - 1.3.6.1.2.1.1.3 @@ -25,6 +26,10 @@ module_name: # as a label value on that gauge. # A metric that's part of a table, and thus has labels. + - name: hrSystemDate + oid: 1.3.6.1.2.1.25.1.2 + type: DateAndTime + help: The host's notion of the local date and time of day. - 1.3.6.1.2.1.25.1.2 - name: ifMtu oid: 1.3.6.1.2.1.2.2.1.4 type: gauge diff --git a/generator/README.md b/generator/README.md index 9c59929cb..dd8176a78 100644 --- a/generator/README.md +++ b/generator/README.md @@ -105,6 +105,7 @@ modules: # gauge: An integer with type gauge. # counter: An integer with type counter. # OctetString: A bit string, rendered as 0xff34. + # DateAndTime: An RFC 2579 DateAndTime byte sequence. If the device has no time zone data, UTC is used. # DisplayString: An ASCII or UTF-8 string. # PhysAddress48: A 48 bit MAC address, rendered as 00:01:02:03:04:ff. # Float: A 32 bit floating-point value with type gauge.