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

Solaris proc.num[] state filtering does not work

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.0.3
    • Agent (G)
    • None
    • OmniOS r151034 (illumos distribution), zabbix compiled from source

      Steps to reproduce:

      Use zabbix_get to retrieve proc.num with run, sleep or zomb in the third argument.

      Result:

      The total number of processes is always returned and not filtered by the state.

      reaper% zabbix_get -s localhost -k 'proc.num[,af,,sshd]'
      5
      reaper% zabbix_get -s localhost -k 'proc.num[,af,run,sshd]'
      5
      reaper% zabbix_get -s localhost -k 'proc.num[,af,sleep,sshd]'

       

      Expected:

      With this patch, processes are appropriately filtered by state

      procstate.patch.txt

       

      reaper% zabbix_get -s localhost -k 'proc.num[,af,,sshd]'
      5
      reaper% zabbix_get -s localhost -k 'proc.num[,af,run,sshd]'
      0
      reaper% zabbix_get -s localhost -k 'proc.num[,af,sleep,sshd]'

       

            zabbix.dev Zabbix Development Team
            omnios Andy Fiddaman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: