Hi,
Another beginner question.
Ex. I don't want to have high CPU load to get into critical state to trigger critical alert, if high CPU load duration is not over 4 hours.
How to ignore an alert for a period of time ?
Re: How to ignore an alert for a period of time ?
correction of subject:
before:
How to ignore an alert for a period of time ?
after:
How to ignore a critical state for a period of time ?
before:
How to ignore an alert for a period of time ?
after:
How to ignore a critical state for a period of time ?
Re: How to ignore an alert for a period of time ?
Set the first_notification_delay for that service to 240 (4 hours).
http://nagios.sourceforge.net/docs/3_0/ ... ml#service
http://nagios.sourceforge.net/docs/3_0/ ... ml#service
Former Nagios employee
Re: How to ignore an alert for a period of time ?
Thanks for the pointer, first_notification_delay is to delay the notification(by email), not really what I need.
Is there a time delay setting for entering into non-OK(critical) state ?
ie, CPU can be in high-load for 4 hours before go into critical state.(then first_notifcation_day can delay alerting sending furhter).
Is there a time delay setting for entering into non-OK(critical) state ?
ie, CPU can be in high-load for 4 hours before go into critical state.(then first_notifcation_day can delay alerting sending furhter).
Re: How to ignore an alert for a period of time ?
You can't really ignore them, but you can fiddle around with the check_interval, retry_interval, and max_check_attempts to get close to what you need. Essentially you would say "Keep checking every X minutes for Y total checks until determining it is a real problem".
You might want to look into hard vs soft states:
http://nagios.sourceforge.net/docs/3_0/statetypes.html
You might want to look into hard vs soft states:
http://nagios.sourceforge.net/docs/3_0/statetypes.html
Former Nagios employee