Hi - Is there way I can limit only one notification email and no more than that??
Like we currently monitor /var/core and alert if there any core files. But after 6 PM on weekdays and on the weekends there are ton of emails as we have it checking and alerting every 15 mins. So I would like to configure in a way that I get only one alert and no more than even if they are multiple files dump/generated in the /var/core. How do I go about that??
Thanks
Alert no more than one time
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Alert no more than one time
If you set the "Notification Interval" value to 0, Nagios will not re-notify contacts about problems for this host/service - only one problem notification will be sent out.
Re: Alert no more than one time
Thanks, it worked as expected.
So we want to be alerted every 15 minutes if a service is down during prod hours which is 06:00-18:00 and alerted only once during non prod hours from 18:00-06:00.
Do I need to create two time periods, service templates and services?? one for prod and one non prod??
So we want to be alerted every 15 minutes if a service is down during prod hours which is 06:00-18:00 and alerted only once during non prod hours from 18:00-06:00.
Do I need to create two time periods, service templates and services?? one for prod and one non prod??
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Alert no more than one time
With this requirement, that may be the only option, the only other I can think of would be to create an escalation for each of the hosts/services the business hours time period and have the 60 minute notification interval on the escalation.ronaldocr wrote:Do I need to create two time periods, service templates and services?? one for prod and one non prod??
But I have not tested if this would have the desired affect.
Re: Alert no more than one time
It worked thanks a lot
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Alert no more than one time
Great!ronaldocr wrote:It worked thanks a lot
Locking