Add and configure the Queries for the custom SNMP Check.
- On the Queries tab, click Add Query and enter a Query Name
- Specify the SNMP Index to use:
- Manually specify an SNMP index and enter the Index OID for a specific entry
- Let RMM determine the SNMP index by looking it up. All monitorable entries in a table’s index are added from the Variables to use OIDs
To monitor a specific port. You would enter its index value.
In our example, to monitor the Npcap Loopback Adapter we would enter 2.
This is from the ifTable OID entry for the Npcap Loopback Adapter including index: .18.104.22.168.22.214.171.124.1.1.2
It can prove time-consuming to enter multiple, essentially duplicate Checks to monitor the same information for the same indicators in the same table.
Select Let RMM determine the SNMP index by looking it up. The Check then automatically adds every index in the tables references in the Variables to use section.
When using this setting in our example, all interfaces appear under the one Check.
- Add OID and populate the OID name and OID value for each Variable to use. Click Add OID to enter multiple variables
We will name this query Port Details
We will enter the Names and OIDs identified previously in the MIB file.
|Name||OID (without index)|
Once complete, click Next to configure the Metrics
Suggestion: use the OID name from the MIB to ensure naming consistency between the Check and MIB.
Tip: if the OID must start with a period, end with a number and can only contain numbers and periods message appears when adding an OID, but the OID looks okay. Check the entered OID to ensure it does not contain any whitespace. Especially before the first period.
What do you want to do?
- Learn about SNMP
- Retrieve SNMP Information from a Device using a MIB browser
- Identify the Interface OIDs
- Review the OID information to use in the Check
- Walk through the creation of a custom SNMP Check