Network Monitor

מערכת ניטור רשת מתקדמת

גרסה 2.4.0 עודכן: 15/02/2025

סקירה כללית

מערכת ניטור רשת מקיפה המשלבת Prometheus, Grafana ו-ELK Stack. מספקת ניטור בזמן אמת, התראות, וניתוח ביצועים מתקדם של תשתיות רשת.

תכונות עיקריות

  • ניטור בזמן אמת
  • ניתוח תעבורה
  • התראות חכמות
  • דשבורדים מותאמים אישית

ארכיטקטורה

Data Collection

  • Node Exporter
  • Blackbox Exporter
  • SNMP Exporter
  • Custom Collectors

Storage & Processing

  • Prometheus
  • Elasticsearch
  • InfluxDB
  • Redis Cache

Visualization

  • Grafana
  • Kibana
  • Custom Dashboards
  • Alert Manager

הוראות התקנה


# Clone repository
git clone https://github.com/devops-israel/network-monitor

# Deploy with Docker Compose
docker-compose up -d

# Configure exporters
./configure-exporters.sh

# Access dashboard
http://localhost:3000
                    

קונפיגורציית ניטור


# prometheus.yml
global:
  scrape_interval: 15s
  evaluation_interval: 15s

scrape_configs:
  - job_name: 'node'
    static_configs:
      - targets: ['localhost:9100']

  - job_name: 'network'
    static_configs:
      - targets: ['localhost:9115']

  - job_name: 'snmp'
    static_configs:
      - targets: ['router1:161', 'switch1:161']

alerting:
  alertmanagers:
    - static_configs:
        - targets: ['localhost:9093']
                    

מטריקות מרכזיות

Network Performance

  • Bandwidth Usage
  • Packet Loss
  • Latency
  • Error Rates

System Health

  • CPU Usage
  • Memory Usage
  • Disk I/O
  • System Load

Application Metrics

  • Response Times
  • Request Rates
  • Error Rates
  • Success Rates

הגדרת התראות


# alertmanager.yml
groups:
  - name: network_alerts
    rules:
      - alert: HighLatency
        expr: probe_duration_seconds > 1
        for: 5m
        labels:
          severity: warning
        annotations:
          summary: High latency detected
          
      - alert: PacketLoss
        expr: probe_success == 0
        for: 5m
        labels:
          severity: critical
        annotations:
          summary: Packet loss detected
                    

דשבורדים מובנים

Network Overview

תצוגה כללית של ביצועי הרשת

System Metrics

ניטור משאבי מערכת

Application Performance

ביצועי אפליקציות