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

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: