# GuruRMM Agent Configuration # Copy this file to agent.toml and configure with your server details # ============================================ # Server Connection # ============================================ [server] # WebSocket URL for the GuruRMM server # Use wss:// for production (TLS), ws:// for local development url = "wss://rmm.yourdomain.com/ws" # API key obtained from server during agent registration # Keep this secret! Do not commit to version control. api_key = "grmm_your_api_key_here" # Optional: Override the hostname reported to the server # hostname_override = "custom-hostname" # ============================================ # Metrics Collection # ============================================ [metrics] # Interval between metrics reports (in seconds) # Minimum: 10, Default: 60 interval_seconds = 60 # Enable/disable specific metric types collect_cpu = true collect_memory = true collect_disk = true collect_network = true # ============================================ # Watchdog Configuration # ============================================ [watchdog] # Enable service/process monitoring enabled = true # Interval between watchdog checks (in seconds) # Minimum: 5, Default: 30 check_interval_seconds = 30 # ============================================ # Services to Monitor # ============================================ # Datto RMM Agent Service [[watchdog.services]] name = "CagService" action = "restart" # "restart", "alert", or "ignore" max_restarts = 3 # Max restarts before alerting restart_cooldown_seconds = 60 # Syncro Agent Service [[watchdog.services]] name = "Syncro" action = "restart" max_restarts = 3 restart_cooldown_seconds = 60 # ConnectWise ScreenConnect (optional) # [[watchdog.services]] # name = "ScreenConnect Client (xxxxxxxx)" # action = "restart" # max_restarts = 3 # restart_cooldown_seconds = 60 # ============================================ # Processes to Monitor # ============================================ # Datto AEM Process [[watchdog.processes]] name = "AEM.exe" action = "alert" # "alert" only for processes (can't auto-restart) # start_command = "C:\\Path\\To\\AEM.exe" # Optional: command to start process