Hi ,
we got a requirement on notifications from the nagios server.
"Nagios should send only 1 notification at the time of warning alert generated and it should not re-notify" and for the critical alert they need to get the notification for 60 min until it is cleared.
Is it possible to do such type changes
notifications from the nagios server
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: notifications from the nagios server
set your notification_interval for 0, which will send right away, and only once.
Re: notifications from the nagios server
There is no way to distinguish separate notification intervals for Warning VS Critical states, though.
There was some discussion around (unofficially) resurrecting an old Nagios Core 3 patch that added this sort of functionality though:
https://support.nagios.com/forum/viewto ... =7&t=44274
There was some discussion around (unofficially) resurrecting an old Nagios Core 3 patch that added this sort of functionality though:
https://support.nagios.com/forum/viewto ... =7&t=44274
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: notifications from the nagios server
What version of Nagios are you using? You could just use that patch. Thanks @mcapra and @tacolover101!mcapra wrote: There was some discussion around (unofficially) resurrecting an old Nagios Core 3 patch that added this sort of functionality though:
https://support.nagios.com/forum/viewto ... =7&t=44274
Also, you could run this logic in an event handler, but the event handler is going to run each time, so all the logic needs to be in the one script (or have that opening script call out to additional scripts)