Difference between revisions of "Decentralized Monitoring with Nagios"

 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
Note: Please check that these two packages (monitoring-plugins-basic and monitoring-plugins-common) are also installed through this command.  
 
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:
+
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:
 
<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]]

Latest revision as of 22:06, 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: 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