Ad Widget

Collapse

icmpping case sample

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

    #1

    icmpping case sample

    Hi @,

    is any one out there could explain what is icmpping interval does in relation with item update interval.

    Situation:
    I have item name "ping check" which have interval update every 30 second. This item have "simple check" with key "icmpping[,3,30].

    Question:
    1. Does it will ping host 3 times? If yes, does it takes 90sec (in total) for this item check to be finish?
    2. if the 2nd ping return 0 ( while 1st and 3rd return 1), what is the final value of that item? 1 or 0?
    3. Should i set item interval update higher than icmpping interval?


    Thank you!
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    ICMP items have new parameters

    From documentation :
    Zabbix ICMP items now are much more flexible. Item icmpping has gained the following parameters:

    * target - host IP or DNS name;
    * count - number of packets;
    * interval - time between successive packets in milliseconds;
    * size - packet size in bytes;
    * timeout - timeout in milliseconds.
    So it will take 90 milliseconds

    Regards
    Alixen
    http://www.alixen.fr/zabbix.html

    Comment

    • bee
      Senior Member
      • Jun 2007
      • 133

      #3
      Hi Alixen,
      Thanks for your respond.
      Any comment on the question #2? it will return 0 or 1?

      Thanks,
      BEE

      Comment

      • alixen
        Senior Member
        • Apr 2006
        • 474

        #4
        Hi,

        Originally posted by bee
        Any comment on the question #2? it will return 0 or 1?
        Since the goal of sending several packets is to not declare an host down if only one packet is lost, I suppose that return value is 1 but I have not verified it myself yet.
        Maybe somebody else can confirm it ?

        Regards,
        Alixen
        http://www.alixen.fr/zabbix.html

        Comment

        • bee
          Senior Member
          • Jun 2007
          • 133

          #5
          icmpping interval question, need an exact answer

          Thank you alixen!

          Anyone, any other comment? Should it return 0 or 1? Anybody could confirming it?

          Thanks,
          BEE

          Comment

          • hexes
            Junior Member
            • Feb 2011
            • 10

            #6
            icmp ping doesn't work at all.
            1st - tcpdupm doesn't show packets
            2nd - i make bash script that logging all incomming params into text file, input it in zabbix server conf file instead of fping, and this file is empty, and i think that zabbix doesn't trying to run fping at all

            i have try everything
            icmpping[10.1.1.181,5,5,50,1000]
            icmpping[10.1.1.181,1, , , ]
            icmpping[ , , , , ]

            What i do wrong? In zabbix server log there is nothing wrong...


            9084:20110226:141039.174 Parameter [23438][3com3226:icmpping[ , , , , ]] became supported
            after this i get in my log file:

            cat ./fping
            -q -C3 -S10.1.1.1
            -q -C3 -S10.1.1.1
            -q -C3 -S10.1.1.1
            -q -C3 -S10.1.1.1
            -q -C3 -S10.1.1.1
            -q -C3 -S10.1.1.1
            This is income params for fping BUT!
            # /usr/sbin/fping -q -C3 -S10.1.1.1
            /usr/sbin/fping: invalid option -- 'S'
            Last edited by hexes; 26-02-2011, 10:16. Reason: new info

            Comment

            • alexgari
              Junior Member
              • Feb 2011
              • 1

              #7
              Still no response to question no. 2

              Could someone answer question no. 2? We get false alerts from hosts connected to congested switches and the answer could help us reducing the number of false alerts.

              Comment

              • zymbioziz
                Junior Member
                • Apr 2011
                • 1

                #8
                Originally posted by alexgari
                Could someone answer question no. 2? We get false alerts from hosts connected to congested switches and the answer could help us reducing the number of false alerts.
                In case of checking availability with icmpping[,5,2000,512,10000].
                At least one ping (request) should be successful to mark entire event successful.

                Zabbix 1.8.3

                Comment

                Working...