How to Install Nagios Core by Docker on Ubuntu 21.04
To Install Nagios Core by Docker on Ubuntu 21.04
Introduction:
*Nagios Core is the monitoring and alerting engine that serves as the basis for hundreds of Nagios products. It is implemented as a daemon and runs natively on Linux/nix systems, featuring several APIs that can be used to perform additional tasks.
Installation Procedure:
Step 1: Check the OS version by using the below command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
Step 2: Pull the Nagios Core image from the Docker Hub by using the below command
root@linuxhelp:~# docker pull jasonrivers/nagios
Using default tag: latest
latest: Pulling from jasonrivers/nagios
08c01a0ec47e: Pull complete
a8f2c86f74de: Pull complete
cb72f88dd616: Pull complete
b4d858437011: Pull complete
fcd1fa5ad641: Pull complete
Step 3: List the created Docker image by using the below command
root@linuxhelp:~# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
jasonrivers/nagios latest 5dab8a06fbb6 12 hours ago 769MB
Step 4: Run the Docker Container from the image with Name ‘nagios’ with mapping to the 8080 port number of the host system in a depreciated mode by using the below command
root@linuxhelp:~# docker run --name nagios -dp 8080:80 jasonrivers/nagios
d7c5c4797de6e40e0fc22251d088ce6121e91356d3420c565bb9419bccc12609
Step 5: Ping http://localhost:8080 on Browser and login with Username as ‘nagiosadmin’ and Password as ‘nagios’ as shown in the below image
Step 6: This is the Dashboard of the Nagios Core
Step 7: This is image showing the Services Running on the Container.
With this the process of Installing Nagios Core by Docker on Ubuntu 21.04 has come to an end.
Comments ( 0 )
No comments available