Hi everyone,
I try to run a local command on this remote host, but from the zabbix server i got this error message : sh: /usr/bin/su: Permission denied
Command used from zabbix : zabbix_get -s SERVERNAME -p 10050 -k "KEY.NAME"
When i run this from the remote server i got the expected result (run in root).
command used on the remote host : zabbix_agentd -t KEY.NAME
In my userparameter.conf, the command for the used begin with : su - iws -c "COMMAND"
I think because the zabbix_agent is launched by the user zabbix, i can't use the command SU.
How can i do tu run SU with zabbix ?
thank you.
I try to run a local command on this remote host, but from the zabbix server i got this error message : sh: /usr/bin/su: Permission denied
Command used from zabbix : zabbix_get -s SERVERNAME -p 10050 -k "KEY.NAME"
When i run this from the remote server i got the expected result (run in root).
command used on the remote host : zabbix_agentd -t KEY.NAME
In my userparameter.conf, the command for the used begin with : su - iws -c "COMMAND"
I think because the zabbix_agent is launched by the user zabbix, i can't use the command SU.
How can i do tu run SU with zabbix ?
thank you.