Can I monitor a host without defining any services for it?

Seth Simmons ssimmons at cymfony.com
Fri Aug 8 03:59:58 CEST 2008


It probably does serve a purpose, just not for what you are trying to
accomplish.
Though warnings are given about not having services associated, you
should be fine with just host checks if that is what you want.

As far as the checks go, I have 101 servers and over 1200 service checks
and have never noticed a time lag with any of them.
Would be best to use check_ping with your check_command directive for
your hosts.

"If you leave this argument blank, the host will not be actively
checked."



-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ian
Masters
Sent: Thursday, August 7, 2008 9:40 PM
To: Thomas Guyot-Sionnest
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Can I monitor a host without defining any
services for it?

Thomas

Thanks for your reply.

> You can use check_dummy for the service... In Nagios 3 with regularly
> scheduled hosts checks it should work.

Well, at the moment I only have about 20 hosts being tested, and even
though I have check_interval set to 1 in the host definition, looking at
the scheduling queue, I can see that host checks are only occurring
every 80 seconds. When I've added about 200 more hosts I'm wondering if
this time lag will increase.

If that is the case, then I guess I will have to use check_ping after
all.

> In Nagios 2 hosts check were normally on-demand so it wouldn't work if
> your service always returns OK.

Interesting. I never used Nagios 2.

According to check_dummy -h:
This plugin will simply return the state corresponding to the numeric
value of the <state> argument with optional text

Am I right in thinking that this does not actually perform a test? It
just returns a state (OK, Warning etc) depending on the argument you
give to check_dummy. Is that correct?

If that is the case, is there really any point in using it for my
purposes. Obviously it prevents the Nagios warnings, but other than that
is it really serving any purpose?

Thanks

Ian


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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