OpManager allows you to create custom SNMP monitors to get performance metrics based on vendor specific OIDs provided in the MIB.
Go to Settings → Monitoring → Performance Monitors → Add Monitor to view the Add SNMP monitor window.
To add a new monitor from a device snapshot page, you can also go to Inventory → Device Snapshot Page → Monitors → Performance Monitors → Actions → Add SNMP monitor.
To add an SNMP monitor, you need to first provide the OID based on which OpManager will fetch data related to the required metric from a device.
You can either enter the OID for which you want to add a monitor/select an OID from the OID browser. To access the OID browser, click Choose OID.
Step 1: Select MIB
In the drop-down menu provided on the top-left corner of the OID browser, you can select the MIB file from which you want to select the SNMP OID. You can find a list of default/supported MIBs included in this drop-down.
If you do not find a suitable MIB, you can also upload a MIB provided by your vendor using the Upload MIB option. Click Upload MIB to browse your files, select the suitable vendor-provided MIB file and click Upload.
Note: Please upload MIBs with RFC2578 MIB Standard to avoid parsing errors.
Step 2: Select OID
Search OID/Name: The OID browser in OpManager allows you to search the MIB for OIDs using the object identifier/name (.220.127.116.11.18.104.22.168/sysUpTime).You can also browse and select the required OID directly from the MIB tree.
Step 3: Test OID
Once you have selected an OID from the MIB tree, you will be able to view the OID, its Syntax and its Description.You can now test the OID to check if the output is desirable by clicking Test OID. This option allows you to review an OID's output, even before adding it to the expression.
Step 4: Now, click Choose OID. This will insert the selected OID into the Choose SNMP OID field.
The Choose SNMP OID field is not limited to just containing the OID. It also provides options for the user to construct OID expressions that perform simple mathematical operations on the output values of the OID. You can also construct expressions by combining OIDs.
Note that whenever you are providing OIDs anywhere in OpManager, they must always start with a dot (Example, .a.b.c.d.e.f.g.h).
Restrictions on OID expressions:
Functional Expressions allow you to set a predefined format on the display parameters of an output value.
E.g. In the case of adding an SNMP monitor to fetch the CPU temperature value, you can use a functional expression to convert Celsius to Fahrenheit.
It also supports aggregate methods that allow you to perform operations which combine multiple values to give a single output. E.g. AverageOfColumnValues, SumOfColumnValues etc.
This option helps you test the OID against a device. The template will not get associated to the selected device.
Use the drop-down menu to select a vendor to which you want to associate the template (or) enter a new vendor name (Click New → Enter a new Vendor Name → Click Add). Now, click Query Device.
Object identifiers (OIDs) have both a type and a value. It is on this basis that they are classified into Scalar Objects and Tabular Objects. A scalar object is a managed object that always has a single instance, whereas tabular objects have multiple instances. In both these cases, the output can either be a string or a numerical value.
OpManager provides the option of selecting specific instances that you want to monitor from a tabular object.
This checkbox creates a separate SNMP monitor for each instance. If you choose to select this option, it is mandatory that you provide inputs to the Series Index and the Series Display Name fields.
Series Index: An index is used to refer to a particular instance of a tabular object. A tabular object can have one or more instances and is identified by its index value. To identify a specific columnar variable, the index of the row has to be appended to its OID.
Series Display Name: This corresponds to the description/name/label that should be associated to an instance.
Note: The Series Index and the Series Display Name drop-down menu will automatically list all the OIDs under the same parent. If the index or description OIDs are not listed, you can type in the required OID.
You can check this option to set thresholds on the alerts that will be generated based on this monitor.
Select the condition [>,=, <, or !=]for attention, trouble & critical alert thresholds, and enter the value. An alert is raised if the monitored value is greater than, equal to, not equal to, or lesser than (which ever is selected) the specified threshold value.
For string-based thresholds, you can choose from the following conditions - CONTAINS, EQUALS, NOT CONTAINS, NOT EQUALS, MATCH REGEX. You can use these conditions to configure values for all levels of thresholds.
Rearm Value: Enter the Rearm Value for the monitor. A rearm value helps determine if the condition of a monitor has returned to normal after a threshold violation alert.
Example:Let us assume that the attention alert threshold for a memory monitor is configured as, 'Raise Attention alert when the monitored data is > 75' and the monitored memory value of that device exceeds this value, say 80. Then an alert will be raised.
In the next poll, if the monitored memory value is 72. Another alert will be generated, stating that the device is in a normal condition. Now, if in a successive poll, the monitored value climbs to 80. A threshold violation alert will again be generated which becomes troublesome to manage. A rearm value helps avoid this hassle by confirming that a device has returned to normal, only if the monitored value matches the rearm value.
Note: The rearm value must be lesser/greater than the threshold value, based on monitor requirements and the configured threshold condition.
In the Consecutive Times field, enter the value of how many consecutive times the thresholds (Attention, Trouble and Critical) can be violated for an alert to be generated.
Note: If the custom SNMP monitor is created from the Settings page, it will be created as a template. Whereas, if the monitor is created from the Device Snapshot page, it will automatically be associated to that device.
If you select Counter type OIDs, you can store data based on the delta value or the absolute value. By default, OpManager stores data using the delta value. However, you can use the Store Data drop-down to select your preference.