Hi!
I'm not sure what I miss, so please help me to understand why proc.num[,USER] always returns '0'.
Note
I'm not sure what I miss, so please help me to understand why proc.num[,USER] always returns '0'.
Note
- running on Linux
- proc.num[PROC] returns data fine
- Example below is with user and processes from nginx, user www-data, but I have the same issue with (all) others too
Code:
$ ps -f -u nginx UID PID PPID C STIME TTY TIME CMD www-data 2731 2730 0 2022 ? 00:00:00 nginx: worker process www-data 2732 2730 0 2022 ? 00:45:26 nginx: worker process www-data 2733 2730 0 2022 ? 00:44:52 nginx: worker process www-data 2734 2730 0 2022 ? 00:45:31 nginx: worker process www-data 2735 2730 0 2022 ? 00:45:29 nginx: worker process [... lot or more like this ...]
Code:
$ zabbix_get -s 127.0.0.1 -k proc.num[] 1094 $ zabbix_get -s 127.0.0.1 -k proc.num[nginx] 81 $ zabbix_get -s 127.0.0.1 -k proc.num[,www-data] 0 $ zabbix_get -s 127.0.0.1 -k proc.num[,,,nginx] 81