Conn Alert after one missed packet
Hello list,
Is it possible to be alerted when one single packet is lost i.e. conn request does not receive a reply for the first packet?
I know the default fping sends out 3 packets when if the conn request does not receive a reply after a set period. Looking at the fping man page, I've changed the fping syntax to "fping -A -e -r1", but this will still send one additional ping packet before an alert is raised.
Alternatively I could look at creating a custom script, but obviously it's easier if this facility is already built-in somehow.
Thanks, Mario
On Thu, Oct 20, 2011 at 8:54 PM, Mario Valetti <mariov652 at gmail.com> wrote:
I know the default fping sends out 3 packets when if the conn request does not receive a reply after a set period. Looking at the fping man page, I've changed the fping syntax to "fping -A -e -r1", but this will still send one additional ping packet before an alert is raised.
So "-r0" doesn't work?
Perhaps use xymonping instead (define FPING="xymonping --retries=0").
Hi,
No, I tried that, and "-r0" isn't supported.
I would prefer to stay with fping for the moment, and I'll take a closer look at the source. I'll try xymonping if I still don't get anywhere.
Thanks,
On 21/10/2011, Jeremy Laidman <jlaidman at rebel-it.com.au> wrote:
On Thu, Oct 20, 2011 at 8:54 PM, Mario Valetti <mariov652 at gmail.com> wrote:
I know the default fping sends out 3 packets when if the conn request does not receive a reply after a set period. Looking at the fping man page, I've changed the fping syntax to "fping -A -e -r1", but this will still send one additional ping packet before an alert is raised.
So "-r0" doesn't work?
Perhaps use xymonping instead (define FPING="xymonping --retries=0").
participants (2)
-
jlaidman@rebel-it.com.au
-
mariov652@gmail.com