Please keep the list on the replies so others can learn from this as well. define service{ use generic-service host_name HOST service_description Logged In users active_checks_enabled 0; passive_checks_enabled 1; check_freshness 1; freshness_threshold 600; check_command check_stale!2!'This Service is stale' }
Greg Pangrazio On Fri, Dec 10, 2010 at 9:18 AM, Rikard Dahlberg <rik.dahlb...@gmail.com> wrote: > Thanks. > > I've now edited nagios.cfg to use freshness and looked up the manual.. :) > Would you mind giving me an example of the service and command? Mine still > isn't working.. > > Rikard > >> From: pangr...@gmail.com >> Date: Fri, 10 Dec 2010 08:05:45 -0600 >> To: nagios-users@lists.sourceforge.net >> Subject: Re: [Nagios-users] Alert host down with passive check >> >> You are looking for "Freshness" >> >> check out http://nagios.sourceforge.net/docs/3_0/freshness.html >> >> I use this with all of my passive checks. >> >> Greg Pangrazio >> >> >> >> >> >> On Fri, Dec 10, 2010 at 7:56 AM, Rikard Dahlberg <ej_...@hotmail.com> >> wrote: >> > Heya guys! >> > >> > Is there any possible way to configure nagios to report host as DOWN, if >> > nagios havn't got any passive checkresult within like 5 minutes? >> > Can I change that somehow? For now, when a host dies in my current >> > configuration, it actually doesn't report is as DOWN, since im using >> > passive >> > checks. But i want to set nagios to if i havn't got a new passive.-check >> > result in 5 minutes, i want nagios to automaticly set it as DOWN... >> > >> > Any idea please? :) >> > >> > Regards >> > Rikard >> > >> > >> > ------------------------------------------------------------------------------ >> > >> > _______________________________________________ >> > 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 >> > >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> 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 > ------------------------------------------------------------------------------ _______________________________________________ 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