Decentralized Monitoring with Nagios

You can use the plugin Nagios-NRPE to monitor your hosts and servers through your Nagios or Icinga monitoring system in a decentral way.

apt-get install nagios-nrpe-server

Note: Please check that these two packages (monitoring-plugins-basic and monitoring-plugins-common) are also installed through this command.

Please add the server IPs (command: allowed_hosts) that can access your decentral monitoring plugin and the check plugins (commands: command[check_....]=) in this config file:

/etc/nagios/nrpe.cfg

You can also adjust other settings. Default port is 5666.
Finally, restart the server:

service nagios-nrpe-server restart