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

zabbix_agentd - HOME environment variable not set.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 2.4.6
    • Agent (G)
    • None
    • Server - Ubuntu Trusty
      Clients - CentOS6

      Zabbix gets an error when trying get info from Ceph servers:
      11955:20150910:115024.706 error reason for "exo-osd-1:ceph.ops" changed: Received value [libust[2316737/2316737]: Warning: HOME environment variable not set. Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:305)] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]

      When I try get same info through script on client, it works:
      exo-osd-1 !]$ /opt/ceph-status.sh rados_total
      614431632

      But zabbix_get shows same error:
      exo-http-1:~$ zabbix_get -k ceph.rados_total -s exo-osd-1
      libust[2380555/2380555]: Warning: HOME environment variable not set. Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:305)
      libust[2380701/2380701]: Warning: HOME environment variable not set. Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:305)
      614431632

      I edit ceph-status.sh and redirected all errors to /dev/null. Then Zabbix shows info from Ceph. But it's dirty workaround.

      I found some results about this issue:
      https://lists.lttng.org/pipermail/lttng-dev/2015-March/024325.html
      https://lists.lttng.org/pipermail/lttng-dev/2013-June/020599.html

      As I understand, issue is up on Zabbix.

            Unassigned Unassigned
            zs14 Maxim Vorontsov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: