Difference between revisions of "Nagios"

Jump to navigation Jump to search
45 bytes added ,  09:00, 12 September 2012
m
→‎NRPE: Minor rewording / formatting
(→‎Create SNMP Checks: Added standard disk status check)
m (→‎NRPE: Minor rewording / formatting)
Line 329: Line 329:


== NRPE ==
== NRPE ==
The Nagios Remote Plugin Executor allows Nagios checks to completed on remote servers in a similar fashion to performing checks on the Nagios server.  Whilst its not always necessary, as many remote checks can be performed by probing remotely accessible services such as SNMP or HTTP, there are times when such checks are not suitable, for example...
The '''Nagios Remote Plugin Executor''' allows Nagios checks to completed on remote servers in a similar fashion to performing checks on the Nagios server.  Whilst its not always necessary, as many remote checks can be performed by probing remotely accessible services (such as SNMP or HTTP), there are times when such checks are not suitable, for example...
* Running checks that aren't easily achievable via SNMP
* Running checks that aren't easily achievable via SNMP
* Checking services such as MySQL that should only be accessible local to the server
* Checking local services such as MySQL that aren't accessible remotely from the server
* Running HTTP checks to test your web servers from more than one location
* Running HTTP checks to test your web servers from more than one location
** EG local to server to ensure the web-server itself is OK, and remotely to check that access is likely to OK for global users
** EG local to server to ensure the web-server itself is OK, and remotely to check that access is likely to OK for global users


The NRPE server that runs on remote monitored machines does require quite a few additional packages to be installed (see below for in-exhaustive list), and if you are concerned you try the alternative approach of getting data back from your remote server via SNMP as described in this example [[#Ubuntu_Software_Updates_Monitor|Ubuntu Software Updates Monitor]].  This can make for a more lightweight solution, but will require you to write your own monitoring scripts to be called by the SNMP daemon. Swings and roundabouts.
The NRPE server that runs on remote monitored machines does require quite a few additional packages to be installed (see below for in-exhaustive list), and if you are concerned you can try the alternative approach of getting data back from your remote server via SNMP as described in this example [[#Ubuntu_Software_Updates_Monitor|Ubuntu Software Updates Monitor]].  This can make for a more lightweight solution, but will require you to write your own monitoring scripts to be called by the SNMP daemon.
 
Additional packages required by NRPE...
* mysql-common
* mysql-common
* radiusclient1
* radiusclient1
Line 342: Line 344:
* snmp
* snmp


=== Setup ===
The procedures below will get NRPE running to monitor disk space, load and MySQL service availability on a remote server.
The procedures below will get NRPE running to monitor disk space, load and MySQL service availability on a remote server.


Navigation menu