Public Repository

Last pushed: 2 years ago
Short Description
Nagios 3.5.1 on CentOS7 sendEmail enabled
Full Description

nagtos7 - Nagios on CentOS7

A Docker image running Nagios 3.5.1 installed via YUM (for easier updating) on CentOS7.

This Nagios image uses sendEmail for sending email notifications.

The Nagios config file should be mounted using -v option, eg:

  • docker run -it -d -p 8443:443 -v /etc/nagios/hosts.cfg:/etc/nagios/conf.d/hosts.cfg --name nagios cgroeschel/nagtos7

Variables - should be changed with eg:

  • docker run --env variable=key

  • MAIL_SRV=mail.authsmtp.com:2525

  • MAIL_USR=username
  • MAIL_PWD=password
  • MAIL_SENDER=yoursender@address.com
  • NAGIOSADMIN_USER=nagiosadmin
  • NAGIOSADMIN_PASS=admin
  • NAGIOSADMIN_MAIL=recipient@address.com

Web UI - The Nagios Web UI is available on port 80 of the container, SSL is setup with self signed certs and available on port 443 too.

Docker Pull Command
Owner
cgroeschel

Comments (0)