Ad Widget

Collapse

icmppingsec not working?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tighep
    Senior Member
    • Dec 2007
    • 124

    #1

    icmppingsec not working?

    I cannot seem to get any data from icmppingsec. I can run the icmpping and see the box is up, but I get no data when trying to get the time. I can fping manually.
  • bennethos
    Member
    • Jan 2005
    • 31

    #2
    Same problem here ... it always gives 0 .
    icmpping works though...

    suid bit set on fping, user zabbix can run the commands, fping is set in $PATH of zabbix user (else icmpping wouldnt work of course )

    If I run fping under user zabbix "with the reply time option", it works fine though...

    any idea's someone ?

    Comment

    • bennethos
      Member
      • Jan 2005
      • 31

      #3
      found it mate !

      For type of information, Use float instead of integer

      it works ;-) I also set a multiplier of 1000

      Comment

      • tighep
        Senior Member
        • Dec 2007
        • 124

        #4
        Unfortunately it still does not work for me. I am using the float numeric type, and I also use 1000 as my multiplier. This box is running RedHat 5, and fping version "Version 2.4b2_to_ipv6 $Date: 2002/01/16 00:33:42 "

        Comment

        • vrtareg
          Senior Member
          • May 2006
          • 293

          #5
          Hi

          I noticed that icmpping stops to work when i upgrade zabbix from 1.4.2 to 1.4.4.
          Even after upgrade from 1.4.4 to 1.4.5 situation does not change.

          I try to create fake host "aaaaabbbbbb" or "blablabla" and zabbix always reports that this hosts are available, even when fping is runnable from zabbix user and reports that these hosts are unreachable or not resolvable.

          I am going to compare source codes for pinger.c, may be this will help to find problem.

          Regards
          Areg

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            Originally posted by vrtareg
            I noticed that icmpping stops to work when i upgrade zabbix from 1.4.2 to 1.4.4.
            Even after upgrade from 1.4.4 to 1.4.5 situation does not change.
            I am pretty sure you are wrong and you have data coming from all the icmpping related checks
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • vrtareg
              Senior Member
              • May 2006
              • 293

              #7
              Hi Alexei

              I double check my Zabbix config and noticed next situation.

              Items icmpping and icmppingsec work correctly.
              Host availability for hosts with only these items now changed to Unknown.
              When i add non existent host with this items i get next values:

              icmpping = 0
              icmpingsec = 0

              Does this correct ?
              I think that if icmpping = 0 i cant get values for icmppingsec because in this case value of icmppingsec must be infinitely or this item must not receive data.
              In this case trigger with key check ".nodata" will start work.

              Do i right or no?

              What about availability for Hosts with only simple icmp checks?

              Areg

              Comment

              • Alexei
                Founder, CEO
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Sep 2004
                • 5654

                #8
                Originally posted by vrtareg
                I think that if icmpping = 0 i cant get values for icmppingsec because in this case value of icmppingsec must be infinitely or this item must not receive data.
                Please read ZABBIX Manual, definition of icmppingsec. I see no point for discussion, this all is described in the manual and it works exactly as described (both icmpping* and nodata).
                Alexei Vladishev
                Creator of Zabbix, Product manager
                New York | Tokyo | Riga
                My Twitter

                Comment

                Working...