Nagios: Difference between revisions

Line 83:
{{verify}}
yum install openssl nagios-nrpe-server nagios-plugins nagios-plugins-basic nagios-plugins-standard
yum install openssl nagios-nrpe-server nagios-plugins nagios-plugins-basic nagios-plugins-standard
yum install nrpe
yum install nagios-plugins
Line 92 ⟶ 91:
 
 
Edit Config File:
Allow Arguments
sudo nano nrpe.cfg
 
dont_blame_nrpe=1
dont_blame_nrpe=1 # Allow arguments
allowed_hosts=127.0.0.1, <ip_of_nagios_server> # Permit nagios server to connect to this client
 
sudo systemctl restart nrpe
 
Verify Connection to NRPE from Nagios Server
check_nrpe -H 192.168.1.11
NRPE v2.15