Re: [Nagios-users] checking host alive or service ping check

2009-05-06 Thread Marc Powell

On May 6, 2009, at 5:30 AM, Felipe Ferreira wrote:

> Hello all,
> What is the difference between checking a host is alive with a check  
> in
> the host template (check_command check-host-alive), witch I have  
> defined
> as a PING.
> And creating a ping service applied to the host ?

Host checks are necessary for determining status and reachability of  
network hosts (through parenting) as well as suppression of all  
SERVICE notifications on hosts that are down; a single HOST  
notification would go out instead.

--
Marc


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] checking host alive or service ping check

2009-05-06 Thread Jim Avery
2009/5/6 Felipe Ferreira :
> Hello all,
> What is the difference between checking a host is alive with a check in
> the host template (check_command check-host-alive), witch I have defined
> as a PING.
> And creating a ping service applied to the host ? I did a test with both
> configurations, and didn't see a different behavior.
> The only big advantage I have with the Ping is the graphics witch I
> really need, so I am wondering if I could disable host-alive check, and
> make it depend on the ping service check? BTW I use centreon.
>
> cheers,
> www.felipeferreira.net

Host checks (especially for routers, switches, and other network
nodes) are important in determining reachability.  See
http://nagios.sourceforge.net/docs/3_0/networkreachability.html

If you have no other active checks for that node, then I would
normally recommend configuring ping as both host and service check, as
it just makes it easier to see what's going on in the Nagios cgis.  If
you are already actively monitoring other services (for example FTP)
on the host, then personally I wouldn't bother having ping as a
service check too (I'd just use ping for the host check).

You might want to use different parameters for the host check ping,
for example if you want the host check to send more pings with a
longer timeout than the service checks to make absolutely sure the
host is really 'down'.  On the other hand, you might want to make your
host checks really simple and quick so that Nagios doesn't get bogged
down doing host checks if you have a major network outage affecting a
lot of hosts.

hth,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] checking host alive or service ping check

2009-05-06 Thread Felipe Ferreira
Hello all,
What is the difference between checking a host is alive with a check in 
the host template (check_command check-host-alive), witch I have defined 
as a PING.
And creating a ping service applied to the host ? I did a test with both 
configurations, and didn't see a different behavior.
The only big advantage I have with the Ping is the graphics witch I 
really need, so I am wondering if I could disable host-alive check, and 
make it depend on the ping service check? BTW I use centreon.

cheers,
www.felipeferreira.net



--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Nagios-users mailing list
Nagios-users@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