Welcome to docs.opsview.com

Testing SNMP traps

In opsview-core/t/var, there is snmptraps.for_tracing. You can pass that into the SNMP trap rule engine (make sure the rules are setup first):

cat t/var/snmptraps.for_tracing | /usr/local/nagios/bin/snmptrap2nagios
/usr/local/nagios/bin/update_snmptrap_exceptions var/snmptrap2nagios.exception.log

This will then update the snmptrap exceptions.