Configure a Rule Using SNMP Scalar
To configure a rule with scalar fields:
-
Go to Configuration > Rules.
-
Click +Add Rule on top of the Rules page.
Fill in the topic and the rule name, description, and synopsis. You can see the new rule in the topic external by default, unless you specify a topic name here.
-
Click +Add Sensor and enter a name for the sensor.
-
Select SNMP as Sensor Type and 30s as Frequency.
-
Click Add Scalar and enter IF-MIB::ifNumber in the scalar field.
You can also enter the OID of the scalar object.
-
Click Add Scalar and enter IF-MIB::ifAdminStatus.16 in the scalar field.
Note:The index number is different from one device to another and from one system to another. Before you configure a rule for a device, get the index number of the scalar object in that device. For more information, see SNMP index number.
-
Do one of the following:
-
Save — Save your configuration changes but do not deploy the updated configuration. You can use this option when, for example, you are making several changes and want to deploy all your updates at the same time later.
-
Save and Deploy — Save the rule configuration in the GUI and deploy the configuration on your production environment. The ingest starts collecting telemetry data based on the configuration changes.
-