Configure the check_packetfilter in NRPE with doas
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jérémy Dubois 2020-07-28 17:57:30 +02:00
parent 5166977025
commit 3a6cd20ab3
2 changed files with 2 additions and 0 deletions

View file

@ -13,3 +13,4 @@ permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_ospf6d
permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_openbgpd
permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_pf_states
permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_connections_state.sh
permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_packetfilter.sh

View file

@ -45,6 +45,7 @@ command[check_ospf6d]=doas /usr/local/libexec/nagios/plugins/check_ospf6d
command[check_ospfd_simple]=doas /usr/local/libexec/nagios/plugins/check_ospfd_simple
command[check_bgpd]=doas /usr/local/libexec/nagios/plugins/check_openbgpd -u
command[check_connections_state]=doas /usr/local/libexec/nagios/plugins/check_connections_state.sh
command[check_packetfilter]=doas /usr/local/libexec/nagios/plugins/check_packetfilter.sh
# This is an Ansible managed file !
# For local modifications use the /etc/nrpe.d/zzz-evolix.cfg file instead