Ad Widget

Collapse

Another fping problem...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cgroothius
    Member
    • Sep 2008
    • 37

    #16
    Son of a gun.

    Comment

    • cgroothius
      Member
      • Sep 2008
      • 37

      #17
      Thanks Rich...

      Cant believe I didnt even try that...anyway it is now registering values on the graph. I did put "ms" as my units but I'm getting .09 as opposed to the 90ms that I would really like...

      I tried removing ms as my units...no change.

      Thanks for hanging in there!!

      Colin.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #18
        well, try setting custom multiplier to 1000.
        i'm not sure it's the best solution, but it works
        Zabbix 3.0 Network Monitoring book

        Comment

        • cgroothius
          Member
          • Sep 2008
          • 37

          #19
          it sure does...

          Many thanks
          Colin.

          Comment

          • chinasunysh
            Junior Member
            • Mar 2009
            • 2

            #20
            delete "-S" in icmpping.c and make;

            Comment

            • Kerrygeek
              Senior Member
              • Dec 2008
              • 115

              #21
              It looks like there may be something to that. It's trying to use -S instead of -s for fping:
              8275:20090326:140032 /usr/sbin/fping -S -c3 2>/dev/null </tmp/zabbix_server_8275.pinger

              I'm not sure I know the exact syntax to replace the -S in the file but I've made a backup of the original so I'll tinker with it. My only problem is that my 1.6.1 server has the same thing in the .c file and it's working fine.

              Here goes nothing!
              Kerry

              Comment

              • Kerrygeek
                Senior Member
                • Dec 2008
                • 115

                #22
                Ok, I know it's poor form to reply to yourself, but maybe this will help you other guys. Stop the server, replace the -S with a -s, save the file, do a make install, then restart the server. When you do make install it will tell you "nothing to do" in most places, it will just have one small change to make.

                That seems to do the trick, icmpping is now working fine. Icmppingsec doesn't seem to be working yet but I'm not using it right now so I'll tinker with that later.

                Thanks for the tip on editing the .c file and running make again.

                Kerry

                Comment

                • richlv
                  Senior Member
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Oct 2005
                  • 3112

                  #23
                  um, -S is using a patched fping feature - it sets source ip address. you could also remove source ip config parameter from server config file.
                  Zabbix 3.0 Network Monitoring book

                  Comment

                  • Kerrygeek
                    Senior Member
                    • Dec 2008
                    • 115

                    #24
                    Ok, I'll look for that, that may be what was keeping the ping time from working right. I got fping from their site, I'll see if I can find a patch or different version of fping.

                    Comment

                    • NOB
                      Senior Member
                      Zabbix Certified Specialist
                      • Mar 2007
                      • 469

                      #25
                      Originally posted by Kerrygeek
                      Ok, I'll look for that, that may be what was keeping the ping time from working right. I got fping from their site, I'll see if I can find a patch or different version of fping.
                      Hi

                      I unpackaged the source RPM fping-2.4-1.b2.rf.src.rpm,
                      added the fping "-S" patch to the fping source
                      and repackaged it for i386 and amd64 archs but didn't test
                      it, yet.

                      I'm not sure where to put the RPMs, though.
                      My Website is still under construction.
                      If there is interest, please tell me.

                      Regards

                      Norbert.
                      Last edited by NOB; 03-04-2009, 12:59. Reason: Specified the source RPM

                      Comment

                      Working...