Create SNMP Metric Plugin
Overview
Creating a SNMP Metric Plugin in Motadata AIOps allows you to define custom metrics for monitoring purposes using SNMP communication protocols. This enables you to retrieve data from network endpoints and incorporate it into your monitoring strategy.
Navigation
Go to Menu, Select Settings . After that, Go to Plugin Library . Select SNMP. The Metric Plugin screen is displayed.
Select to create a metric plugin. The screen to create HTTP/HTTPS is selected by default. Select SNMP to create a SNMP Metric Plugin.
SNMP Metric Plugin Fields
When creating a SNMP Metric Plugin, you'll need to complete the following fields:
Field | Description |
---|---|
Metric Name | Name of the metric you're defining. |
Type | Type of monitor for which you're creating the plugin. |
Monitor/Group | Choose whether you want to assign the plugin to a specific monitor or a group of monitors. The Plugin will be tested against the monitors selected here when you click on the Test button. |
Monitors/Groups | Select the specific monitor(s)/group(s) to which you want to assign the plugin. |
Credential Profile | Select the credential profile to access the selected monitors. |
Port | Specify the Database Port. |
Timeout | Specify the timeout to establish the connection with the port. |
Credential Profile | Select the credential profile to access the selected monitors. |
OID Group | Select an OID type. - Scalar OIDs represent single, discrete values. These values may include metrics like CPU utilization or memory usage, represented by specific OIDs. - Tabular OIDs represent sets of related data, presented in a table format. These tables might include information about interfaces, network routes, etc. |
OID Name | Assign a descriptive name to each OID, representing the metric or data you want to monitor. For example, you can use "CPU (%)" for CPU utilization. |
OID | Provide the actual OID (Object Identifier) associated with the metric you want to monitor, e.g., 1.3.6.1.4.1.9.2.1.58.0 for CPU utilization. |
Add OID Group | Select this button to add another OID group. |
Script Language | Choose the language for writing the parsing script (GO or Python). |
Parsing Script | Write the script here to parse the retrieved data. |
Add Variable | Add any variables needed in the parsing script. |
Once you've filled in these fields, you'll be able to define custom metrics using the SNMP Metric Plugin.
Select Create Metric to create the metric plugin based on the configurations specified.
Select Test to test the script against the monitors selected.
Select Reset to erase all the current field values, if required.