Ad Widget

Collapse

Actions->Remote Commands

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bgd
    Junior Member
    • May 2006
    • 9

    #1

    Actions->Remote Commands

    Hi,

    I am running Zabbix 1.4.2 (server + agentd) on RHEL4. Have set up a send message and remote command for an action -- and both are executed when the action is triggered -- but I encounter the following problems:

    1) After the action is being called, in the Web Frontend, under "Monitoring->Actions", only the "Type=Email" and "Status=Sent" actions are reported, but not the remote commands. If I delete the "Send message" operation from this action, the remote command still gets executed but nothing is reported in the Web Frontend.

    2) No matter if I use remote commands with spaces or without, the zabbix_server is always logging something like:

    5479:20071120:123639 Type of received value [1] is not sutable for [system.run[echo "/etc/passwd has been changed on server rhel4: ON" >> /tmp/remote_command,nowait]@rhel4] having type [32]

    OR

    5479:20071120:142639 Type of received value [1] is not sutable for [system.run[/tmp/remote_command.sh,nowait]@rhel4] having type [32]

    (as you can see, the first remote command has spaces and the second one doesn't).
    What could be wrong?

    Thank you,
    Bogdan
Working...