All Projects → manios → docker-nagios

manios / docker-nagios

Licence: other
Docker image for Nagios Core in Alpine Linux with basic plugins, available for x86, x64 , ARM v6, ARM v7 and ARM64.

Programming Languages

Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to docker-nagios

alpine-qbittorrent-openvpn
qBittorrent docker container with OpenVPN client running as unprivileged user on alpine linux
Stars: ✭ 230 (+596.97%)
Mutual labels:  arm, alpine, alpine-linux, armv7, arm64, armv6
alpine-php-fpm
Lightweight and optimised PHP-FPM (PHP 7.4, 8.0, 8.1) Docker images with essential extensions on top of latest Alpine Linux.
Stars: ✭ 53 (+60.61%)
Mutual labels:  arm, alpine, alpine-linux, armv7, arm64, armv6
Docker Homebridge
Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
Stars: ✭ 1,847 (+5496.97%)
Mutual labels:  arm, alpine-linux, arm64, armv6
Pieman
Script for creating custom OS images for single-board computers
Stars: ✭ 149 (+351.52%)
Mutual labels:  alpine, alpine-linux, armv7, arm64
Gitlab
GitLab CE (Docker image) for ARM devices, this is a mirror repository of
Stars: ✭ 121 (+266.67%)
Mutual labels:  arm, armv7, raspberry
Nwjs rpi
[NW.js port for Raspberry Pi] binary compiled for the ARMv6 used in Raspberry Pi (compatible with RPi 2 and RPi 3)
Stars: ✭ 91 (+175.76%)
Mutual labels:  arm, armv7, raspberry
rust-crosscompiler-arm
Docker images for Rust dedicated to cross compilation for ARM v6 and more
Stars: ✭ 48 (+45.45%)
Mutual labels:  arm, armv7, armv6
discolix
distroless arm docker images
Stars: ✭ 22 (-33.33%)
Mutual labels:  arm, armv7, arm64
Uefi Ntfs
UEFI:NTFS - Boot NTFS partitions from UEFI
Stars: ✭ 386 (+1069.7%)
Mutual labels:  arm, x64, arm64
Simdjson
Parsing gigabytes of JSON per second
Stars: ✭ 15,115 (+45703.03%)
Mutual labels:  arm, x64, arm64
alpine-prestashop
Prestashop running on Alpine Linux [Docker]
Stars: ✭ 13 (-60.61%)
Mutual labels:  alpine, alpine-linux, arm64
Docker Jdownloader
JDownloader 2 Docker Image (Multiarch) - Passed 40M Downloads
Stars: ✭ 85 (+157.58%)
Mutual labels:  arm, armv7, raspberry
docker-elasticsearch
Multi-architecture (arm, x86) Docker image for Elasticsearch
Stars: ✭ 14 (-57.58%)
Mutual labels:  arm, armv7, armv6
Synestiaos
The Synestia Operating System
Stars: ✭ 159 (+381.82%)
Mutual labels:  arm, armv7, arm64
Element Web
element.io docker image generator
Stars: ✭ 21 (-36.36%)
Mutual labels:  arm, armv7, arm64
docker-opengl
Multi-Arch Docker - Mesa 3D OpenGL Software Rendering (Gallium) - LLVMpipe, and OpenSWR Drivers
Stars: ✭ 68 (+106.06%)
Mutual labels:  alpine, armv7, arm64
tensorflow-serving-arm
TensorFlow Serving ARM - A project for cross-compiling TensorFlow Serving targeting popular ARM cores
Stars: ✭ 75 (+127.27%)
Mutual labels:  arm, armv7, arm64
focalboard-docker
Cross platform Docker images for Focalboard.
Stars: ✭ 12 (-63.64%)
Mutual labels:  arm, armv7, arm64
Grafana On Raspberry
Grafana packages for raspberry pi (armv6/armv7) and aarch64/arm64
Stars: ✭ 318 (+863.64%)
Mutual labels:  arm, armv7, arm64
Capstone.NET
.NET Core and .NET Framework binding for the Capstone Disassembly Framework
Stars: ✭ 108 (+227.27%)
Mutual labels:  arm, x64, arm64

