Hi Team,
In my nagiosxi environment , we required only one notification if services or hosts goes down.
what setting will i use notification interval and host escalation setting
Single notification required for Email notification
-
kyang
Re: Single notification required for Email notification
Hello!
You can accomplish this by setting the notification_interval to 0.
Setting this to 0 will only send 1 notification and that is when the host or service goes down.
The same goes for host escalation when setting the notification interval.
Please read more about the definition settings for host escalation.
https://assets.nagios.com/downloads/nag ... escalation
Let me know if this helps!
You can accomplish this by setting the notification_interval to 0.
Setting this to 0 will only send 1 notification and that is when the host or service goes down.
Quoted from the object definitions documentation.notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this host is still down or unreachable. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this host - only one problem notification will be sent out.
The same goes for host escalation when setting the notification interval.
Please read more about the definition settings for host escalation.
https://assets.nagios.com/downloads/nag ... escalation
Let me know if this helps!
Re: Single notification required for Email notification
Hi,
Suppose if services goes from WARNING to CRITICAL . Again alert will generate correct?
It there any way to stop that types of notification.
Ex: Service 1 status critical for : CHECK_NRPE: Socket timeout after 10 seconds. ---------> first 5min changed to
Service 1 status critical for : SQLWriter: Not found --------------------next 5min
Here status critical to critical and it will generate two notification for same service. is there any way to stop this type of alert
Suppose if services goes from WARNING to CRITICAL . Again alert will generate correct?
It there any way to stop that types of notification.
Ex: Service 1 status critical for : CHECK_NRPE: Socket timeout after 10 seconds. ---------> first 5min changed to
Service 1 status critical for : SQLWriter: Not found --------------------next 5min
Here status critical to critical and it will generate two notification for same service. is there any way to stop this type of alert
-
kyang
Re: Single notification required for Email notification
If you set the notification_interval to 0 then it will alert you only once. Because the host or service has gone down.
But if there is a warning to critical then it will notify you again because it is a state change.
Can you provide this example you are seeing.
Also, how is this service defined using check_nrpe and another plugin? Can you also provide details on this?
But if there is a warning to critical then it will notify you again because it is a state change.
Based on this, do you mean you are receiving two alerts (EX: through the GUI?) or two notifications? (EX: two critical emails)It there any way to stop that types of notification.
Ex: Service 1 status critical for : CHECK_NRPE: Socket timeout after 10 seconds. ---------> first 5min changed to
Service 1 status critical for : SQLWriter: Not found --------------------next 5min
Here status critical to critical and it will generate two notification for same service. is there any way to stop this type of alert
Can you provide this example you are seeing.
Also, how is this service defined using check_nrpe and another plugin? Can you also provide details on this?