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
- The definition of the metric to be obtained must be written in the format described on the mackerel-plugin-snmp help page.
- In many cases,
NAME
is not specified, so please check that it has been specified.