Agent Configuration
Configuration File
Location varies by platform:
| Platform | Path |
|---|---|
| Linux | /var/lib/slimrmm/.slimrmm_config.json |
| macOS | /var/lib/slimrmm/.slimrmm_config.json |
| Windows | Registry: HKLM\SOFTWARE\SlimRMM\Agent |
Configuration Options
json
{
"server": "https://rmm.example.com",
"uuid": "agent-uuid",
"mtls_enabled": true,
"log_level": "info",
"heartbeat_interval": 30,
"scan_interval": 1800
}Options
| Option | Type | Default | Description |
|---|---|---|---|
server | string | - | Server URL |
uuid | string | - | Agent UUID (auto-generated) |
mtls_enabled | bool | true | Use mTLS authentication |
log_level | string | info | debug, info, warn, error |
heartbeat_interval | int | 30 | Seconds between heartbeats |
scan_interval | int | 1800 | Seconds between inventory scans |
Certificate Paths
| Platform | Certificate | Key |
|---|---|---|
| Linux/macOS | /var/lib/slimrmm/cert.pem | /var/lib/slimrmm/key.pem |
| Windows | %ProgramData%\SlimRMM\certs\cert.pem | %ProgramData%\SlimRMM\certs\key.pem |
Environment Variables
Override config via environment:
bash
export SLIMRMM_SERVER=https://rmm.example.com
export SLIMRMM_LOG_LEVEL=debugCommand Line Flags
bash
slimrmm-agent --help
Flags:
--server URL Server URL
--debug Enable debug logging
--install Install as service
--uninstall Uninstall service
--version Show version
--configure Configure agent
--token TOKEN Enrollment token