forked from krumstein/zabbix
-
Notifications
You must be signed in to change notification settings - Fork 2
/
sudoers-zabbix
25 lines (25 loc) · 989 Bytes
/
sudoers-zabbix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Defaults:zabbix !requiretty, !syslog
Cmnd_Alias ZABBIX_CMD = /var/lib/zabbix/userparameters/pacemaker, \
/var/lib/zabbix/userparameters/perc, \
/var/lib/zabbix/userparameters/smcli, \
/var/lib/zabbix/userparameters/ipmitool, \
/var/lib/zabbix/userparameters/drbd, \
/var/lib/zabbix/userparameters/mounts_systemd, \
/var/lib/zabbix/userparameters/opainfo, \
/var/lib/zabbix/userparameters/sas3ircu, \
/var/lib/zabbix/userparameters/sas2ircu, \
/var/lib/zabbix/userparameters/storcli, \
/var/lib/zabbix/userparameters/gpfs_fileset , \
/usr/sbin/smartctl,\
/var/lib/zabbix/userparameters/smartctl-disks-discovery.pl, \
/usr/bin/ipmitool, \
/opt/dell/mdstoragesoftware/mdstoragemanager/client/SMcli, \
/usr/lib/zabbix/externalscripts/rpmscomp, \
/usr/bin/sinfo, \
/usr/sbin/pcs, \
/usr/bin/mysql, \
/bin/sh, \
/bin/grep, \
/usr/sbin/perfquery, \
/usr/bin/scontrol
zabbix ALL = (root) NOPASSWD: ZABBIX_CMD