{ "module": "zfs", "version": "1", "capabilities": [ "service-manager" ], "emits": [ "snapshot.taken" ], "tools": [ "zfs_datasets", "zfs_snapshots", "zfs_snapshot", "zfs_pools", "zfs_space", "zfs_pool_layout", "zfs_scrub", "zfs_io", "zfs_arc", "zfs_events", "zfs_properties", "zfs_health" ], "replaces": { "zfs_datasets": [ "zfs list" ], "zfs_snapshots": [ "zfs list -t snapshot" ], "zfs_snapshot": [ "zfs snapshot" ], "zfs_pools": [ "zpool list", "zpool status -x" ], "zfs_space": [ "zfs list -o space", "zpool list -v" ], "zfs_pool_layout": [ "zpool status", "zpool status -v" ], "zfs_scrub": [ "zpool history -i" ], "zfs_io": [ "zpool iostat", "zpool iostat -v" ], "zfs_arc": [ "arcstat", "arc_summary", "cat /proc/spl/kstat/zfs/arcstats" ], "zfs_events": [ "zpool events", "zpool events -v" ], "zfs_properties": [ "zfs get all", "zfs get" ] }, "resources": [ { "id": "watch", "type": "process", "name": "zfs-watch", "artifact": "tools", "run": [ "./zfs-tools", "watch" ], "health": { "kind": "tool", "tool": "zfs_health", "interval": "60s", "timeout": "20s", "looks": 2, "grace": "60s" } }, { "id": "events", "type": "process", "name": "zfs-events", "artifact": "tools", "run": [ "./zfs-tools", "events" ], "health": { "kind": "unit" } } ], "build": { "artifacts": [ { "name": "tools", "kind": "bundle", "language": "go", "system": "arch", "from": "cmd/zfs-tools", "binary": "zfs-tools", "loads": [ "zfs-tools" ] } ] } }