conf-10-check-nrpe/conf/common/etc/sudoers.d/50-check_nrpe

20 lines
594 B
Plaintext
Raw Permalink Normal View History

2019-09-29 22:32:06 +02:00
################################################################################
# BSD 3-Clause License
#
# Copyright (c) 2019, Alban Vidal <alban.vidal@zordhak.fr>
# All rights reserved.
#
# Please see license file on root of this directory
################################################################################
# !! GIT FILE !!
# https://framagit.org/zorval/scripts/check-nrpe
################################################################################
# sudo rules for nagios (NRPE)
nagios ALL=(root:adm) NOPASSWD: \
/usr/sbin/needrestart, \
/usr/local/sbin/check_*