{ "schemaVersion": 1, "id": "disk-temperature", "name": "Sustained disk temperature", "description": "Tests pending, firing, hysteresis and recovery.", "initialState": { "disk": { "id": "fixture-disk4", "temperatureC": 38, "smart": "healthy" } }, "timeline": [ { "atSeconds": 30, "action": "set-metric", "payload": { "metric": "storage.disk.temperature", "entity": "fixture-disk4", "value": 52 } }, { "atSeconds": 420, "action": "set-metric", "payload": { "metric": "storage.disk.temperature", "entity": "fixture-disk4", "value": 48 } }, { "atSeconds": 600, "action": "set-metric", "payload": { "metric": "storage.disk.temperature", "entity": "fixture-disk4", "value": 44 } } ], "expectedOutcomes": [ { "bySeconds": 120, "assertion": "Temperature rule is pending, not firing." }, { "bySeconds": 360, "assertion": "Temperature alert is firing." }, { "bySeconds": 500, "assertion": "Alert remains firing at 48 C because recovery threshold has not been crossed." }, { "bySeconds": 930, "assertion": "Alert resolves only after temperature stays below recovery threshold for the configured duration." } ] }