Nagios
Products
- Nagios Core: Pure open-source monitoring engine
- Nagios CSP: “Core Services Platform” — a bundled download of Core + plugins + agents + a free, limited XI VM
- Nagios XI: Commercial, enterprise-grade monitoring solution built on Nagios Core
Docs
📄️ Install w/ Docker Compose
Install Nagios Core with Docker Compose
📄️ Configure Alerts
Configure Email
📄️ Troubleshooting
Check the logs
Core structure
| Component | Role |
|---|---|
| Nagios Core | Main process (schedules/runs checks, handles alerts) |
| Configuration | Defines what/how/when to monitor |
| Plugins | Do the actual monitoring |
| Web Interface | Visualizes status, logs, actions |
| Notifications | Alerts users to issues |
| Event Handlers | Automate recovery steps |
Monitoring Architecture Diagram
┌──────────────────────────┐
│ Admin/Operator │
│ (uses web interface) │
└───────────┬──────────────┘
│
(Web Browser)
│
┌───────────▼────────────┐
│ Nagios Core Server │
│ (Central Monitoring) │
├────────────────────────┤
│ Configuration Files │
│ Plugins │
│ Notification System │
│ Event Handlers │
└───────────┬────────────┘
(Active Checks) │ (Passive Results)
│
┌──────────────┬──────────────┼──────────────┬─────────────┐
│ │ │ │ │
┌─────────▼──────┐┌──────▼────────┐┌────▼─────┐┌──────▼────────┐┌────▼─────┐
│Linux Host 1 ││Windows Host 2 ││Network ││Remote Location││DMZ Server │
│(w/ NRPE agent) ││(w/ NSClient++)││Device ││with Nagios ││(Agentless)│
│ ││ ││(via SNMP)││Proxy/Satellite││ │
└─────┬──────────┘└──────┬────────┘└────┬─────┘└──────┬────────┘└────┬──────┘
│ │ │ │ │
│ (NRPE Plugin) │ (NSClient++) │ (SNMP) │ (NSCA/NRDP) │ (Ping/HTTP)
└──────────────────┴──────────────┴─────────────┴──────────────┴──────────┘
TBD
- NRPE Setup for Remote Checks
- Network monitoring
- Groups
- Configuring Event Handlers
- Nagios Plugins
- Maintenance and upgrades
- Troubleshooting