Monitoring
Configure alerts and monitoring policies.
Monitoring Policies
Create policies to alert on system conditions.
Available Metrics
| Metric | Description | Threshold |
|---|---|---|
| Agent Offline | Agent hasn't checked in | Minutes |
| CPU Usage | Average CPU percentage | Percent |
| Memory Usage | RAM utilization | Percent |
| Disk Usage | Disk space used | Percent |
Creating a Policy
- Navigate to Admin → Monitoring
- Click Create Policy
- Configure:
- Name and description
- Metric and threshold
- Target agents (all, folder, tag)
- Notification channels
Example Policies
High CPU Alert
json
{
"name": "High CPU Alert",
"metric": "cpu_usage",
"operator": "greater_than",
"threshold": 90,
"duration": 300,
"targets": ["all"],
"notifications": ["email", "pushover"]
}Agent Offline
json
{
"name": "Agent Offline",
"metric": "agent_offline",
"threshold": 5,
"targets": ["folder:production"],
"notifications": ["email"]
}Notification Channels
Configure in Admin → Integrations:
- Email: SMTP server configuration
- Pushover: Push notifications
- Webhooks: Custom integrations
Viewing Alerts
Active alerts appear in:
- Dashboard notifications
- Agents list (status indicator)
- Agent detail page
Alert History
View past alerts in Admin → Logs → Alerts