Difference between revisions of "Decentralized Monitoring with Nagios"

Line 6: Line 6:
 
<pre>/etc/nagios/nrpe.cfg</pre>
 
<pre>/etc/nagios/nrpe.cfg</pre>
  
You can also adjust other settings.  Default port is 5666.
+
You can also adjust other settings.  Default port is 5666.<br>
 +
Finally, restart the server:
 +
<pre>service nagios-nrpe-server restart</pre>
 
[[Category: Monitoring]]
 
[[Category: Monitoring]]
 
[[Category: Icinga]]
 
[[Category: Icinga]]

Revision as of 20:51, 23 March 2020

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) 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