fix(traffic): сохранять историю отключённых интерфейсов

This commit is contained in:
Denozordec committed 2026-10-12 23:00:23 +07:00
1 parent c69d99ba80
commit a40b26c3c5
16 files changed
+1763 -14

No files matched your search

@@ -0,0 +1,235 @@
{
"date": "2026-10-12",
"block": "12.5.184",
"kind": "Read-only fixed formulas; SQL acceptance required",
"sourceSha256": "b5d93f8d6118bb7a3bd442e624719da4a049878e4424447a7c9d5f7a72da0029",
"runtimeWrites": 0,
"routerCommands": 0,
"cases": [
{
"state": "inactive",
"inputs": [
{
"interfaceName": "ether1",
"sampledAt": "2026-10-12T12:00:00.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether1",
"sampledAt": "2026-10-12T12:00:30.000Z",
"rxBytes": 1024,
"txBytes": 1024,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether1",
"sampledAt": "2026-10-12T12:01:00.000Z",
"rxBytes": 2048,
"txBytes": 2048,
"rxBps": 0,
"txBps": 0,
"running": false,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether2",
"sampledAt": "2026-10-12T12:00:00.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether2",
"sampledAt": "2026-10-12T12:00:30.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether2",
"sampledAt": "2026-10-12T12:01:00.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
}
],
"aggregateBytes": 2048,
"detailBytes": 2048,
"aggregateHasKnownHistory": true,
"omittedKnownBytes": 0
},
{
"state": "disabled",
"inputs": [
{
"interfaceName": "ether1",
"sampledAt": "2026-10-12T12:00:00.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether1",
"sampledAt": "2026-10-12T12:00:30.000Z",
"rxBytes": 1024,
"txBytes": 1024,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether1",
"sampledAt": "2026-10-12T12:01:00.000Z",
"rxBytes": 2048,
"txBytes": 2048,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": true,
"countersKnown": true
},
{
"interfaceName": "ether2",
"sampledAt": "2026-10-12T12:00:00.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether2",
"sampledAt": "2026-10-12T12:00:30.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether2",
"sampledAt": "2026-10-12T12:01:00.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
}
],
"aggregateBytes": 2048,
"detailBytes": 2048,
"aggregateHasKnownHistory": true,
"omittedKnownBytes": 0
},
{
"state": "active",
"inputs": [
{
"interfaceName": "ether1",
"sampledAt": "2026-10-12T12:00:00.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether1",
"sampledAt": "2026-10-12T12:00:30.000Z",
"rxBytes": 1024,
"txBytes": 1024,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether1",
"sampledAt": "2026-10-12T12:01:00.000Z",
"rxBytes": 2048,
"txBytes": 2048,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether2",
"sampledAt": "2026-10-12T12:00:00.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether2",
"sampledAt": "2026-10-12T12:00:30.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
},
{
"interfaceName": "ether2",
"sampledAt": "2026-10-12T12:01:00.000Z",
"rxBytes": 0,
"txBytes": 0,
"rxBps": 0,
"txBps": 0,
"running": true,
"disabled": false,
"countersKnown": true
}
],
"aggregateBytes": 2048,
"detailBytes": 2048,
"aggregateHasKnownHistory": true,
"omittedKnownBytes": 0
}
]
}