Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7054

Fping issue on CentOS/yum installation

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Critical Critical
    • None
    • 2.0.8rc1
    • Server (S)
    • CentOS 6.4 - Linux ZabbixUB 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

      Zabbix Server can reach the hosts with icmpping when the installation is made with rpm packages

      1. rpm -qa | grep zabbix
        zabbix-server-mysql-2.0.8-1.el6.x86_64
        zabbix-web-mysql-2.0.8-1.el6.noarch
        zabbix-agent-2.0.8-1.el6.x86_64
        zabbix-2.0.8-1.el6.x86_64
        zabbix-server-2.0.8-1.el6.x86_64
        zabbix-web-2.0.8-1.el6.noarch
        zabbix-get-2.0.8-1.el6.x86_64
        zabbix-release-2.0-1.el6.noarch

      but it fails when yum packages (frontend gets always 0):

      1. yum list installed | grep zabbix
        iksemel.x86_64 1.4-2.el6 @zabbix-non-supported
        libssh2.x86_64 1.4.2-2.el6 @zabbix-non-supported
        zabbix20.x86_64 2.0.8-1.el6 @epel
        zabbix20-agent.x86_64 2.0.8-1.el6 @epel
        zabbix20-server.x86_64
        zabbix20-server-mysql.x86_64
        zabbix20-web.noarch 2.0.8-1.el6 @epel
        zabbix20-web-mysql.noarch
      1. yum list installed | grep fping
        fping.x86_64 2.4b2-10.el6 @epel

      Fping works as expected:

      1. su - zabbix
        -bash-4.1$ id
        uid=498(zabbix) gid=498(zabbix) Gruppen=498(zabbix) Kontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
        -bash-4.1$ fping -q -C3 134.34.200.1
        134.34.200.1 : 0.72 0.72 0.65

      There is no error in debug logs:

      26617:20130926:140956.699 /var/run/zabbix/zabbix_server_26617.pinger
      26507:20130926:140956.699 sleeping for 1 seconds
      26476:20130926:140956.699 get value from agent result: '12.125902'
      26617:20130926:140956.699 134.34.200.2
      26478:20130926:140956.699 End of DCconfig_get_poller_nextcheck():1380197397
      26476:20130926:140956.699 End of get_value():SUCCEED
      26617:20130926:140956.699 /usr/sbin/fping -q -C3 2>&1 </var/run/zabbix/zabbix_server_26617.pinger;/usr/sbin/fping6 -q -C3 2>&1 </var/run/zabbix/zabbix_server_26617.pinger;
      26476:20130926:140956.699 In activate_host() hostid:10129 itemid:40796 type:0
      26478:20130926:140956.699 sleeping for 1 seconds
      26505:20130926:140956.699 End of DCconfig_get_poller_nextcheck():1380197397
      26470:20130926:140956.699 In get_values()
      26474:20130926:140956.699 End of DCconfig_get_poller_nextcheck():1380197397
      26505:20130926:140956.699 sleeping for 1 seconds
      26470:20130926:140956.699 In DCconfig_get_poller_items() poller_type:0
      26474:20130926:140956.699 sleeping for 1 seconds
      26509:20130926:140956.699 End of DCconfig_get_poller_nextcheck():1380197397
      26615:20130926:140956.699 End of DCconfig_get_poller_nextcheck():1380197422
      26509:20130926:140956.699 sleeping for 1 seconds
      26615:20130926:140956.699 sleeping for 5 seconds
      26616:20130926:140956.699 End of DCconfig_get_poller_nextcheck():1380197422

      but the file zabbix_server_26617.pinger doesn't exist:

      1. ls -l /usr/sbin/fping -q -C3 2>&1 </var/run/zabbix/zabbix_server_26617.pinger
        -bash: /var/run/zabbix/zabbix_server_26617.pinger: Datei oder Verzeichnis nicht gefunden

      In the rpm installation the files were created. If the *pinger files would be created in yum installation, the issue would be resolved.

            Unassigned Unassigned
            s0r1n Sorin Gheorghiu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: