host check delay problem

Marc Powell marc at ena.com
Thu Mar 15 15:53:13 CET 2007



> -----Original Message-----
> From: dkavraal at gmail.com [mailto:dkavraal at gmail.com] On Behalf Of Dinçer
> Kavraal
> Sent: Thursday, March 15, 2007 7:15 AM
> To: Marc Powell
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] host check delay problem
> 
> Hi Marc,
> Have you got any ideas how to achieve a solution for host check delays
> stability?

Yes, follow standard setup guidelines and minimize your usage of host checks. Define all your hosts. Configure a host check that runs once and exits quickly; check-host-alive with a single ping is usually sufficient. Have it run a couple of times if you're paranoid (max_check_attempts). *Do not set a check interval, don't even have it in the host definition.* Configure the parents directive for your hosts if you want to take advantage of the network outages logic to minimize notifications.

Define one or more services on the host. If the host is pingable only, define a PING service for the host that pings it. Set a normal_check_interval, retry_check_interval and check_period that is sane for your environment.

Nagios will check the service in parallel and will only perform a sequential host check when a service fails. Since services should rarely fail, host checks will be run rarely. Since the host check will run and exit quickly, there is minimal interruption of normal scheduling. If all your hosts are pingable only and you don't care about configuring parents then you don't need host checks at all and can set the check_period to none in the host definitions to completely eliminate them.

--
Marc

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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