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

Agent - proc.num with cmdline filter calculation is incorrect

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.0.15, 4.0.0alpha3
    • Agent (G)
    • None
    • Centos 6 and Ubuntu 16.04 and HP-UX
      Zabbix agent 4.0.0alpha3 and 3.0.15

      Hello!

      Agent item key proc.num with cmdline filtering adds additional number if the searched process is running.

      Tests on Ubuntu 16.04 with Agent 4.0.0alpha3

      $ zabbix_agentd -t proc.num[apache2]
      proc.num[apache2]                             [u|6]
      $ zabbix_agentd -t proc.num[,,,apache2]
      proc.num[,,,apache2]                          [u|7]
      $ ps uax | grep apache2 | egrep -v "color=auto" | wc -l
      6

      This has been reproduced in Centos 6, Ubuntu 16 and on HP-UX OS.

      Regards,
      Oleg

            Unassigned Unassigned
            olegs.vasiljevs Olegs Vasiljevs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: