Install Nagios on Ubuntu

The following is a guide to install Nagios Core on an Ubuntu machine.


Preparing for the Installation


First you will need to be root;


For convenience it is best to install ssh and vim;


Now you need to install some pre-requisites required for Nagios to correctly install/run;


Now add the user ‘nagios’ to the system;


Create nagcmd group to allow commands through the web;



Installing Nagios and the Plugins


First, make a directory to download the plugins to


Now you need to download Nagios and Nagios plugins;


Extracting Nagios so it can be compiled/installed;


Now you must run the install script and compile the source code;


Run the following command to install the web server


The next step is to create a password for the nagios web server login account, ‘nagiosadmin’


Remember this password as it is required to log on to the web interface.


Restart apache to apply the changes


Now you must extract the plugins;


Use the commands below to compile and install the plugins


Now configure Nagios to start on system start


Check the nagios configuration with the following command


Make note of this command, it is very important later on for debugging issues with config files.


If there are no errors, you are ready to start Nagios;


Now access the web interface from a web browser, navigating to
or from within the network;
Congratulations, you are now done with the installation!

Please refer to our blog for a post on configuring your first host.


Tags: , ,


on July 5, 2018

We have started using medium for our blogging. Please click here to see our latest posts.

on February 9, 2015

BaseX Blog Introduction This 'Blurt/Blog' details my experiences of a recent

on December 4, 2013

iCosts - The Legal Costs Calculator - Demo

on December 4, 2013

Lync XMPP + Video - Demo

Contact Us

9th Floor Capital House
40-42 Weston Street
SE1 3QD 0207 100 1499 Follow us Like us

Specialists in integrated and flexible communications

Copyright © 2013 Globility Limited. All rights reserved.