I am a NOOB to zabbix, so I would appreciate a little patience. I am trying to setup my first remote command and I believe I have everything configure properly, but I keep getting the error "Get value from agent failed" when the Actions tries to run. I am successfully able to telnet into the Host machine (Windows box) on port 10050.
EnableRemoteCommands=1 is set on the agent config
Timeout=30 is set on agent config
I am now running the agent in passive mode only. There is no firewall (and again, I can telnet into it from the server on port 10050)
--------->Question: Does active mode NEED to be off for remote commands to work?
For my Remote command all I have is echo "test" >> c:\zabbix\event.log, just to test for it to work. (See picture)
If I run this in the server shell, it works perfectly
I have read several articles on this forum and google and I appear to be doing everything necessary.
I appreciate any thoughts as to what I could check for next. Thank you for any assistance.
EnableRemoteCommands=1 is set on the agent config
Timeout=30 is set on agent config
I am now running the agent in passive mode only. There is no firewall (and again, I can telnet into it from the server on port 10050)
--------->Question: Does active mode NEED to be off for remote commands to work?
For my Remote command all I have is echo "test" >> c:\zabbix\event.log, just to test for it to work. (See picture)
If I run this in the server shell, it works perfectly
Code:
zabbix_get -s 192.168.1.45 -k "system.run[echo \"test\" >> c:\zabbix\script.log]"
I appreciate any thoughts as to what I could check for next. Thank you for any assistance.
Comment