From 5c885ba66c7c9cfcbd85f4496b6afb7154728d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Porembi=C5=84ski?= Date: Thu, 3 Nov 2016 10:38:02 +0000 Subject: [PATCH] SUDO for zabbix --- sudoers.d/zabbix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sudoers.d/zabbix b/sudoers.d/zabbix index 3cd5aff..ce45d15 100644 --- a/sudoers.d/zabbix +++ b/sudoers.d/zabbix @@ -1,4 +1,6 @@ zabbix ALL=(ALL) NOPASSWD: /sbin/iptables -L INPUT -n +zabbix ALL=(ALL) NOPASSWD: /sbin/iptables -S fail2ban-permanent +zabbix ALL=(ALL) NOPASSWD: /sbin/iptables -S fail2ban-banned zabbix ALL=(ALL) NOPASSWD: /usr/sbin/nscd -g zabbix ALL=(ALL) NOPASSWD: /usr/sbin/smartctl zabbix ALL=(ALL) NOPASSWD: /usr/sbin/rabbitmqctl @@ -14,5 +16,7 @@ zabbix ALL=(ALL) NOPASSWD: /usr/sbin/dmidecode zabbix ALL=(ALL) NOPASSWD: /usr/bin/stat zabbix ALL=(ALL) NOPASSWD: /usr/bin/md5sum zabbix ALL=(ALL) NOPASSWD: /bin/find /var/lib/mysql/ -type f -printf %p+%s= +zabbix ALL=(ALL) NOPASSWD: /bin/find /san/mysql-fs/mysql/ -type f -printf %p+%s= zabbix ALL=(ALL) NOPASSWD: /etc/zabbix/bin/haproxy.sh +zabbix ALL=(ALL) NOPASSWD: /usr/bin/du Defaults:zabbix !requiretty