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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 22 October 2007 11:40
To: [email protected]
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 < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > 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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 22 October 2007 11:29
To: [email protected]
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 - [EMAIL PROTECTED]
--
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-------------------------------------------------------------------------
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
[email protected]
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