> Hi, > > I have nagios set up to send notifications when a service is critical > or warning. > > Below is the configuration of a service: > max_check_attempts 5 > retry_check_interval 5 > normal_check_interval 5 > > When a service is CRITICAL, a HARD CRITICAL alert is sent out after 25 > minutes. I am fine with that. > > But when a service is changed from CRITICAL (HARD state) to WARNING > (HARD state), a HARD WARNING alert is sent out immediately without the > max_attempts retries. Same goes when a service is changed from WARNING > (HARD) to CRITICAL (HARD). > > This can generate quite a lot of non-useful alerts especially for > CPU_usage. > > Sometimes, I received more than 7 alerts of CPU usage within 30 > minutes. > > Warning alert: [10-01-2007 04:44:55] SERVICE ALERT: > SINSA016;MEM_USAGE;WARNING;HARD;5;WARNING: MEM_USAGE (94 %) > reached/exceeded warning threshold of 90 %! > > Critical alert: [10-01-2007 04:49:56] SERVICE ALERT: > SINSA016;MEM_USAGE;CRITICAL;HARD;5;CRITICAL: MEM_USAGE (95 %) > reached/exceeded critical threshold of 95 %! > > Warning alert [10-01-2007 04:54:56] SERVICE ALERT: > SINSA016;MEM_USAGE;WARNING;HARD;5;WARNING: MEM_USAGE (94 %) > reached/exceeded warning threshold of 90 %! > > Critical alert: [10-01-2007 05:09:56] SERVICE ALERT: > SINSA016;MEM_USAGE;CRITICAL;HARD;5;CRITICAL: MEM_USAGE (95 %) > reached/exceeded critical threshold of 95 %! > > Warning alert: [10-01-2007 05:24:56] SERVICE ALERT: > SINSA016;MEM_USAGE;WARNING;HARD;5;WARNING: MEM_USAGE (94 %) > reached/exceeded warning threshold of 90 %! > > My question is, is there a way to check the healthiness of a service > for max_attempts times when the service is in CRITICAL/WARNING HARD > state? > How to reduce the non-useful notifications of CPU usage problems?
> Thanks for any helps. > > Regards, > Louise > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null