Ad Widget

Collapse

Help needed, still didn't understand with new paramater of ICMPPING

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bee
    Senior Member
    • Jun 2007
    • 133

    #1

    Help needed, still didn't understand with new paramater of ICMPPING

    It's get frustrating with ICMPPING simple check. I've create an ICMPPING simple check. It's return ping successful (return 1) with following parameter: icmpping[,3] (picture-1) (3 times ping).

    But it return ping fail (return 0) with following parameter: icmpping[,3,10] (picture-2) (3 times ping with 10msec interval)

    and it's become not supported with following parameter: icmpping[,3,10,8] (picture-3) (3 times ping with 10msec interval and 8 bytes size of packet)

    Did i misconfigured? What's wrong with all those parameter? I believe i did as what doc says.

    Note:
    * host is {always} alive during test.
    * Zabbix Server (daemon) v1.8 (revision 9484) (7 December 2009)
    Compilation time: Jan 21 2010 23:51:42
    * FreeBSD 7.2-STABLE
    * /usr/local/sbin/fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42

    Any comment much appreciate.

    Thanks,
    BEE
    Attached Files
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    Hi,

    Originally posted by bee
    But it return ping fail (return 0) with following parameter: icmpping[,3,10] (picture-2) (3 times ping with 10msec interval)
    Not sure, maybe 10 ms is too short if your device is not on same network.

    Originally posted by bee
    and it's become not supported with following parameter: icmpping[,3,10,8] (picture-3) (3 times ping with 10msec interval and 8 bytes size of packet)
    From fping man page:
    -bn Number of bytes of ping data to send. The minimum size (normally 12) allows room for the data that fping needs to do its work (sequence number, timestamp). The reported received data size includes
    the IP header (normally 20 bytes) and ICMP header (8 bytes), so the minimum total size is 40 bytes. Default is 56, as in ping. Maximum is the theoretical maximum IP datagram size (64K), though
    most systems limit this to a smaller, system-dependent number.
    So I guess 8 is too small.

    This what I get from command line:
    Code:
    # fping -s localhost -b 8           
    fping: data size 8 not valid, must be between 12 and 65508
    Hope this helps
    Regards
    http://www.alixen.fr/zabbix.html

    Comment

    • bee
      Senior Member
      • Jun 2007
      • 133

      #3
      Hi Alixen,
      You solved my problem!!

      Originally posted by alixen
      Hi,



      Not sure, maybe 10 ms is too short if your device is not on same network.



      From fping man page:


      So I guess 8 is too small.

      This what I get from command line:
      Code:
      # fping -s localhost -b 8           
      fping: data size 8 not valid, must be between 12 and 65508
      Hope this helps
      Regards
      The minimum interval each ping should 25msec (fping man)

      Suggestion to ZABBIX team, please add minimum value of interval ping and packet size in the manual.

      Thanks a lot!

      BEE

      Comment

      Working...