Nagios stopped checking most of my services!

Breandan Dezendorf breandan at dezendorf.com
Tue Nov 3 04:22:16 CET 2009


On Nov 2, 2009, at 10:03 PM, Casey Allen Shobe wrote:
>
> You /could/ do what I did, and force service checking on all your
> hosts by echoing a line for each host into nagios.cmd.  See here:
> http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=130

The other important thing to setup now, while you are thinking about  
it, is a sanity check for the Nagios service check frequency.  This is  
much more important in distributed environments, but can be helpful at  
times like these.

We're pulling a little over 600 checks per minute total from two  
distributed nodes, and I have a simple (hackish) perl script that  
scans through the log file looking for 'EXTERNAL COMMAND' in the last  
1, 5 and 15 minutes.  It outputs perfdata, so pnp4nagios picks it up,  
and I have the warning and critical thresholds set ptetty low.  That  
script is setup as a check command against the front end nodes.  I  
even have pretty graphs now that tell me how many checks I'm doing on  
average, and how often someone bumps the queue repeatedly force- 
rechecking a host.

--
Breandan Dezendorf
breandan at dezendorf.com
bwdezend at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_nagios_external_checks
Type: application/octet-stream
Size: 1868 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091102/36fee98d/attachment.obj>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-------------- next part --------------
_______________________________________________
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