Using Nagios to monitor "service-less" hosts

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Wed Nov 8 18:10:56 CET 2006


Hi Rob,

Further to this discussion - I've removed the check_interval directive 
(or rather set it to 0) for all hosts.
I've added a Ping service to each host called "OVERALL SERVER 
AVAILABILITY", and set it to check every minute (where all other 
services are every 5 minutes).

Nagios however is still checking each host roughly every 2 minutes, 
regardless.  Even on the 2 routers, where the Ping service has had 100% 
uptime all day, Nagios has been checking the host roughly every 1-2 minutes.
I have completely killed off all Nagios processes, verified the config 
(which removed the 2 warnings for the service-less routers), and started 
it up again.

So it seems to me that it doesn't really make much of a difference?

Andy.

Sloane, Robert Raymond wrote:
>> JOOI, why is it said that a host check degrades performance?  
>>     
>
> As Giles Coochey mentioned earlier, host checks may cause performance
> problems because they are not scheduled in the same way as service
> checks.  To quote the documentation again:
>
> Also of note - when Nagios is check the status of a host, it holds off
> on doing anything else (executing new service checks, processing other
> service check results, etc). This can slow things down a bit and cause
> pending service checks to be delayed for a while, but it is necessary to
> determine the status of the host before Nagios can take any further
> action on the service(s) that are having problems.
>
> If your system can handle the overhead of running host checks every
> minute, that is fine, but I think people should be aware of the possible
> consequences of running "service-less" hosts.  As for me, I just add a
> PING service to any host that doesn't have any other services.  It does
> what you want, in that it can be scheduled to run every minute, but it
> doesn't slow down other processing.
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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