Hi,
I think this problem is not really related to the version of Zabbix in use.
That's why I post it here
The zabbix_agentd can not be run as user "root".
This is fine for me.
However, this poses problems because the /proc pseudo-filesystem
is used for process monitoring and a normal user (zabbix) can not
access any real data, except it's own processes (e.g. zabbix_agentd)
or the total number of processes.
An "ls" of /proc is, of course, possible.
But requests like proc.num[sshd] returns 0, although
one process is running. The same applies to the syslogd process, etc.
Is this a known problem ?
If so, I'll try to change the agent to use sysctl, instead.
First experiments show, that sysctl returns useful data, even for a
non-root user incl. the user of a running process, the command-line, etc.
If not, please tell me how to run the zabbix_agentd on FreeBSD !
Regards,
Norbert.
I think this problem is not really related to the version of Zabbix in use.
That's why I post it here
The zabbix_agentd can not be run as user "root".
This is fine for me.
However, this poses problems because the /proc pseudo-filesystem
is used for process monitoring and a normal user (zabbix) can not
access any real data, except it's own processes (e.g. zabbix_agentd)
or the total number of processes.
An "ls" of /proc is, of course, possible.
But requests like proc.num[sshd] returns 0, although
one process is running. The same applies to the syslogd process, etc.
Is this a known problem ?
If so, I'll try to change the agent to use sysctl, instead.
First experiments show, that sysctl returns useful data, even for a
non-root user incl. the user of a running process, the command-line, etc.
If not, please tell me how to run the zabbix_agentd on FreeBSD !
Regards,
Norbert.