Install Icinga / Nagios NRPE plugin
- Read more about Install Icinga / Nagios NRPE plugin
- Log in to post comments
# on Icinga / Nagios client
apt-get install -y nagios-nrpe-server
sed -i 's|allowed_hosts=127.0.0.1|allowed_hosts=192.168.1.197|g' /etc/nagios/nrpe.cfg
/etc/init.d/nagios-nrpe-server restart
cat < /etc/nagios/nrpe.d/my.cfg
command[check_root]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /
command[check_http]=/usr/lib/nagios/plugins/check_http -H localhost
command[check_ssh]=/usr/lib/nagios/plugins/check_ssh localhost
EOF
/etc/init.d/nagios-nrpe-server restart
# test access
/usr/lib/nagios/plugins/check_nrpe -H
# on Icinga / Nagios server
apt-ge