The question is which is more secure - as opposed to which is better from a configuration standpoint.
I have a number of Centos and Debian systems. The NRPE daemon is installed and working on all them, with nrpe.conf
configured with allowed_hosts=127.0.0.1,<Nagios_monitoring_server_IP>
. The client's NRPE default port only allows Nagios_monitoring_server_IP through iptables as well. All the checks from the Nagios monitoring server use check_nrpe
.
Is the above the most secure, or is it better to use check_by_ssh
with a key instead?