Update : global
All checks were successful
Deployment Verification / deploy-and-test (push) Successful in 2m1s
All checks were successful
Deployment Verification / deploy-and-test (push) Successful in 2m1s
This commit is contained in:
@@ -9,6 +9,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
# Source common functions and variables
|
||||
source "./common.sh"
|
||||
source "./custom/custom_snmp"
|
||||
source "./custom/custom_monitoring"
|
||||
|
||||
# Function to configure SNMP
|
||||
configure_snmp() {
|
||||
@@ -173,7 +174,7 @@ server_port=5666
|
||||
server_address=0.0.0.0
|
||||
|
||||
# Allow connections from these monitoring servers (replace with your Nagios server IP)
|
||||
allowed_hosts=127.0.0.1,NAGIOS_SERVER_IP
|
||||
allowed_hosts=127.0.0.1,$NAGIOS_SERVER_IP
|
||||
|
||||
# Connection restrictions
|
||||
dont_blame_nrpe=0
|
||||
|
||||
Reference in New Issue
Block a user