Ad Widget

Collapse

Simple Check ICMPPING does not work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • razorgt
    Junior Member
    • Sep 2005
    • 21

    #1

    Simple Check ICMPPING does not work

    I just built a new test box to try out 1.1beta2 (currently I am running 1.0 on our production box). I cannot get icmpping to work on the new box, it just doesnt return a value. I have it set to simple check, it is identical to how i have the item set up on 1.0, the host is identical too. Did this syntax change or what am I doing wrong?

    Glenn
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,

    Right off the bat, I suspect that you either do not have fping installed, or that the Zabbix user does not have permission to execute it.
    Unofficial Zabbix Developer

    Comment

    • razorgt
      Junior Member
      • Sep 2005
      • 21

      #3
      I'm not sure, I can definitely perform a ping from the box under the zabbix user. I am running centOS 4.2.

      Glenn

      Comment

      • razorgt
        Junior Member
        • Sep 2005
        • 21

        #4
        I can ping my host using the ping function on the zabbix agent, just not through the simple check. Ideas?

        Glenn

        Comment

        • James Wells
          Senior Member
          • Jun 2005
          • 664

          #5
          Okay, look in the zabbix_server.conf file and find and look for the following entry;
          Code:
          FpingLocation=/usr/sbin/fping
          Make sure this entry is uncommented, then as a normal user try to run;
          Code:
          /usr/sbin/fping
          That will most likely throw an error. The error will give me a better idea what is wrong.
          Unofficial Zabbix Developer

          Comment

          • razorgt
            Junior Member
            • Sep 2005
            • 21

            #6
            It is not installed for some reason. Can't find the path and when I do a find I can't find it installed anywhere on the system. I need to install it, I will test it and repost my findings. Thanks.

            Glenn

            Comment

            • razorgt
              Junior Member
              • Sep 2005
              • 21

              #7
              Thanks, that worked. I installed fping and had to do a setuid root and change the permissions.

              Glenn

              Comment

              • Siegfried
                Junior Member
                • Jul 2005
                • 24

                #8
                Hi,

                I'll post to this thread since I'm having a similar problem, except I'm at the stage where fping is installed, configured and setuid is set, but it still does not work.

                Here's some info:

                Code:
                # ls -la /usr/sbin/fping
                -rwsr-x--x    1 root     adm         28313 Feb 15  2005 /usr/sbin/fping
                
                # sudo -u zabbix /usr/sbin/fping localhost
                localhost is alive
                So fping is working fine with the zabbix user. As for the path, it's also the right one in /etc/zabbix/zabbix_server.conf:

                Code:
                #Location of 'fping. Default is /usr/sbin/fping
                FpingLocation=/usr/sbin/fping
                However, when I run simple checks of ping, I still get the following errors in the zabbix_server logs:
                Code:
                017256:20051115:140300 Simple check [check_service[ping,xx.xx.xx.xx]] is not supported
                017256:20051115:140300 Parameter [ping] is not supported by agent on host [remote.agent.host]
                I'm running zabbix 1.1beta2 on Whitebox 3 (spinoff of RHEL 3).

                Any ideas at what could be the problem?
                Thanks

                Comment

                • elkor
                  Senior Member
                  • Jul 2005
                  • 299

                  #9
                  check your syntax.. the key for a simple check ping should simply be "icmpping"

                  Comment

                  • Siegfried
                    Junior Member
                    • Jul 2005
                    • 24

                    #10
                    Gah! Stupid me. Thanks for noticing this! Can't believe I could not notice this before!

                    Comment

                    Working...