normal_check_interval misbehaving?

Jason Marshall jasonm at kelman.com
Mon Feb 9 16:44:38 CET 2009


> active-checks should be a template, so there wouldn't be a check_command
> for it. normally your active check won't go stale, because they're
> scheduled to run more often than the freshness threshold. check your
> logs for signs of:

I have a check_command for my passive checks, but it just exits with a 
warning status, and a statement that the check has gone stale.  I think 
this is normal, but it's been so long since I set this up originally (back 
in 2002) that a lot of the details are lost in the fog.

> this still doesn't explain why the checks are run every 10 minutes
> though, if freshness threshold is set to 5 minutes.

It doesn't, but I can say with certainty that the check hasn't run for at 
least 25 minutes now since I restarted Nagios without the freshness stuff.

It may be fixed (assuming it runs again at 9am my time, which is in about 
15 minutes), and I think I can live without the freshness checking of 
active services if there's no obvious workaround.

> have you confirmed that there isn't another nagios process running, as
> directed from another reply to this thread?

Yes:

[root at nagios3 nagios]# ps -ef |grep nagios |grep -v mysql
nagios   10703     1  0 07:55 ?        00:00:01 /usr/local/nagios-3.0.6/bin/nagios -d /usr/local/nagios-3.0.6/etc/nagios.cfg
nagios   11204     1  0 08:00 ?        00:00:00 /usr/local/nagios/bin/nsca -s -c /usr/local/nagios/etc/nsca.cfg
root     16035  4747  0 08:28 pts/2    00:00:00 grep nagios
[root at nagios3 nagios]#

Thanks again for your help, Hiren and everyone else!

---
Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada.

   From a Sun Microsystems bug report (#4102680):
     "Workaround: don't pound on the mouse like a wild monkey."

   "I have great faith in fools:
      Self confidence my friends call it."  -Edgar Allan Poe


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
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