Hello all,
I try to get the number of varnish processes from my varnish machine.
But i need to set AllowRoot=1 in my zabbix-agentd config to be able to see the processes.
Without AllowRoot=1 i get the following.
If i set AllowRoot=1 then i get the right responce.
It would be nice if i do not need to run zabbix-agent as root.
But i do not know to which group i need to add zabbix to view this data, or another way to get this data.
regards
Johan
I try to get the number of varnish processes from my varnish machine.
But i need to set AllowRoot=1 in my zabbix-agentd config to be able to see the processes.
Without AllowRoot=1 i get the following.
Code:
root@monitoring01:~ # zabbix_get -s varnish-server.mydomain.com -k 'proc.num[varnishd]'
0
Code:
root@monitoring01:~ # zabbix_get -s varnish-server.mydomain.com -k 'proc.num[varnishd]'
2
It would be nice if i do not need to run zabbix-agent as root.
But i do not know to which group i need to add zabbix to view this data, or another way to get this data.
regards
Johan