Page 1 of 1
Time between 2 alert notification for an alert
Posted: Sun May 09, 2021 10:30 pm
by sahilrana
Hi Team,
I have setup alerts for disk space for drives. Now I want to increase the notification time between two alerts, like once I get an alert the next alert notification should trigger after 24 hours. Is this possible to change for a particular alarm?
Another question is if I acknowledge an alarm then it will not trigger notification even if the issue still persists on the servr?
Re: Time between 2 alert notification for an alert
Posted: Mon May 10, 2021 1:42 pm
by ssax
You can edit the service and set the notification_interval to 1440.
notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state. 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 service - only one problem notification will be sent out.
Taken from here:
https://assets.nagios.com/downloads/nag ... tions.html
On the acknowledgement question, that is correct.
By acknowledging the current problem, future notifications (for the same servicestate) are disabled. If the "sticky" option is set to two (2), the acknowledgement will remain until the service returns to an OK state. Otherwise the acknowledgement will automatically be removed when the service changes state
Taken from here:
https://assets.nagios.com/downloads/nag ... mand_id=40
Re: Time between 2 alert notification for an alert
Posted: Mon May 31, 2021 12:51 pm
by sahilrana
Thanks.
You can close this post.
Re: Time between 2 alert notification for an alert
Posted: Tue Jun 01, 2021 6:48 am
by scottwilkerson
sahilrana wrote:Thanks.
You can close this post.
Locking thread