Monitor packet loss with check_ping command

Giles Coochey gcoochey at sapphire.gi
Mon Oct 22 11:45:11 CEST 2007


With that command, you will receive a warning at 20% PL and a critical
at 50% PL.

 

By the way, substitute $HOSTNAME$ with $HOSTADDRESS$, my typo.

 

PS I only top-post here, because Outlook cannot seem to properly
bottom-post with HTML emails, which the original sender used. Apologies,
I will bottom post if the original thread is plain text - blame
Microsoft on that one.

 

________________________________

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Alex
Dehaini
Sent: 22 October 2007 11:40
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Monitor packet loss with check_ping command

 

But in this case - if there is a 20% packet loss out of 10 pings sent to
a host - will I be notified?

On 10/22/07, Giles Coochey < gcoochey at sapphire.gi
<mailto:gcoochey at sapphire.gi> > wrote:

check_ping uses the ping command.

 

Packet Loss is considered a reply not within the timeout, this can
typically be around 3000ms

 

So something like:

 

./check_ping -H $HOSTNAME$ -w 3000,20% -c 3000,50%

 

Will do what you want.

 

________________________________

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Alex
Dehaini
Sent: 22 October 2007 11:29
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Monitor packet loss with check_ping command

 

Hi Guys,

Can someone give me an example on how I can monitor only packet loss but
not latency

-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com 
Email - alexdehaini at gmail.com 




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - alexdehaini at gmail.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071022/5f41bc31/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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