{"id":13591107,"url":"https://github.com/JasonRivers/Docker-Nagios","last_synced_at":"2025-04-08T14:32:28.794Z","repository":{"id":41092945,"uuid":"50095825","full_name":"JasonRivers/Docker-Nagios","owner":"JasonRivers","description":"Docker image for Nagios","archived":false,"fork":false,"pushed_at":"2024-11-05T14:03:53.000Z","size":141,"stargazers_count":236,"open_issues_count":69,"forks_count":255,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-02-28T21:31:56.406Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JasonRivers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-21T09:13:36.000Z","updated_at":"2025-01-28T13:00:54.000Z","dependencies_parsed_at":"2024-11-06T11:39:12.879Z","dependency_job_id":"7ef1c376-03c4-4a5f-bd44-53dc96d42c7c","html_url":"https://github.com/JasonRivers/Docker-Nagios","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonRivers%2FDocker-Nagios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonRivers%2FDocker-Nagios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonRivers%2FDocker-Nagios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonRivers%2FDocker-Nagios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JasonRivers","download_url":"https://codeload.github.com/JasonRivers/Docker-Nagios/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247860958,"owners_count":21008396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:00:53.682Z","updated_at":"2025-04-08T14:32:28.344Z","avatar_url":"https://github.com/JasonRivers.png","language":"Dockerfile","readme":"# Docker-Nagios\n\nDocker image for Nagios\n\nBuild Status: [![Build Status](https://travis-ci.org/JasonRivers/Docker-Nagios.svg?branch=master)](https://travis-ci.org/JasonRivers/Docker-Nagios)\n\nNagios Core running on Ubuntu 24.04 LTS with NagiosGraph \u0026 NRPE\n\n| Product | Version |\n| ------- | ------- |\n| Nagios Core | 4.5.7 |\n| Nagios Plugins | 2.4.12 |\n| NRPE | 4.1.1 |\n| NCPA | 3.1.1 |\n| NSCA | 2.10.2 |\n\n### Configurations\nNagios Configuration lives in /opt/nagios/etc\nNagiosGraph configuration lives in /opt/nagiosgraph/etc\n\n### Install\n\n```sh\ndocker pull jasonrivers/nagios:latest\n```\n\n### Running\n\nRun with the example configuration with the following:\n\n```sh\ndocker run --name nagios4 -p 0.0.0.0:8080:80 jasonrivers/nagios:latest\n```\n\nalternatively you can use external Nagios configuration \u0026 log data with the following:\n\n```sh\ndocker run --name nagios4  \\\n  -v /path-to-nagios/etc/:/opt/nagios/etc/ \\\n  -v /path-to-nagios/var:/opt/nagios/var/ \\\n  -v /path-to-custom-plugins:/opt/Custom-Nagios-Plugins \\\n  -v /path-to-nagiosgraph-var:/opt/nagiosgraph/var \\\n  -v /path-to-nagiosgraph-etc:/opt/nagiosgraph/etc \\\n  -p 0.0.0.0:8080:80 jasonrivers/nagios:latest\n```\n\nNote: The path for the custom plugins will be /opt/Custom-Nagios-Plugins, you will need to reference this directory in your configuration scripts.\n\nThere are a number of environment variables that you can use to adjust the behaviour of the container:\n\n| Environamne Variable | Description |\n|--------|--------|\n| MAIL_RELAY_HOST | Set Postfix relayhost |\n| MAIL_INET_PROTOCOLS | set the inet_protocols in postfix |\n| NAGIOS_FQDN | set the server Fully Qualified Domain Name in postfix |\n| NAGIOS_TIMEZONE | set the timezone of the server |\n\nFor best results your Nagios image should have access to both IPv4 \u0026 IPv6 networks \n\n#### Credentials\n\nThe default credentials for the web interface is `nagiosadmin` / `nagios`\n\n### Extra Plugins\n\n* Nagios nrpe [\u003chttp://exchange.nagios.org/directory/Addons/Monitoring-Agents/NRPE--2D-Nagios-Remote-Plugin-Executor/details\u003e]\n* Nagiosgraph [\u003chttp://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details\u003e]\n* JR-Nagios-Plugins -  custom plugins I've created [\u003chttps://github.com/JasonRivers/nagios-plugins\u003e]\n* WL-Nagios-Plugins -  custom plugins from William Leibzon [\u003chttps://github.com/willixix/WL-NagiosPlugins\u003e]\n* JE-Nagios-Plugins -  custom plugins from Justin Ellison [\u003chttps://github.com/justintime/nagios-plugins\u003e]\n* DF-Nagios-Plugins - custom pluging for MSSQL monitoring from Dan Fruehauf [\u003chttps://github.com/danfruehauf/nagios-plugins\u003e]\n* check-mqtt - custom plugin for mqtt monitoring from Jan-Piet Mens [\u003chttps://github.com/jpmens/check-mqtt.git\u003e]\n","funding_links":[],"categories":["others","Dockerfile"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJasonRivers%2FDocker-Nagios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJasonRivers%2FDocker-Nagios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJasonRivers%2FDocker-Nagios/lists"}