Ad Widget

Collapse

icmppingsec and fping with problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chuckfabbri
    Junior Member
    • Aug 2012
    • 3

    #1

    icmppingsec and fping with problem

    Hi,

    I recently upgraded my Zabbix server from 1.8.10 to 2.0.2 release.
    Everything worked fine including apllying the mysql patch.

    I installed fping from the Ubuntu repository and changed the FPingLocation as recommended ( from /usr/sbin/fping to /usr/bin/fping...)

    I applyed the chown and chmod 4710 commands to the fping binary but it not work.

    I updated the zabbix_server.conf file to the new location of fping...

    the server log keeps telling:

    fping failed: "/bin/sh: Can't open /usr/sbin/fping"

    It seems that although I informed zabbix of the correct fping location it doesn't accepts this update...?

    Any ideas for help?

    Thanks,
  • cslaughter
    Junior Member
    • Aug 2012
    • 7

    #2
    I had a similar issue, I had to stop the zabbix-server process and restart it to get the changes to take.

    Comment

    • chuckfabbri
      Junior Member
      • Aug 2012
      • 3

      #3
      Help

      Dear cslaughter,

      Thansk for the tip.

      I already had stoppped and started the server and it didn't work.

      What I did was to remove the fping program installed from the repository, download one newer version, fping 3.4 and install it.

      Then I mv the binary to /usr/sbin/ and chown and chmoded correctly.

      I restarted the server and finally it worked perfectly.

      Once gain thanks.

      Comment

      • Zev
        Junior Member
        • Aug 2012
        • 13

        #4
        Hi.

        I had the same promlem. So I made for myself an instruction.

        check fping path in /etc/zabbix/zabbix_server.conf
        chown root:zabbix /usr/sbin/fping
        chmod ug+s /usr/sbin/fping
        set data type float (in items)
        set multiplier to 1000 (in items)

        After this all works on my server.
        Hope it helps.

        Comment

        Working...