Add a warning message in the NRPE configuration requesting to use an alternative configuration file for local modifications
This commit is contained in:
parent
8631d62bc6
commit
6d68774e60
|
@ -2,6 +2,8 @@
|
||||||
# Custom NRPE configuration file.
|
# Custom NRPE configuration file.
|
||||||
# Part of the EvoBSD distribution.
|
# Part of the EvoBSD distribution.
|
||||||
#
|
#
|
||||||
|
# This is an Ansible managed file !
|
||||||
|
# For local modifications use the /etc/nrpe.d/zzz-evolix.cfg file instead
|
||||||
|
|
||||||
# Allowed IPs
|
# Allowed IPs
|
||||||
allowed_hosts={{ nagios_nrpe_allowed_hosts | join(',') }}
|
allowed_hosts={{ nagios_nrpe_allowed_hosts | join(',') }}
|
||||||
|
@ -36,3 +38,6 @@ command[check_smb]=/usr/local/libexec/nagios/check_tcp -H IPLOCALE -p 445
|
||||||
#command[check_ospf6d]=doas /usr/local/libexec/nagios/plugins/check_ospf6d
|
#command[check_ospf6d]=doas /usr/local/libexec/nagios/plugins/check_ospf6d
|
||||||
command[check_ospfd_simple]=sudo /usr/local/libexec/nagios/plugins/check_ospfd_simple
|
command[check_ospfd_simple]=sudo /usr/local/libexec/nagios/plugins/check_ospfd_simple
|
||||||
command[check_mysql]=/usr/local/libexec/nagios/check_mysql -H 127.0.0.1 -f /etc/nrpe.d/.my.cnf
|
command[check_mysql]=/usr/local/libexec/nagios/check_mysql -H 127.0.0.1 -f /etc/nrpe.d/.my.cnf
|
||||||
|
|
||||||
|
# This is an Ansible managed file!
|
||||||
|
# For local modifications use the /etc/nrpe.d/zzz-evolix.cfg file instead
|
||||||
|
|
Loading…
Reference in a new issue