host check delay problem
Marc Powell
marc at ena.com
Wed Mar 14 19:22:11 CET 2007
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Dinçer Kavraal
> Sent: Wednesday, March 14, 2007 12:32 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] host check delay problem
>
> Hi guys,
>
> I need a patch for Nagios not to stop all checks during a host check. Does
> anybody have such a patch to share?
Yes, it's called nagios-3 (alpha/CVS only at the moment) ;).
> Let me tell you further, who are interested and have time:
> I have set up Nagios to check only up/down state for about 300 hosts.
> However, it could not finish checks in desired time period. Even, my host
> check latency was about 400 secs!.
You shouldn't be using scheduled host checks in any version prior to nagios-3 except for exceptional circumstances. It sounds like you are using them for normal checks.
> I have noticed host checks were unable to be done in parallel. So for each
> host I have added a "HOST STATUS" service to check liveliness of host with
> ping (using host_check_alive plugin). During this process, host check
> latency and service check latency were fallen under 5 secs. Very nice.
Yes, this is what you should be doing if you have no other monitorable services on the host. Nagios is very service-centric. Nagios monitors services first and foremost. Hosts will only be checked when a service on the host fails. If a service is up, then the host _must_ be up. Nagios-3 introduces parallelized host checks and benefits of doing regular host checks in addition to service checks but services are still the primary focus IMHO.
> But, It is impossible for me to say Nagios to check a host five times with
> "1 minute delays" more to decide if a host is down. It checks host 5 times
> eventually with 10 seconds delay. Nothing to do with it.
That's correct, at least for nagios-2 and prior.
--
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