PDA

View Full Version : actions


vburshteyn
09-05-2010, 13:09
Hi folks,

sorry for what might sound like a stupid question, but its dring me up the wall.

So i can an action that is set up to run :

if server A goes down execute
Zabbix: ssh root@web1 /script/script

If i run that command from the command prompt it works like a charm, yet when zabbix sends it nothing happens.

(i can run this command from command prompt via root/zabbix users)

any ideas?

MrKen
10-05-2010, 05:47
In the zabbix_agentd.conf on Server A have you enabled remote commands?

# Enable remote commands for ZABBIX agent. By default remote commands disabled.

EnableRemoteCommands=1

If there are permissions problems, there should be something in the agent.log

HTH
MrKen