Hi,
I've run into an issue where an Action setup to execute a remote command on the CurrentHost from which the trigger was raised is not working,
I've checked the command manually and it works perfectly, I've tried changing commands ( even using system commands ) but none has worked.
The agent nodes have no issues with network/firewall and I've enabled AllowRoot=1 and running zabbix from root user.
Item Configured Type : Zabbix Agent
Action Configured : Run remote commands on current host
Zabbix Conf Has : EnableRemoteCommands=1 & LogRemoteCommands=1
DebugLevel=4
I've searched through the entire log but didn't find anything about why it failed to execute the command,
Similarly I had enabled the zabbix server DebugLevel=4 and configured multiple actions on the trigger on remote host to send email as well as executed remote command, While email worked fine and got logged as well, Remote command didn't work !!
I browsed through the various links but didn't find a solution for this problem. The main Issue I see is that on the dashboard it shows "Command NOT SENT", couldn't find the reason for failure from logs, Attaching the screenshot for action and failure.
For simplicity I've just configured a remote command as "date" - It still says NOT SENT
I can provide more information if needed to fix the issue. Thank you
I've run into an issue where an Action setup to execute a remote command on the CurrentHost from which the trigger was raised is not working,
I've checked the command manually and it works perfectly, I've tried changing commands ( even using system commands ) but none has worked.
The agent nodes have no issues with network/firewall and I've enabled AllowRoot=1 and running zabbix from root user.
Item Configured Type : Zabbix Agent
Action Configured : Run remote commands on current host
Zabbix Conf Has : EnableRemoteCommands=1 & LogRemoteCommands=1
DebugLevel=4
I've searched through the entire log but didn't find anything about why it failed to execute the command,
Similarly I had enabled the zabbix server DebugLevel=4 and configured multiple actions on the trigger on remote host to send email as well as executed remote command, While email worked fine and got logged as well, Remote command didn't work !!
I browsed through the various links but didn't find a solution for this problem. The main Issue I see is that on the dashboard it shows "Command NOT SENT", couldn't find the reason for failure from logs, Attaching the screenshot for action and failure.
For simplicity I've just configured a remote command as "date" - It still says NOT SENT
I can provide more information if needed to fix the issue. Thank you
Comment