How To Install Nagios Core By Docker On Rocky Linux 8.6
To Install Nagios Core By Docker On Rocky Linux 8.6
Introduction:
Nagios Core is the monitoring and alerting engine that functions as the basis for hundreds of Nagios products. It is implemented as a daemon and runs natively on Linux/nix systems, featuring numerous APIs that can be used to execute additional tasks.
Installation Procedure:
Step 1: Check the OS version by using the below command
[root@linuxhelp ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSI
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: Pulling fs layer
a8f2c86f74de: Pulling fs layer
cb72f88dd616: Pulling fs layer
b4d858437011: Pulling fs layer
997d3238b8e5: Pull complete
Digest: sha256:ca812986f9eaadccf03f02c55c5ef556e9b045ab2d3f32d3609727036f5772ca
Status: Downloaded newer image for jasonrivers/nagios:latest
docker.io/jasonrivers/nagios:latest
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 5 months 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
80ce78799a2a426b76577bac9eb6e4b6c85886e72e3bc6a192f5391c4c5283a1
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.

Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to Install Nagios Core by Docker on Rocky Linux 8.6 . Your feedback is much welcome.
Comments ( 0 )
No comments available