Public | Automated Build

Last pushed: 2 years ago
Short Description
CentOS 6.6 based Nagios with Adagios UI - 757.6 MB
Full Description

Nagios/Adagios Container Build

Built from appcontainers/centos66

Build container using default values.

docker build -t appcontainers/nagios .

Running the container

The container is built to allow several configurable variables to be passed in at runtime. The values are as follows:

  • APP_NAME - This is the fully qualified domain name such as example.com. This should be passed without any prefix such as www.
  • APP_USER - The username that the Application will use.
  • APP_PASS - The password of the user that the Application uses.

Run the container using default values

docker run -d -it --name nagios -h nagios -p 80:80 appcontainers/nagios

This will assume the following

  • APP_NAME = nagios.local
  • APP_USER = admin
  • APP_PASS = P@ssw0rd

Run the container substituting the $varables with your own custom values

docker run -d -it \
--name nagios \
-h nagios \
-p 80:80 \
-e APP_NAME='testapp.com' \
-e APP_USER='admin' \
-e APP_PASS='P@ssw0rd' \
appcontainers/nagios

Container does not require persistent storage as long as nagios configs are stored in git

configs stored in /etc/nagios/
git init already set, Add remote, and commit configs

Navigate to the IP address of the server on the port specified (80 default) to access the nagios instance. (http://123.45.67.89/adagios)

Manually add user via:

htpasswd -c -b /etc/nagios/passwd username password
Docker Pull Command
Owner
appcontainers
Source Repository

Comments (4)
mclarkson
2 days ago

Where's the source? I signed up to atlassian thinking I'd be able to see the source! Was wondering if it was 'runit' based or not...

jdelaros1
a year ago

Do you have all your build files (ex: runconfig.sh) in a git repo somewhere? I'd like to see how you start nagios.
Thank you

korjavin
3 years ago

https://bitbucket.org/appcontainers/nagios

You do not have access to this repository.

appcontainers
3 years ago

I don't see the original comment, however a user asked the following question:

You say above that "Container does not require persistent storage as long as nagios configs are stored in git". On which repository we should rely? Yours or any other?

Answer: You should create your own git account, on either bitbucket, github or a private gitlab server, add the origin to the git config in the /etc/nagios directory and then push to that repository. Configs store information about your internal environment, and it is recommended that the are stored in a NON public, private git repository of your choosing.