Ad Widget

Collapse

icmpping & icmppingsec not working...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sauron
    Senior Member
    • Jan 2005
    • 215

    #1

    icmpping & icmppingsec not working...

    Hello.

    I'm installed zabbix on gentoo linux (version 2004.3, kernel gentoo-dev 2.6.10-r4, php 4.3.10, apache 1.3.33 ). All working fine, exept icmp . In queue i'm found very intresting items....

    Next time to check | Host | Description
    01.01.1970 05:00:00 | my.host | ICMP response time | key icmpping
    01.01.1970 05:00:00 | my2.host | ICMP reply (server online) | key icmppingsec
    01.01.1970 05:00:00 | my3.host | ICMP response time
    01.01.1970 05:00:00 | my4.host | ICMP reply (server online)

    hm.... back to future ?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    It was discussed several times already

    Anyway:

    1. Install fping
    2. Make sure user zabbix can execute it. Set SUID flag if necessary
    3. Configure location of the fping in zabbix_suckerd.conf

    The time means that all these items have to be checked immediately provided you system time is not 1961 or something.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • sauron
      Senior Member
      • Jan 2005
      • 215

      #3
      1. Already installed
      2. Not set. I'm setting SUID.
      3. Default value fine

      Now working. Thanks.

      PS You added this in documentation ?

      Comment

      • eucoders

        #4
        hmmm...

        I can't make it.
        I installed fping, also configured zabbix_server.conf with the location of fping but still not working...

        I can't believe that this software is taking so much informations from a client side, but is not capable to do just a simple ping, without installing something else also.
        Last edited by Guest; 03-02-2005, 10:39.

        Comment

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

          #5
          Please, check if fping can be started by user zabbix. It requires +s flag set.
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • bennethos
            Member
            • Jan 2005
            • 31

            #6
            i had same problem and it was like Alexei said, the suid bit on fping...

            go into root


            root#su zabbix --shell=/bin/bash

            zabbix#/usr/sbin/fping

            and see what it gives

            good luck !

            Comment

            • carneeki
              Junior Member
              • Feb 2005
              • 2

              #7
              fping on freebsd

              I have a FreeBSD 4.9 system which is running Zabbix fine all except for the fping, which experiences (probably) the same date issue as what sauron experienced.

              Here are the steps I've taken to try to make it work:

              1. Installed fping.

              2. host# chmod +s /usr/local/sbin/fping

              3. host# pwd
              /usr/local/sbin

              4. host# ls -l fping
              -r-sr-sr-x 1 root wheel 21224 Feb 14 16:57 fping

              5. Edit /etc/zabbix/zabbix_suckerd.conf:
              FpingLocation=/usr/local/sbin/fping

              I then stopped and started all the Zabbix daemons, and this hadn't helped either, so I confirmed the SUID bit:

              6. host# su zabbix
              % /usr/local/sbin/fping cisco.com
              cisco.com is alive
              % exit
              host#

              I believe I have followed all the instructions correctly, but I would really appreciate it if someone could point out anything I might have done incorrectly, or any further places I could check.


              Thanks in advance,

              Adam

              Comment

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

                #8
                Is there anything interesting in zabbix_suckerd's LogFile?
                Alexei Vladishev
                Creator of Zabbix, Product manager
                New York | Tokyo | Riga
                My Twitter

                Comment

                • carneeki
                  Junior Member
                  • Feb 2005
                  • 2

                  #9
                  There's nothing interesting in the zabbix_suckerd logfile - the last entries were hours old that I believe were an incorrectly configured trigger which I have since removed:

                  055495:20050214:182840 Evaluation of expression [{11320}>150000] failed
                  055495:20050214:182840 Expression [{11320}>150000] cannot be evaluated.
                  055495:20050214:182840 Evaluation of expression [{11321}>150000] failed
                  055495:20050214:182840 Expression [{11321}>150000] cannot be evaluated.
                  055495:20050214:182840 Evaluation of expression [{11322}>150000] failed
                  055495:20050214:182840 Expression [{11322}>150000] cannot be evaluated.

                  Should I increase the log level output of either the agentd or suckerd daemons?

                  Comment

                  • SparHawk
                    Junior Member
                    • Oct 2004
                    • 19

                    #10
                    fping change case

                    Edit /etc/zabbix/zabbix_suckerd.conf:

                    ### default fping location:
                    FpingLocation=/usr/local/sbin/fping

                    ### change to this (worked for me)
                    fpingLocation=/usr/local/sbin/fping

                    ###changed the case of "F"

                    Comment

                    • skrill
                      Junior Member
                      • Mar 2005
                      • 1

                      #11
                      Something I knoticed

                      Hope this helps someone.

                      I had the same problem. Then for some reason I tried changing my host settings by checking the "Use IP address" checkbox and supplying the correct IP instead of just putting the hostname in as the host. All of a sudden it worked!

                      Comment

                      • eska
                        Junior Member
                        • Jul 2005
                        • 9

                        #12
                        did everything I read here but still no success. does anyone have another hint? I'm running zabbix on suse linux 9.3.

                        - fping is installed and executable by User zabbix
                        - changed the path for fping in zabbix_suckerd.conf

                        I would be very grateful to be pushed into the right direction Thank you!

                        Comment

                        • eska
                          Junior Member
                          • Jul 2005
                          • 9

                          #13
                          still no succes.

                          ls -l shows: -rwsrwxr-x 1 root root 22864 2005-03-19 20:16 fping

                          is there anything wrong about it?

                          User "zabbix" can execute fping

                          I'm getting frustrated. Everything works fine but simple icmpping does not. I'd really like to use Zabbix but without this simple check it's not worth setting it up.

                          Comment

                          • ash1011
                            Junior Member
                            • Sep 2013
                            • 2

                            #14
                            how to check linux server uptime and downtime in zabbix

                            Im new to zabbix and linux server but have knowledge on scripting and others please let me know the steps to follow or the link which guides me ?



                            Thanks in advance for the solution

                            Comment

                            Working...