Guide – How To Start – Nagios: Network Monitoring System on Ubuntu 18.04

Nagios is a simple and at the same time powerful system monitoring tool

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

Configuring and connecting to Nagios Network Monitoring System on Ubuntu 18.04 using PuTTY

To start the server, run the VM through Azure Portal.

  1. For the connection to the server, you should know the IP address of the VM. You can find it in the personal account of Azure. You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line “Public IP Address”.
  1. To work, you must open port 80 (TCP) in the network properties in the Azure firewall.
  1. To get Nagios admin credentials you should connect to a VM.
    1. With OpenSSH

In the Windows 10 operating system (starting with version 1809 ), an OpenSSH client is available, with which you can connect to Linux servers via SSH. If Windows 10 is suitable and the OpenSSH client is installed, you can start connecting via SSH. To do this, launch a normal Windows command prompt and enter the command “ssh user@*vm_ip*” (1), where “user” is the username that was specified while creating the virtual machine and “*vm_ip*” is the VM IP address.

Then type “Yes” (2) and enter a password (3) that was specified while creating the virtual machine.

  1. With the PuTTy application 

To do this you need the PuTTy application to connect via ssh. You can download it at the following link – Download

Run Putty, enter the VM address in the “Host” field (1), and click “Open” (2) to connect.

In the opened console you will need to enter a username (1) and password (2) that were specified while the VM was being created (you’ll not see the password in the console while entering it). 

  1. Enter the command cat /creds.txt and save the admin credentials
  1. In the browser enter  http://ip/nagios. For example 
  1. Enter your username and password from point 4 in the window that opens and click “Sign in”
  1. After entering your login information, you will be taken to the main page
  1. Initially, the service is preset to check three hosts: localhost, и 
  1. To view the status of the hosts, you need to select Hosts 

The main Nagios directory is /usr/local/nagios/

Preset config for – /usr/local/nagios/etc/objects/

Preset config for – /usr/local/nagios/etc/objects/8888.cfg

Main config file – /usr/local/nagios/etc/nagios.cfg

If you have any questions, please refer to the main documentation – About Nagios Core 

Writing host configs for monitoring – Monitoring Publicly Available Services · Nagios Core Documentation

Website Built with

Up ↑

%d bloggers like this: