Re: how to configure "clearing" an alarm based on severity v
Posted: Mon Dec 21, 2020 7:00 pm
There really isn't a relationship in the system based on the trap ID, the Status of the service will always show the last trap that was sent in, there isn't a way to change this other than separating them out into individual services for each trap (which is a pain to manage).
So this would separate the warn/critical and the clear:
For the WARNING/CRITICAL:
- Set Severity to Warning or Critcal (whatever you'd prefer)
For the OK(clear):
- Set Severity to OK
Generally, you can use the SNMP Trap Interface to view the historical traps that were received OR you can view the State History of the service to see the others that came in if you have State Stalking enabled:
https://assets.nagios.com/downloads/nag ... lking.html
The notifications should be sending and those are the actual issues so you could also check your notification report/emails to see what has occurred as well.
So this would separate the warn/critical and the clear:
For the WARNING/CRITICAL:
- Set Severity to Warning or Critcal (whatever you'd prefer)
Code: Select all
MATCH $11: 3- Set Severity to OK
Code: Select all
MATCH $11: 5https://assets.nagios.com/downloads/nag ... lking.html
The notifications should be sending and those are the actual issues so you could also check your notification report/emails to see what has occurred as well.