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.
- 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”.
- To work, you must open port 80 (TCP) in the network properties in the Azure firewall.
- To get Nagios admin credentials you should connect to a VM.
- 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.
- 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).
- Enter the command cat /creds.txt and save the admin credentials
- In the browser enter http://ip/nagios. For example http://188.8.131.52/nagios
- Enter your username and password from point 4 in the window that opens and click “Sign in”
- After entering your login information, you will be taken to the main page
- Initially, the service is preset to check three hosts: localhost, 184.108.40.206 и yahoo.com
- To view the status of the hosts, you need to select Hosts
The main Nagios directory is /usr/local/nagios/
Preset config for yahoo.com – /usr/local/nagios/etc/objects/yahoo.com.cfg
Preset config for 220.127.116.11 – /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