Howto monitor intermittent clients
Thomas Guyot-Sionnest
dermoth at aei.ca
Fri Jan 25 03:45:13 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 24/01/08 02:04 PM, Lars Stavholm wrote:
> Thomas Guyot-Sionnest wrote:
>> If you need to monitor many hosts, you will likely be more comfortable
>> with Nagios 3 as it can schedule host checks instead of running them in
>> serial, which can be a problem if many hosts are down.
>
> I'm on latest 3.x with just a few hosts.
>
>> Ideally use check_icmp instead of check_ping and fine-tune the
>> parameters so that it returns within one second on dead hosts. This will
>> make the host check be performed much faster. This is most useful in
>> Nagios 2 due to the limitation mentioned above.
>
> I wouldn't know how to tweak it, but I'm trying "check_icmp -n 1"
> at the moment, and it seems to take about 1.08 to 1.15 seconds.
> Good enough maybe? Or can you give any further advice on tweaking
> check_icmp?
The important things are the critical thresholds and timeout value. The
timeout you specify is the maximum time the plugin will take before
returning, but it may take more if the number of packet * critical
threshold is higher. Try on an unresponsive IP that doesn't return back
ICMP errors (will depend on your network; you can try IPs like
10.10.10.10, 1.2.3.4, or an unused IP on your *local* network not going
trough the default gateway).
That's not a big deal since you're using Nagios 3, but if it ever find
you're having too many concurrent processes or too running host on
system time, reducing the timeout will certainly help.
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHmU056dZ+Kt5BchYRArS/AJ9r134P1BggxmF1VPaKNLkkvYYgtgCfftCq
9q2hFw/njEs3275yBwnHWdQ=
=l2lC
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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