UserParameter keys does not work with Calculated item type

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: 2.2.1
    • Component/s: Server (S)
    • None
    • Environment:
      RHEL 6.5

      I have simple agent-side user defined item in zabbix_agentd.conf:

      [root@becks ~]# cat /etc/zabbix/zabbix_agentd.conf | grep test
      UserParameter=test.ping,echo 2
      

      When I use test.ping as key for Zabbix item type, it would work without any issue. However, when used as a parameter for Calculated item type, it would fail miserably:

      14089:20140121:163923.133 item [becks:testNG] became not supported: Cannot evaluate function [last()]: item [becks:test.ping] not found
      

      In addition to this, zabbix_agent at client side can not see that UserParameter at all:

      [root@becks ~]# zabbix_agent -t system.users.num
      system.users.num                              [u|1]
      [root@becks ~]# zabbix_agent -t test.ping
      test.ping                                     [m|ZBX_NOTSUPPORTED]
      

      Could this be a something to do with ZBX-507?

      Attached the Calculated item config screenshots.

        1. ItemNG.png
          137 kB
          Samir Ibradžić
        2. itemOK.png
          137 kB
          Samir Ibradžić

            Assignee:
            Unassigned
            Reporter:
            Samir Ibradžić
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: