https://github.com/melvintivane/home-lab-noc
A production-ready Network Operations Center (NOC) simulation environment with automated monitoring, alerting, and remediation capabilities.
https://github.com/melvintivane/home-lab-noc
bash-scripting nagios noc
Last synced: 3 months ago
JSON representation
A production-ready Network Operations Center (NOC) simulation environment with automated monitoring, alerting, and remediation capabilities.
- Host: GitHub
- URL: https://github.com/melvintivane/home-lab-noc
- Owner: melvintivane
- License: other
- Created: 2025-03-20T20:25:15.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-20T20:32:35.000Z (7 months ago)
- Last Synced: 2025-03-20T22:02:50.097Z (7 months ago)
- Topics: bash-scripting, nagios, noc
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Home Lab NOC System

A production-ready Network Operations Center (NOC) simulation environment with automated monitoring, alerting, and remediation capabilities.
## 🌟 Features
- Real-time infrastructure monitoring using Nagios Core
- Multi-channel alert system (Slack + Email)
- Automated incident remediation scripts
- Docker-based isolated environment
- Custom network health checks
- Historical performance metrics
- CI/CD-ready configuration## 🛠 Tech Stack
**Core:** Nagios 4.x • Docker • Bash
**Integrations:** Slack API • SMTP • Webhooks
**Datastores:** MySQL • Flat-file logging
**Monitoring:** CPU/Memory/Disk metrics • Service status • Network latency## 📊 Monitored Metrics
- Host Availability
- CPU/Memory Usage
- Disk Space
- Service Status (HTTP, SSH, MySQL)
- Network Latency## 🚀 Getting Started
1. Clone the repository
```bash
git clone https://github.com/melvintivane/home-lab-noc.git
cd home-lab-noc
```2. Configure environment variables
```bash
cp .env.example .env
nano .env # Preencha os valores
```3. Start containers
```bash
docker-compose up -d
```4. Access o Nagios
```bash
http://localhost:8080/nagios
Username: admin
Password: admin
```## 🛠️ Customization
Add new hosts in
```bash
nano nagios-config/hosts.cfg
```Create new service checks
```bash
nano nagios-config/services.cfg
```## To Use the System
1. Create .env file from example
```bash
# .env.example
SLACK_WEBHOOK=https://hooks.slack.com/services/...
SLACK_CHANNEL=#alerts
DB_PASS=SecurePassword123
```2. Run the complete stack
```bash
docker-compose up -d
```