mirror of
https://github.com/hansjone/netx.git
synced 2026-10-18 02:50:48 +08:00
add topology tool
This commit is contained in:
parent
99a262e348
commit
298859e608
8 changed files with 216 additions and 22 deletions
|
|
@ -437,9 +437,9 @@ def ume_diagnostics(
|
|||
return {
|
||||
"source": "ume_alarms_current",
|
||||
"total_alarms": len(rows),
|
||||
"severity_summary": [{"key": k, "count": v} for k, v in by_severity],
|
||||
"top_alarm_codes": [{"key": k, "count": v} for k, v in by_alarm_code],
|
||||
"top_ne": [{"key": k, "count": v} for k, v in by_ne],
|
||||
"severity_summary": by_severity,
|
||||
"top_alarm_codes": by_alarm_code,
|
||||
"top_ne": by_ne,
|
||||
"protocol_summary": [{"key": k, "count": v} for k, v in protocol_summary],
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue