Time between 2 alert notification for an alert

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sahilrana
Posts: 32
Joined: Sat Feb 20, 2021 6:55 am

Time between 2 alert notification for an alert

Post 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?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Time between 2 alert notification for an alert

Post 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
sahilrana
Posts: 32
Joined: Sat Feb 20, 2021 6:55 am

Re: Time between 2 alert notification for an alert

Post by sahilrana »

Thanks.
You can close this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Time between 2 alert notification for an alert

Post by scottwilkerson »

sahilrana wrote:Thanks.
You can close this post.
Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked