How to install Nagios 4 and Nrpe 2.16RC2 to monitor your servers on Ubuntu 14.04

Installing Nagios 4
This document contains the information and steps to proceed to install and configure the Nagios monitoring system on an Ubuntu Server 14.04 using the Nrpe 2.16RC2.

Nrpe 2.16RC2 is still not at its last (or defined stable) version but, tests shows that this release does not have particular issue.
This plugin is a great improvement since it provides an increase of security thanks to the use of server-client certificates and an improvement of the encryption system.

For an easy view on the configuration file, some samples of the same are inside this document.

In details, these are the main points of the document:

What I cover in this document

  1. INSTALLING NAGIOS 4 WITH SSL CERTIFICATE OF NRPE 2.16RC2
  2. Introduction
  3. PREPARE AN UBUNTU SERVER V. 14.04
  4. update the system and setup the network
  5. NAGIOS INSTALLATION
  6. Install Nagios Core
  7. Install Nagios Plugin
  8. Install NRPE 2.16RC2
  9. Secure NRPE
  10. ENABLING THE WEB SERVER
  11. Protect Apache with SSL
  12. CONFIGURING THE SYSTEM
  13. Configure Nagios
  14. Configure the hosts
  15. Configure the services
  16. Configure the client
  17. Configure the contacts
  18. Configuring the NRPE for the server
  19. INSTALL THE PLUGINS AND THE NRPE ON THE CLIENTS
  20. Installing the Nagios plugins
  21. Installing NRPE on the client
  22. Configuring NRPE on the client
  23. How the server sends commands to the client
  24. CREATING THE CERTIFICATE
  25. Setup the Certification Authority
  26. Create the certificate for NRPE Server
  27. Create the certificate for the NRPE client
  28. ADDING THE GRAPHS
  29. Installing pnp4nagios
  30. Configuring the program
  31. Definition for hosts and services with web popups
  32. Understanding pnp4nagios
  33. SENDING EMAIL NOTIFICATION WITH PHP
  34. Add php email command definition
  35. Apply the new email template
  36. USEFUL PLUGINS
  37. Top 4 plugins to download
  38. USEFUL NAGIOS COMMANDS
  39. Check validity of the script
  40. Start Nagios service
  41. Reload the service
  42. Stop the service
  43. Restart Nagios and xinetd

I tried to export the document I wrote to this page but I didn’t like it.
Probably the tools I use to write guides are not the best in this case.. but hey!! Don’t worry my friend! I uploaded the document onto my website and below you find the link do download it ;)
Trust me, it’s worth a view!
Updated to version 2.

Installing Nagios 4 with SSL