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

net.if.discovery didn't works on CentOS 6

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 2.2.2
    • Agent (G)
    • CentOS 6.5

      Zabbix Agent didn't detect interface and put in debug mode, I could see

       13648:20140402:134012.745 collector [idle 1 sec]
       13651:20140402:134012.983 listener #3 [processing request]
       13651:20140402:134012.983 Requested [system.cpu.util[,interrupt]]
       13651:20140402:134012.984 Sending back [0.000000]
       13651:20140402:134012.984 listener #3 [waiting for connection]
       13649:20140402:134013.005 listener #1 [processing request]
       13649:20140402:134013.005 Requested [net.if.discovery]
       13649:20140402:134013.005 Sending back [{
      	"data":[]}]
       13649:20140402:134013.005 listener #1 [waiting for connection]
       13650:20140402:134013.010 listener #2 [processing request]
       13650:20140402:134013.010 Requested [vfs.fs.size[/,pfree]]
       13650:20140402:134013.010 Sending back [85.784843]
       13650:20140402:134013.010 listener #2 [waiting for connection]
       13651:20140402:134013.437 listener #3 [processing request]
       13651:20140402:134013.437 Requested [system.cpu.util[,iowait]]
       13651:20140402:134013.437 Sending back [0.000000]
       13651:20140402:134013.438 listener #3 [waiting for connection]
       13650:20140402:134013.439 listener #2 [processing request]
       13650:20140402:134013.439 Requested [vfs.fs.size[/boot,pfree]]
       13650:20140402:134013.439 Sending back [73.779144]
       13650:20140402:134013.439 listener #2 [waiting for connection]
      

      I'm using Zabbix Agent 2.2.2 from packages found here in http://repo.zabbix.com/zabbix/2.2/rhel/6/

      Zabbix run using zabbix user account :

      zabbix   13646  0.0  0.0  74808  1340 ?        S    13:40   0:00 /usr/sbin/zabbix_agentd
      zabbix   13648  0.0  0.0  74808  1356 ?        S    13:40   0:00 /usr/sbin/zabbix_agentd: collector [idle 1 sec]
      zabbix   13649  0.0  0.0  74824  1536 ?        S    13:40   0:00 /usr/sbin/zabbix_agentd: listener #1 [waiting for connection]
      zabbix   13650  0.0  0.0  74824  1548 ?        S    13:40   0:00 /usr/sbin/zabbix_agentd: listener #2 [waiting for connection]
      zabbix   13651  0.0  0.0  74824  1548 ?        S    13:40   0:00 /usr/sbin/zabbix_agentd: listener #3 [waiting for connection]
      

      zabbix-agent locally found informations :

      sudo -u zabbix -H zabbix_agent -t "net.if.discovery"
      net.if.discovery                              [s|{
      	"data":[
      		{
      			"{#IFNAME}":"lo"},
      		{
      			"{#IFNAME}":"eth0"}]}]
      
      ...
      
      sudo -u zabbix -H zabbix_agent -t "net.if.in[eth0,bytes]"
      net.if.in[eth0,bytes]                         [u|165056082720]
      

      But not remotly :

      zabbix-get -s slave1.mycorp.com -k net.if.in[eth0,bytes]
      ZBX_NOTSUPPORTED
      
      zabbix-get -s slave1.mycorp.com -k net.if.discovery
      {
      	"data":[]}
      

      I don't have problems with Agent running under openSUSE 12.2/12.3/13.1 or CentOS 5.10

            Unassigned Unassigned
            hgomez Gomez Henri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: