XMLWordPrintable

    • Type: Problem report
    • Resolution: Commercial support required
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      It is required to configure the agent to execute scripts.
      I configured the agent by specifying AllowKey=system.run[*] in the config.
      I configured sudoers.
      In the console, the command sudo -u zabbix /etc/zabbix/scripts/stop.sh is executed.
      However, when running from the server, sudo -u zabbix /etc/zabbix/scripts/stop.sh does not work. I also tried sudo /etc/zabbix/scripts/stop.sh, but the script still does not execute. I enabled logging, but there's nothing in the logs. Help me configure it, as I've spent a lot of time without any results. When I execute the trigger, it says that the time limit has been exceeded. I've increased the parameter in the server and agent to 30 seconds.

            Assignee:
            Unassigned
            Reporter:
            Andrey Andreevich Zezyulin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: