Skip to content

Monitoring ​

Configure alerts and monitoring policies.

Monitoring Policies ​

Create policies to alert on system conditions.

Available Metrics ​

MetricDescriptionThreshold
Agent OfflineAgent hasn't checked inMinutes
CPU UsageAverage CPU percentagePercent
Memory UsageRAM utilizationPercent
Disk UsageDisk space usedPercent

Creating a Policy ​

  1. Navigate to Admin → Monitoring
  2. Click Create Policy
  3. 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:

  1. Dashboard notifications
  2. Agents list (status indicator)
  3. Agent detail page

Alert History ​

View past alerts in Admin → Logs → Alerts

Released under the MIT License.