-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
5.0.3
-
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]' 5
Expected:
With this patch, processes are appropriately filtered by state
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]' 5