Host checks without service check

Marc Powell marc at ena.com
Wed Jun 22 17:48:50 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Stephen J. Scheck
> Sent: Wednesday, June 22, 2005 9:03 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Host checks without service check
> 
> Hello,
> 
> Is there a way to have Nagios execute a host check (e.g. a simple
> check-host-alive ping) without having any service checks defined for
> that host? Whenever I configure hosts without configuring service
checks
> for them, nagios gives me configuration file warnings, and then the
host
> checks remain in "pending" state.

No. Nagios is designed to be a service monitor primarily. Every host
must have at least one service defined for it. Nagios 2.0 adds the
ability to have regularly scheduled host checks but they are highly
discouraged for normal operation.
 
> I have some devices that I only need to monitor for ping-ability. I
> solved the problem by also adding a service check which also just does
a
> ping, but I'm wondering if I missed something and there is a simpler
way
> to do it.

That's what I and many others are doing as needed.

--
Marc


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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