Zabbix Agent Remote Commands Not Working

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: 2.4.7
    • Component/s: Agent (G)
    • None
    • Environment:
      Linux / RHL 6

      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.

      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

        1. zabbix_action.png
          47 kB
          Ravi Parikh
        2. zabbix_action_config.png
          81 kB
          Ravi Parikh
        3. dashboard_errors.png
          36 kB
          Ravi Parikh

            Assignee:
            Unassigned
            Reporter:
            Ravi Parikh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: