mibcoerce.cfg is an optional file that allows a OID string to be
converted into a number.
Some SNMP agents provide numerical data embedded within other text.
This would not normally be available for collection and use within
OverTime.
Using the optional mibcoerce.cfg you can specify how to convert each
OID to a value.
Here is an example:
# Convert dBM on Canopy AP to a number
1.3.6.1.4.1.161.19.3.1.4.1.35,%ld
# Convert dBM on Canopy SM to a number - normally '-dd dBm'
1.3.6.1.4.1.161.19.3.2.2.8,%ld
# Read in temperature on the Canopy SM in degrees F
sample:34°C/92°F
1.3.6.1.4.1.161.19.3.3.1.5,%*d°C/%ld
Firstly, any line that starts with ‘#’ is a comment and is ignored.
A non-comment line starts with the numeric OID (less of the instance)
followed by a ‘,’ and an format
specifications string used by ‘sscanf’.