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

Using zabbix_sender on a proc.num key with command filter fails

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 2.0.2
    • Server (S)
    • None
    • Ubuntu 12.04 LTS
      Zabbix 2.0.2 installed from source

      I have an template with active item with key

      proc.num[sshd,root,,"/usr/sbin/sshd -D"]

      and a trigger

      {template:proc.num[sshd,root,,"/usr/sbin/sshd -D"].last(0)}

      <1

      The template is applied to a host and both the item and the trigger work as expected. But I wanted to do some testing using the zabbix_sender command like:

      zabbix_sender -c zabbix_agentd.conf -k proc.num[sshd,root,,"/usr/sbin/sshd -D"] -o 0

      but it always says failed:

      info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.000161"

      If I change the key on the item and on the trigger to

      proc.num[sshd]

      then it works as expected and the trigger gets fired on the server.

            Unassigned Unassigned
            hsanson Horacio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: