zabbix actions https://notes.masterweb.sk/ sk zabbix actions https://notes.masterweb.sk/zabbix/zabbix-actions <span class="field field--name-title field--type-string field--label-hidden">zabbix actions</span> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/1" typeof="schema:Person" property="schema:name" datatype="">ROOT</span></span> <span class="field field--name-created field--type-created field--label-hidden">Ut, 09/03/2019 - 09:42</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><a href="https://www.zabbix.com/documentation/4.0/manual/config/notifications/action/operation/remote_command">https://www.zabbix.com/documentation/4.0/manual/config/notifications/action/operation/remote_command</a><br /> <a href="https://www.zabbix.com/forum/zabbix-help/49552-zabbix-server-problem-need-to-be-automate">https://www.zabbix.com/forum/zabbix-help/49552-zabbix-server-problem-need-to-be-automate</a><br /> <a href="https://www.zabbix.com/forum/zabbix-help/46989-zabbix-remote-commands-not-working">https://www.zabbix.com/forum/zabbix-help/46989-zabbix-remote-commands-not-working</a></p> <p>- add action in zabbix server - Configuration -&gt; Actions<br /> - edit visudo (or nano /etc/sudoers) add: zabbix ALL=NOPASSWD: ALL<br /> - edit /etc/zabbix/zabbix-agent.conf, add: EnableRemoteCommands=1<br /> - restart zabbix agent: service zabbix-agent restart</p> <p>Test:<br /> - stop service (httpd)<br /> - wait some time<br /> - check if service is back<br /> - if not check in zabbix server Reports -&gt; Action log</p> </div><div class="field field--name-field-tags field--type-entity-reference field--label-above clearfix"> <h3 class="field__label">Značky</h3> <ul class="links field__items"> <li><a href="/taxonomy/term/35" hreflang="sk">zabbix</a></li> <li><a href="/taxonomy/term/37" hreflang="sk">zabbix actions</a></li> </ul> </div> Tue, 03 Sep 2019 07:42:25 +0000ROOT71 at https://notes.masterweb.sk