Sign inSign up

medlinecare/nagios

By medlinecare

•Updated almost 9 years ago

Implantación de check_mk y Nagios

Image
0

10K+

medlinecare/nagios repository overview

⁠nlmacamp/check_mk:1.4.0p15

⁠Introduction

Dockerfile to create a Docker⁠ container image for Check_MK⁠.

Check_MK is comprehensive IT monitoring solution in the tradition of Nagios⁠.

This docker images is based on the Check_MK Raw Edition⁠ - a free and 100% open-source version.

The Check_MK Raw Edition is a full-blown IT monitoring solution.

⁠Contributing

If you find this image useful you can help. - Send a pull request with your awesome features and bug fixes

⁠Issues

Before reporting your issue please try updating Docker to the latest version and check if it resolves the issue. Refer to the Docker installation guide⁠ for instructions.

SELinux users should try disabling SELinux using the command setenforce 0 to see if it resolves the issue.


⁠Getting started

⁠Installation

Automated builds of the image are available on Dockerhub⁠ and is the recommended method of installation.

docker pull nlmacamp/check_mk:1.4.0p15    (or nlmacamp/check_mk:latest)

Alternatively you can build the image yourself.

docker build -t nlmacamp/check_mk github.com/viper0131/check_mk

⁠Quickstart

Start Check_MK using:

    docker run -itd --name check_mk \
           --publish 80:5000 \
           --restart always \
           nlmacamp/check_mk

OPTIONAL: Specify outgoing mail server with -e "MAILHUB=<IP:PORT>"

If your want to keep your configuration files + performance data persistent, you have to map the /opt/omd directory to the local filesystem like this:

  --volume <localdir>:/opt/omd

Additional volumes could be mapped for the check_mk backup feature or check scripts.

⁠Test installation

Check the status of check_mk using:

docker exec -it check_mk omd status

the result should look like:

Doing 'status' on site mva:
mkeventd:       running
rrdcached:      running
npcd:           running
nagios:         running
apache:         running
-----------------------
Overall state:  running

Fireup the Check_MK GUI:

Browse to http://localhost/mva⁠

login with the default user cmkadmin with password omd


⁠Updates

  1. Log into your current container (docker exec -it check_mk /bin/bash)
  2. Stop check_mk (omd stop mva)
  3. Install new check_mk rpm (get link for CentOS 7 version from here⁠): rpm -ivh https://mathias-kettner.de/support/1.4.0p1/check-mk-raw-1.4.0p1-el7-48.x86_64.rpm
  4. Update check_mk (omd update mva)
  5. Start check_mk (omd start mva)

Tag summary

Content type

Image

Digest

Size

409.4 MB

Last updated

almost 9 years ago

docker pull medlinecare/nagios