How tronyx/docker-nagios works
Docker-Nagios packages a Nagios monitoring server as a container. Operators provide configuration and access its web interface; Nagios runs configured checks and plugins, while remote agents and passive-check senders supply monitoring data. Results are presented through Nagios and NagiosGraph, with NagiosTV documented as an additional display. The tree shows service launchers and configuration, but no application source excerpts; links for documented, unsampled integrations are therefore limited to README-supported behavior.
Main entry points: nagios.cfg Nagios Core · apache/run Apache service · nsca/run NSCA receiver · nagios/run Nagios service
Components 23
Container services
- Nagios service
overlay/etc/sv/nagios/run - Apache service
overlay/etc/sv/apache/run - Postfix service
overlay/etc/sv/postfix/run - rsyslog service
overlay/etc/sv/rsyslog/run
Monitoring workflow
- Nagios Core
overlay/opt/nagios/etc/nagios.cfg - Nagios Plugins
plugins/check_apc.pl
Monitoring integrations
- NagiosGraph
overlay/opt/nagiosgraph/etc - Graph selection fix
overlay/opt/nagiosgraph/etc/fix-nagiosgraph-multiple-selection.sh - NRPE agent checks
- NCPA agent checks
- NSCA receiver
overlay/etc/sv/nsca/run - NSCA xinetd config
overlay/etc/xinetd.d/nsca - NagiosTV display
Configuration and results
- Check definitions
overlay/opt/nagios/etc/objects/localhost.cfg - Command definitions
overlay/opt/nagios/etc/objects/commands.cfg - Object templates
overlay/opt/nagios/etc/objects/templates.cfg - Web access config
overlay/opt/nagios/etc/cgi.cfg
Other components
- Operator
- Nagios container
- Monitored hosts
- Passive check senders
- Web users
- Mail relay
Connections 22
- Operator → Nagios container: starts container
- Nagios service → Nagios Core: starts
- Nagios Core → Check definitions: uses checks
- Nagios Core → Command definitions: uses commands
- Nagios Core → Object templates: uses templates
- Nagios Core → Nagios Plugins: runs checks
- Nagios Core → NRPE agent checks: requests remote checks
- Monitored hosts → NRPE agent checks: run agent
- Monitored hosts → NCPA agent checks: run agent
- Nagios Core → NCPA agent checks: requests remote checks
- Passive check senders → NSCA receiver: submit results
- NSCA xinetd config → NSCA receiver: configures access
- NSCA receiver → Nagios Core: delivers passive results
- Web users → Apache service: request interface
- Apache service → Web access config: uses access config
- Apache service → Nagios Core: serves monitoring interface
- Nagios Core → NagiosGraph: provides monitoring data
- NagiosGraph → Graph selection fix: includes selection fix
- NagiosTV display → Nagios Core: displays monitoring
- Nagios Core → Postfix service: sends notifications
- Postfix service → Mail relay: relays mail
- Nagios service → rsyslog service: logs through