Files
ITWorx Pulse release export bd774932d5
Public source validation / validate (push) Failing after 3m8s
Publish ITWorx Pulse source
2026-09-03 02:09:19 +02:00

61 lines
1.4 KiB
JSON

{
"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."
}
]
}