Dear Teodor,
`zabbix_get` query zabbix-agent directly so if there is a problem it
is not in zabbix-server but in zabbix-agent.
`pgrep` is searching for substring in process name. For example if I
have `konsole` running the `pgrep konso` will return PID even though
there is no process "konso" running.
"proc.num" is checking for exact process name so it will return
0 for `zabbix_get -s localhost -k 'proc.num[konso]'`
and
1 for `zabbix_get -s localhost -k 'proc.num[konsole]'`
.
You might need to update your item(s) to check for exact process name.
Please confirm if this information helped so I could close this bug.
Thanks.
Cheers,
Dmitry Smirnov
GPG key : 4096R/53968D1B
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]