Monitor packet loss with check_ping command

Aidan Anderson mail at aidananderson.co.uk
Mon Oct 22 11:46:43 CEST 2007


Alex Dehaini wrote:
> But in this case - if there is a 20% packet loss out of 10 pings sent 
> to a host - will I be notified?
>
That all depends on what you set your max_check_attempts to.  If you 
want to be notified of any packet loss, set this to 1 (one).  Increase 
this value if you prefer more tolerance.






> 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>
>     [mailto: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
>     <mailto: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 <http://www.alexdehaini.com>
>     Email - alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>
>
>
>
>
> -- 
> Alex Dehaini
> Developer
> Site - www.alexdehaini.com <http://www.alexdehaini.com>
> Email - alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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: 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





More information about the Users mailing list