ping service

John Tabasz (jtabasz) jtabasz at cisco.com
Wed Oct 3 05:02:18 CEST 2007


I am in a quite similar situation as Fanen. My question is more about
the configuration aspect. I have each host defined in the hosts.cfg
file, with a "check-host-alive" argument to the check_command directive.
Do I need to also build the commands.cfg or services.cfg file such that
every host has a declaration for every command I want to run on it?  If
I want to monitor 2K plus hosts, this is a lot of config file
building/monitoring/troubleshooting to do. Not to mention some large
files to be parsed by Nagios. 

Thanks,

John

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Friday, August 31, 2007 5:38 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] ping service



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-

> bounces at lists.sourceforge.net] On Behalf Of Fanen Ahua
> Sent: Friday, August 31, 2007 5:09 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] ping service
> 
> Hi,
> I recently installed and setup nagios on an ubuntu 7.04 system.
> 
> I believe i have my configuration in place, and working, and i'm
trying
> to monitor a system via ping,


> It monitors, whenever i schedule it explicitly. I want it to
automatically
> run
> the check every few minutes. I believe that's what
'normal_check_interval'
> is for.
> Is there something i'm missing?

Did you disable execution of service checks in nagios.cfg perhaps?
http://nagios.sourceforge.net/docs/2_0/configmain.html#execute_service_c
hecks

Also running /path/to/nagios -s /path/to/nagios.cfg might reveal
interesting information.

--
Marc 

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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