I am using the snmpd probe to collect alarm information. How do I filter the alarms by host or expression.

book

Article ID: 34315

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

Question:

I need to exclude alarms that are being sent to UIM via the snmpd probe.
How can I limit the alarms either by host name or expression?

 

Answer:

Within snmptd, there is no way to do filtering per se. You can however, redirect alarm messages so that they are delivered to the logmon probe instead of the nas. Using logmon, you can select just the specific messages you want to have sent to the NAS to generate alarms.

To perform this re-direction, turn off the "Convert to NimBUS Alarm" flag and turn on the "Convert to NimBUS SNMP-TRAP message" flag. This causes snmptd probe to publish messages to the "SNMP-TRAP" subject rather than the "alarm" subject.

<Please see attached file for image>

snmpd.jpeg


Next, create an Attach Queue on the hub. You can name the queue whatever you wish. Set the subject to "SNMP-TRAP". This will cause the messages from snmptd to be gathered into this queue.

<Please see attached file for image>

hub.jpeg

Finally, configure logmon to read from the attach queue that you created. Logmon will read the messages line by line, select messages that match the watcher rules and publish those messages on the alarm subject (which the NAS is subscribing to).

 

<Please see attached file for image>

logmon.jpeg

 

Environment

Release: CNMSPP99000-7.6-Unified Infrastructure Mgmt-Server Pack-- On Prem
Component:

Attachments

1558699652310000034315_sktwi1f5rjvs16or1.jpeg get_app
1558699650332000034315_sktwi1f5rjvs16or0.jpeg get_app
1558699648394000034315_sktwi1f5rjvs16oqz.jpeg get_app