Installation. First, on server01 install the nagios package. In a terminal enter: sudo apt install nagios3 nagios-nrpe-plugin. You will be asked to enter a password. 4 days ago Nagios is one of the most widely used open source monitoring tool for monitoring the services and application that run’s on Windows and Linux. How to Install Nagios (Monitoring Server) on Ubuntu , and LTS systems. Install Nagios Plugins with Nagios Core on Ubuntu.
|Published (Last):||9 February 2011|
|PDF File Size:||6.77 Mb|
|ePub File Size:||5.94 Mb|
|Price:||Free* [*Free Regsitration Required]|
Nagios is an enterprise class, open source software that can be used for network and infrastructure monitoring. Using Nagios, we can monitor servers, switches, applications and services etc. It alerts the System Administrator when something goes wrong and also alerts back when the issues have been rectified.
For the purpose of this tutorial, I will be using the following two systems. Make sure your server have installed with fully working LAMP stack.
If not, follow the below link to install LAMP server. Create a new nagcmd group for allowing external commands to be submitted through the web interface. Add both the nagios user and the apache user to the group. Go to the nagios download pageand get the latest version. As of writing this, the latest version was 4.
And, download nagios plugins too. Run the following commands one by one from the Terminal to compile and install nagios. Enter the following commands to compile and install nagios web interface.
How to Install Nagios 4 in Ubuntu and Debian
The above error message describes that nagios is trying to create the nagios. But, in Ubuntu systems the nagios. So, run the following command instead of using sudo make install-webconf. Create a nagiosadmin account for logging into the Nagios web interface. Remember the password you assign to this account.
Go to the directory where you downloaded the nagios plugins, and extract it. These sample files should work fine for getting started with Nagios.
And edit the following lines if you want to access nagios administrative console from a particular IP series. Here, I want to allow nagios administrative access from So, I edited this file as shown below.
If there are no errors, start nagios service and make it to start automatically on every boot. You will see there the no of hosts being monitored by Nagios server. So it simply ocmment the localhost itself only.
We have successfully installed and configure Nagios core in our Ubuntu To do that we have to install nrpe and nagios-plugins in our monitoring targets. Now, commnet back to your Nagios serverand add the clients in the configuration file. Now, You will see the newly added client will be visible there. Click on the host to see if there is anything wrong or any alerts it has.
How To Install Nagios 4 on Ubuntu & LTS – TecAdmin
Click on the monitoring target client system to view the detailed output:. We have just defined the monitoring host. Now, let us add some services of the monitoring host. Wait for few seconds 90 seconds by defaultand check for the added services i. This page will explain you the description and format of all object definitions. Make sure you install openssl and libssl-dev first. And yes, even if your Nagios server is checking a remote client, you need openssl and libssl-dev locally.
The when you get to configuring the Nagios plugins, add —with-openssl so you end up with:. Check out the following official documents for how to monitoring other things. Upgrading from Fedora 24 to Fedora On the way of Wayland.
How to generate and check strong passwords in Jagios January 18, How to prevent SSH from disconnecting sessions November 30, Rebuilding Package in Debian October 4,