{
  "version": "2.0",
  "application": {
    "name": "NeuroPulse Monitor Pro",
    "port": 5000,
    "host": "0.0.0.0",
    "debug": false,
    "secret_key": "changez-cette-clé-en-production"
  },
  "monitoring": {
    "refresh_interval": 3000,
    "metrics_retention_days": 30,
    "log_file_path": "/var/log/syslog",
    "enable_real_time_alerts": true
  },
  "alert_thresholds": {
    "cpu": {
      "warning": 70,
      "critical": 90
    },
    "ram": {
      "warning": 80,
      "critical": 95
    },
    "disk": {
      "warning": 85,
      "critical": 95
    },
    "temperature": {
      "warning": 70,
      "critical": 85
    }
  },
  "services_to_monitor": [
    {
      "name": "apache2",
      "title": "Apache HTTP Server",
      "port": 80,
      "enabled": true,
      "criticality": "Critique"
    },
    {
      "name": "nginx",
      "title": "Nginx Web Server",
      "port": 80,
      "enabled": true,
      "criticality": "Critique"
    },
    {
      "name": "ssh",
      "title": "SSH Server",
      "port": 22,
      "enabled": true,
      "criticality": "Élevée"
    }
  ],
  "notifications": {
    "email": {
      "enabled": false,
      "smtp_server": "smtp.gmail.com",
      "smtp_port": 587,
      "username": "your-email@gmail.com",
      "password": "your-app-password",
      "to_emails": [
        "admin@yourdomain.com"
      ]
    },
    "slack": {
      "enabled": false,
      "webhook_url": "",
      "channel": "#monitoring"
    }
  },
  "backup": {
    "enabled": true,
    "schedule": "02:00",
    "retention_days": 30,
    "backup_directory": "/var/www/html/backups"
  }
}