Development
This commit is contained in:
parent
6f0dac01b0
commit
e9166d8a6a
3 changed files with 159 additions and 159 deletions
|
|
@ -50,15 +50,28 @@
|
|||
"type": "stat_card",
|
||||
"label": "DHCP Leases",
|
||||
"value": "%STAT_LEASE_COUNT%",
|
||||
"sub": "active leases",
|
||||
"sub": "%STAT_LEASES_LINK%",
|
||||
"variant": "accent"
|
||||
},
|
||||
{
|
||||
"type": "stat_card",
|
||||
"label": "DNS Queries",
|
||||
"value": "%DNS_STAT_QUERIES%",
|
||||
"sub": "since %DNS_METRICS_SINCE%"
|
||||
},
|
||||
{
|
||||
"type": "stat_card",
|
||||
"label": "DNS Cache",
|
||||
"value": "%DNS_STAT_HITS% (%DNS_STAT_HIT_RATE% hit rate)",
|
||||
"sub": "cache size: %DNS_CACHE_SIZE%, evictions: %DNS_STAT_CACHE_EVICTIONS%"
|
||||
},
|
||||
{
|
||||
"type": "stat_card",
|
||||
"label": "Queries Blocked",
|
||||
"value": "%STAT_BLOCKED_TODAY%",
|
||||
"sub": "in last 24h",
|
||||
"variant": "warning"
|
||||
"value": "%STAT_BLOCKED_ALLTIME%",
|
||||
"sub": "all time",
|
||||
"variant": "warning",
|
||||
"data_requirement": "HAS_QUERY_LOGGING"
|
||||
},
|
||||
{
|
||||
"type": "stat_card",
|
||||
|
|
@ -68,126 +81,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "card",
|
||||
"label": "Network",
|
||||
"client_requirement": "client_is_viewer+",
|
||||
"items": [
|
||||
{
|
||||
"type": "grid",
|
||||
"rows": [
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"type": "grid_label",
|
||||
"text": "WAN Interface"
|
||||
},
|
||||
{
|
||||
"type": "grid_value",
|
||||
"text": "%GENERAL_WAN_INTERFACE%"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"type": "grid_label",
|
||||
"text": "VLANs"
|
||||
},
|
||||
{
|
||||
"type": "grid_value",
|
||||
"text": "%OVERVIEW_VLAN_NAMES%"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"type": "grid_label",
|
||||
"text": "Firewall"
|
||||
},
|
||||
{
|
||||
"type": "grid_value",
|
||||
"text": "%STAT_NFTABLES_STATUS%"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"type": "grid_label",
|
||||
"text": "System Uptime"
|
||||
},
|
||||
{
|
||||
"type": "grid_value",
|
||||
"text": "%STAT_UPTIME%"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "card",
|
||||
"label": "DNS Blocking",
|
||||
"client_requirement": "client_is_viewer+",
|
||||
"items": [
|
||||
{
|
||||
"type": "grid",
|
||||
"rows": [
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"type": "grid_label",
|
||||
"text": "Blocked Domains"
|
||||
},
|
||||
{
|
||||
"type": "grid_value",
|
||||
"text": "%STAT_BLOCKED_DOMAINS%"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"type": "grid_label",
|
||||
"text": "Active Blocklists"
|
||||
},
|
||||
{
|
||||
"type": "grid_value",
|
||||
"text": "%STAT_BLOCKLIST_COUNT% lists"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"type": "grid_label",
|
||||
"text": "Last Refreshed"
|
||||
},
|
||||
{
|
||||
"type": "grid_value",
|
||||
"text": "%STAT_BL_LAST_UPDATE%"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"type": "grid_label",
|
||||
"text": "Active IP Bans"
|
||||
},
|
||||
{
|
||||
"type": "grid_value",
|
||||
"text": "%STAT_BANNED_IP_COUNT% rules"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "card",
|
||||
"label": "DNS Statistics",
|
||||
|
|
@ -245,6 +138,30 @@
|
|||
"html": "%DNS_PROVIDERS_TABLE%"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "card",
|
||||
"label": "Blocked Domains",
|
||||
"client_requirement": "client_is_viewer+",
|
||||
"data_requirement": "HAS_QUERY_LOGGING",
|
||||
"items": [
|
||||
{
|
||||
"type": "raw_html",
|
||||
"html": "%BLOCKED_DOMAINS_TABLE%"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "card",
|
||||
"label": "Client Activity",
|
||||
"client_requirement": "client_is_viewer+",
|
||||
"data_requirement": "HAS_QUERY_LOGGING",
|
||||
"items": [
|
||||
{
|
||||
"type": "raw_html",
|
||||
"html": "%CLIENT_ACTIVITY_TABLE%"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue