Motadata Docs

SNMP Runbook

Overview

SNMP Runbook can be used if you want to execute certain actions on a monitor while using SNMP protocol to access the monitor.

After selecting the , a screen appears to create a Runbook.

SSH Runbook is selected by default. Select the SNMP Runbook to start creating the Runbook.

SNMP Runbook Screen

The following parameters appear on the Create Runbook screen for SNMP protocol.

Runbook Name Enter a unique name of the Runbook you wish to create. The name should be given logically based on the task performed by the Runbook
Monitor/Group

Select a Monitor or Group based on your requirement.

  • Select Monitor if you wish to assign the runbook you create to an individual monitor. Select the monitor to which you wish to assign the Runbook from the dropdown titled Monitors.
  • Select Group if you wish to assign the Runbook to a group of monitors. Select the group to which you wish to assign the Runbook from the dropdown titled Groups.
Credential Profile Select the credential profile so that your runbook is able to access the monitor using the appropriate credentials and perform its task on the monitor.
Create Credential Profile Select this option if you wish to create a new credential profile.
SNMP Group Type Select Scalar or Tabular based on the type of OID.
OID Name Provide a unique name to the OID which you need to include in the Runbook script. This name will be used in the script to refer to the OID instead of the 12-digit OID number.
OID Enter the OID which you need to include in the runbook script. The script will be used to perform tasks on this OID.
Script Language Select the language (GO or Python) in which you write your script.
Parsing Script Enter the script to parse the output OID(s).
Add variable Add a variable, if needed to be used in the parsing script.

Select the Create Runbook Plugin button to create the Runbook based on the parameters entered.

Select the Test button to verify the correctness of the script and the validity of the credential profile.

Select the Reset button to erase all the current field values, if required.

Note: The Create Runbook Plugin option is enabled only after the Test is successfully completed.