Hi all,
I have some problems with remote command.
I'm working on debian lenny and zabbix 1.4.6.
I'm monitorin a host named host1 e when the apache server is down I would restart it. So the action I configured for the remote command contain:
host1:sudo /etc/init.d/apache2 start
But when the apache trigger switch no action is executed.
Analizing the server log file through:
tail /var/log/zabbix-server/zabbix_server.log
output is:
3433:20100216:231956 Type of received value [1] is not sutable for [system.run[sudo /etc/init.d/apache2 start,nowait]@thgnss] having type [-72515583] 3433:20100216:231956 Returning NOTSUPPORTED
Also note that any command I try to execute the result is the same (also with ls command)
Any help would be appreciated.
Thanks
I have some problems with remote command.
I'm working on debian lenny and zabbix 1.4.6.
I'm monitorin a host named host1 e when the apache server is down I would restart it. So the action I configured for the remote command contain:
host1:sudo /etc/init.d/apache2 start
But when the apache trigger switch no action is executed.
Analizing the server log file through:
tail /var/log/zabbix-server/zabbix_server.log
output is:
3433:20100216:231956 Type of received value [1] is not sutable for [system.run[sudo /etc/init.d/apache2 start,nowait]@thgnss] having type [-72515583] 3433:20100216:231956 Returning NOTSUPPORTED
Also note that any command I try to execute the result is the same (also with ls command)
Any help would be appreciated.
Thanks