Page 1 of 1

Notification_Interval query

Posted: Mon Jul 11, 2016 9:59 am
by neworderfac33
Good afternoon,

I was wondering if, when you restart Nagios Core, if you can set it to send an alert for all the alert states that are currently active (e.g. disk space at warning or critical level), rather than it waiting for an alert status to change and only then sending an email?

Thanks in advance

Pete

Re: Notification_Interval query

Posted: Mon Jul 11, 2016 10:24 am
by rkennedy
If a state of a service is currently in warning / critical state, then you should have already received a notification about this depending on your settings.

Just to make sure I understand correctly, on a restart, you want notifications to be sent out once again for all services that are in any state that isn't OK? Is that correct?

Re: Notification_Interval query

Posted: Tue Jul 12, 2016 3:27 am
by neworderfac33
Yes, that's correct! :-)

Re: Notification_Interval query

Posted: Tue Jul 12, 2016 1:47 pm
by ssax
It's not currently possible, the closest you could come would be to set retain_state_information=0 in your nagios.cfg OR set retain_status_information 0 on your hosts/services but it would still wait until the next check occurs.

Re: Notification_Interval query

Posted: Wed Jul 13, 2016 5:42 am
by neworderfac33
That's fine - at least I can present the answer when I'm asked the question!

You can close this thread now - thank you.

Pete

Re: Notification_Interval query

Posted: Wed Jul 13, 2016 10:16 am
by mcapra
Closing this per your request