Most malfunctions regarding the plugin mackerel-plugin-snmp are related to the following causes.
- Not specifying the correct OID in the plugin options.
- The plugin retrieves the object value of the OID specified by the SNMP Get Request. An OID with a subordinate tree can not be specified.
- Use the snmpget command to check the plugin OID. Specify the target OID and check that the object value is returned.
- The snmpwalk command returns a value even if you specify an OID with a subordinate tree. Be sure to use the snmpget command to confirm the OID to specify in the plugin.
- Not specifying enough metric options
- Metrics such as the OID must be specified in a format separated by halfwidth colons like this example:
OID:NAME[:DIFF?][:STACK?]
. The meaning of each part follows below.
- Metrics such as the OID must be specified in a format separated by halfwidth colons like this example:
Item | Configuration Value | Required |
OID | OID(Only MIBs with numerical reference values are supported | Y |
NAME | The metric label displayed on the graph | Y |
DIFF | Whether to calculate with a counter value (0 or 1) | N |
STACK | Whether to display metrics stacked (0 or 1) | N |
-
- Please make sure that
NAME
is specified as this is often not the case.
- Please make sure that