icinga2.sudoers 592 B

123456789101112131415161718
  1. #
  2. # sudoers file for Icinga2 monitoring commands (Salt managed)
  3. #
  4. # No lecture for the nagios user
  5. Defaults: nagios lecture=never
  6. # Network basics (IP, conntrack, routing)
  7. nagios ALL=NOPASSWD: /usr/local/share/monitoring-plugins/check_ifupdown2
  8. nagios ALL=NOPASSWD: /usr/local/share/monitoring-plugins/check_conntrack_size
  9. nagios ALL=NOPASSWD: /usr/local/share/monitoring-plugins/check_bird_ospf
  10. nagios ALL=NOPASSWD: /usr/local/share/monitoring-plugins/check_bird_bgp
  11. # DHCP
  12. nagios ALL=NOPASSWD: /usr/local/sbin/dhcpd-pool
  13. # Mail
  14. nagios ALL=NOPASSWD: /usr/lib/nagios/plugins/check_mailq