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