Xymon Mailing List Archive search

Conn Alert after one missed packet

3 messages in this thread

list Mario Valetti · Thu, 20 Oct 2011 10:54:35 +0100 ·
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 · Fri, 21 Oct 2011 11:48:09 +1100 ·
quoted from Mario Valetti
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 · Sun, 23 Oct 2011 07:49:52 +0100 ·
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,
quoted from Jeremy Laidman

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").