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

Low-level discovery does not work correctly

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • None
    • 2.0.1
    • Server (S)
    • CentOS 5.7 x86_64 (both server and agent)

      Low-level discovery items are not reported correctly.
      The agent sends back all interfaces:

       15937:20120703:132737.008 Requested [net.if.discovery]
       15937:20120703:132737.008 Sending back [{
              "data":[
                      {
                              "{#IFNAME}":"lo"},
                      {
                              "{#IFNAME}":"eth0"},
                      {
                              "{#IFNAME}":"sit0"}]}]
      

      In the Zabbix frontend I only can see the items for sit0.

      If I use zabbix_get, it works fine as well:

      # zabbix_get -s kleertjes-acc-web1.i.unic24.net -k net.if.discovery
      {
              "data":[
                      {
                              "{#IFNAME}":"lo"},
                      {
                              "{#IFNAME}":"eth0"},
                      {
                              "{#IFNAME}":"sit0"}]}
      

      Further I have the same issue, that there aren't items created for all reported filesystems.
      zabbix_get reports:

      # zabbix_get -s kleertjes-acc-web1.i.unic24.net -k vfs.fs.discovery
      {
              "data":[
                      {
                              "{#FSNAME}":"\/",
                              "{#FSTYPE}":"rootfs"},
                      {
                              "{#FSNAME}":"\/",
                              "{#FSTYPE}":"ext3"},
                      {
                              "{#FSNAME}":"\/dev",
                              "{#FSTYPE}":"tmpfs"},
                      {
                              "{#FSNAME}":"\/proc",
                              "{#FSTYPE}":"proc"},
                      {
                              "{#FSNAME}":"\/sys",
                              "{#FSTYPE}":"sysfs"},
                      {
                              "{#FSNAME}":"\/proc\/bus\/usb",
                              "{#FSTYPE}":"usbfs"},
                      {
                              "{#FSNAME}":"\/dev\/pts",
                              "{#FSTYPE}":"devpts"},
                      {
                              "{#FSNAME}":"\/opt",
                              "{#FSTYPE}":"ext3"},
                      {
                              "{#FSNAME}":"\/var",
                              "{#FSTYPE}":"ext3"},
                      {
                              "{#FSNAME}":"\/boot",
                              "{#FSTYPE}":"ext3"},
                      {
                              "{#FSNAME}":"\/dev\/shm",
                              "{#FSTYPE}":"tmpfs"},
                      {
                              "{#FSNAME}":"\/proc\/sys\/fs\/binfmt_misc",
                              "{#FSTYPE}":"binfmt_misc"},
                      {
                              "{#FSNAME}":"\/var\/lib\/nfs\/rpc_pipefs",
                              "{#FSTYPE}":"rpc_pipefs"},
                      {
                              "{#FSNAME}":"\/mnt\/shared",
                              "{#FSTYPE}":"nfs"}]}
      

            Unassigned Unassigned
            simcen Simon Balz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: