We use analytics and marketing cookies to understand how Grip OS is discovered and used. No data leaves your device without consent. Cookie Policy

All Recipes

Daily Metrics Snapshot

Collects CPU, memory, request count, and error rate metrics from fleet machines, then writes a timestamped snapshot to a metrics log. Use this to build historical baselines for capacity planning and anomaly detection.

intermediate
Scheduled (Cron)
2 steps
30 seconds

Steps

1

Collect system metrics from all machines

fleet_batch_execute via gripos-mcp

2

Append metrics to daily log

fleet_batch_execute via gripos-mcp

Recipe JSON

{"schedule":"0 */1 * * *","steps":[{"tool":"fleet_batch_execute","args":{"command":"system_metrics_collector"},"output_as":"metrics"},{"tool":"fleet_batch_execute","args":{"command":"echo '{{metrics}}' >> ~/.gripos/metrics/daily-$(date +%Y-%m-%d).jsonl"},"output_as":"write_result"}]}

Prerequisites

  • Fleet machines accessible

Run this recipe in Grip OS

Copy the JSON above, paste it into your Grip OS config, and it runs on schedule or on demand.