Nagios v3.5.0 transitioning immediately to a HARD state upon host problem

C. Bensend benny at bennyvision.com
Sat May 25 17:28:36 CEST 2013


> diff -uNp nagios-updated.cfg nagios.cfg
> --- nagios-updated.cfg  Sat May 25 09:05:09 2013
> +++ nagios.cfg  Sat May 25 09:02:37 2013
> @@ -981,9 +981,9 @@ translate_passive_host_checks=0
>
>  # PASSIVE HOST CHECKS ARE SOFT OPTION
>  # This determines whether or not Nagios will treat passive host
> -# checks as being HARD or SOFT.  By default, a single passive host
> -# check result will put a host into an immediate HARD state type.
> -# This can be changed by enabling this option.
> +# checks as being HARD or SOFT.  By default, a passive host check
> +# result will put a host into a HARD state type.  This can be changed
> +# by enabling this option.
>  # Values: 0 = passive checks are HARD, 1 = passive checks are SOFT
>
>  passive_host_checks_are_soft=0
>
>
> Does that make sense?  If I had read something like that, it would
> have been immediately clear to me what was happening.
>
> Thank you so much, Andreas!  On to the next problem with the
> upgrade (something that can wait until next week)...

Sorry, too little caffeine too early, got the files reversed.  Here's
the right diff:

diff -uNp nagios.cfg nagios-updated.cfg
--- nagios.cfg  Sat May 25 10:25:34 2013
+++ nagios-updated.cfg  Sat May 25 10:27:12 2013
@@ -981,9 +981,9 @@ translate_passive_host_checks=0

 # PASSIVE HOST CHECKS ARE SOFT OPTION
 # This determines whether or not Nagios will treat passive host
-# checks as being HARD or SOFT.  By default, a passive host check
-# result will put a host into a HARD state type.  This can be changed
-# by enabling this option.
+# checks as being HARD or SOFT.  By default, a single passive host
+# check result will put a host into an immediate HARD state type.
+# This can be changed by enabling this option.
 # Values: 0 = passive checks are HARD, 1 = passive checks are SOFT

 passive_host_checks_are_soft=0



-- 
"The very existence of flamethrowers proves that sometime, somewhere,
someone said to themselves, 'You know, I want to set those people
over there on fire, but I'm just not close enough to get the job
done.'"                          -- George Carlin


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list