How to execute bash script by zabbix agent using sudo? – Ubuntu
OS Ubuntu 22.04.2 LTS. I did everything as usual. Using visudo I allowed the zabbix user to execute the command: zabbix ALL=(ALL) NOPASSWD:/root/market-report/docker-compose_restart zabbix-agent2 In the config of the zabbix agent itself, I registered permission to execute system commands: #…