Docker Nagios

Docker image for Nagios, the Industry Standard In IT Infrastructure Monitoring. Nagios Core is running on Alpine Linux, using Apache HTTP as a web server and sSMTP as mail agent for email notifications.

The image is inspired by JasonRivers/Docker-Nagios image (Kudos to Jason!) but follows a different approach targetted to lightweight size and basic features.

Build Status: build status badge Docker pulls badge Docker stars badge

Quick reference

Supported tags and respective Dockerfile links

For more information about the image versions you may refer to the CHANGELOG

Running

Run with the example configuration with the following:

docker run --name nagios -p 0.0.0.0:8080:80 manios/nagios:latest

alternatively you can use external Nagios configuration & log data with the following:

docker run --name nagios  \
  -v /path-to-nagios/etc/:/opt/nagios/etc/ \
  -v /path-to-nagios/var:/opt/nagios/var/ \
  -v /path-to-nagios/ssmtp.conf:/etc/ssmtp/ssmtp.conf \
  -v /path-to-custom-plugins:/opt/Custom-Nagios-Plugins \
  -p 0.0.0.0:8080:80 \
  manios/nagios:latest

Notes:

  1. The container populates with default configuration files if the configuration directories are empty.
  2. The path for the custom plugins will be /opt/Custom-Nagios-Plugins, you will need to reference this directory in your configuration scripts.
  3. In order to receive mail notifications, you have to configure SSMTP. You can find example configuration in docker-nagios.

For best results your Nagios container should have access to both IPv4 & IPv6 networks

Credentials

The default credentials for the web interface is nagiosadmin / nagios. However you can define your own credentials by overriding NAGIOSADMIN_USER and NAGIOSADMIN_PASS when you run the container. For example:

docker run --name nagios  \
  -e NAGIOSADMIN_USER="godmode" \
  -e NAGIOSADMIN_PASS="super-Duper-Secret!" \
  -p 0.0.0.0:8080:80 \
  manios/nagios:latest

Timezones

By default the Alpine container and Nagios both use UTC. In order to change the timezone we can pass the tz timezone database name as an environmental variable in docker run such as:

docker run -e "TZ=Europe/Athens" manios/nagios:latest

This will configure and use globally "Europe/Athens" in both container and Nagios process.

Flavours

This Docker image is designed with optimising resources usage in mind and is build for multiple hardware architectures. The following matrix can be used to determine if your hardware architecture is supported:

Hardware Image OS/Arch
PC (32bit) linux/386
PC (64bit) linux/amd64
Raspberry Pi 1 linux/arm/v6
Raspberry Pi 2 linux/arm/v7
Raspberry Pi 3 linux/arm/v7
Raspberry Pi 4 linux/arm/v7 or linux/arm64

Test configuration

To check if your Nagios configuration is OK, you can run the following while your container is running. We assume that you use /opt/nagios/etc/nagios.cfg as your main configuration file.

docker exec -it mynagioscontainer bin/nagios -v etc/nagios.cfg

Troubleshooting

Nagios keeps restarting or shows a strange behaviour

In docker tag build-5, build-6, build-7 we have used Alpine 3.14 as our base image. This comes with security updates which may cause trouble as described in Release Notes forAlpine 3.14.0 > faccessat2.

In order to resolve this issue you should use docker tag build-8 or you can follow the workarounds provided here: #32 (comment).

My image does not run on Raspberry Pi

As already mentioned in #17, sometimes, because docker manifest related features are still experimental (after 2+ years of their introduction) it has happened when we tested in Raspberry Pi 1 (arm-v6) and Raspberry Pi 3 (arm-v7) that it does not download the arm image but the amd64.

Thus you can define explicitly which architecture to pull:

docker pull --platform=linux/arm/v6 manios/nagios
# or
docker pull --platform=linux/arm/v7 manios/nagios

and it works. Be advised that the --platform switch requires that you enable the Docker Experimental Features.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].