12345678910111213141516171819202122232425 |
- #
- # sudoers file for Icinga2 monitoring commands (Salt managed)
- #
- # No lecture for the nagios user
- Defaults: nagios lecture=never
- # Network basics (IP, conntrack, routing)
- nagios ALL=NOPASSWD: /usr/local/share/monitoring-plugins/check_ifupdown2
- nagios ALL=NOPASSWD: /usr/local/share/monitoring-plugins/check_conntrack_size
- nagios ALL=NOPASSWD: /usr/local/share/monitoring-plugins/check_bird_ospf
- nagios ALL=NOPASSWD: /usr/local/share/monitoring-plugins/check_bird_bgp
- # DHCP
- nagios ALL=NOPASSWD: /usr/local/sbin/dhcpd-pool
- # Mail
- nagios ALL=NOPASSWD: /usr/lib/nagios/plugins/check_mailq
- # LVM
- nagios ALL=NOPASSWD: /usr/local/share/monitoring-plugins/check_lv_snap
- # Needrestart
- nagios ALL=NOPASSWD: /usr/sbin/needrestart -p -k
- nagios ALL=NOPASSWD: /usr/sbin/needrestart -p -l
|