Conn Alert after one missed packet
list Mario Valetti
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
list Jeremy Laidman
▸
On Thu, Oct 20, 2011 at 8:54 PM, Mario Valetti <user-07d8eb56dcf0@xymon.invalid> 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").
list Mario Valetti
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 <user-71895fb2e44c@xymon.invalid> wrote:On Thu, Oct 20, 2011 at 8:54 PM, Mario Valetti <user-07d8eb56dcf0@xymon.invalid> 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").