mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Optimize assets dashboard requests
This commit is contained in:
parent
7426a03d04
commit
6290c4e724
1 changed files with 9 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
"id" : "assets_count",
|
||||
"i18n_name" : "", "color" : "primary", "inactive_color" : "secondary",
|
||||
"width" : 4, "height" : 2,
|
||||
"datasource_id" : "assets_overview",
|
||||
"params" : {
|
||||
"url" : "/lua/pro/rest/v2/get/host/assets_dashboard/overview.lua",
|
||||
"url_params" : {},
|
||||
|
|
@ -22,6 +23,7 @@
|
|||
"id" : "assets_count",
|
||||
"i18n_name" : "", "color" : "success", "inactive_color" : "secondary",
|
||||
"width" : 4, "height" : 2,
|
||||
"datasource_id" : "assets_overview",
|
||||
"params" : {
|
||||
"url" : "/lua/pro/rest/v2/get/host/assets_dashboard/overview.lua",
|
||||
"url_params" : {},
|
||||
|
|
@ -37,6 +39,7 @@
|
|||
"id" : "assets_count",
|
||||
"i18n_name" : "", "color" : "warning", "inactive_color" : "secondary",
|
||||
"width" : 4, "height" : 2,
|
||||
"datasource_id" : "assets_overview",
|
||||
"params" : {
|
||||
"url" : "/lua/pro/rest/v2/get/host/assets_dashboard/overview.lua",
|
||||
"url_params" : {},
|
||||
|
|
@ -52,6 +55,7 @@
|
|||
"id" : "dns_server_count",
|
||||
"i18n_name" : "", "color" : "info", "inactive_color" : "secondary",
|
||||
"width" : 2, "height" : 2,
|
||||
"datasource_id" : "assets_overview",
|
||||
"params" : {
|
||||
"url" : "/lua/pro/rest/v2/get/host/assets_dashboard/overview.lua",
|
||||
"url_params" : {},
|
||||
|
|
@ -69,6 +73,7 @@
|
|||
"id" : "dhcp_server_count",
|
||||
"i18n_name" : "", "color" : "info", "inactive_color" : "secondary",
|
||||
"width" : 2, "height" : 2,
|
||||
"datasource_id" : "assets_overview",
|
||||
"params" : {
|
||||
"url" : "/lua/pro/rest/v2/get/host/assets_dashboard/overview.lua",
|
||||
"url_params" : {},
|
||||
|
|
@ -86,6 +91,7 @@
|
|||
"id" : "ntp_server_server_count",
|
||||
"i18n_name" : "", "color" : "info", "inactive_color" : "secondary",
|
||||
"width" : 2, "height" : 2,
|
||||
"datasource_id" : "assets_overview",
|
||||
"params" : {
|
||||
"url" : "/lua/pro/rest/v2/get/host/assets_dashboard/overview.lua",
|
||||
"url_params" : {},
|
||||
|
|
@ -103,6 +109,7 @@
|
|||
"id" : "smtp_server_count",
|
||||
"i18n_name" : "", "color" : "info", "inactive_color" : "secondary",
|
||||
"width" : 2, "height" : 2,
|
||||
"datasource_id" : "assets_overview",
|
||||
"params" : {
|
||||
"url" : "/lua/pro/rest/v2/get/host/assets_dashboard/overview.lua",
|
||||
"url_params" : {},
|
||||
|
|
@ -120,6 +127,7 @@
|
|||
"id" : "imap_server_count",
|
||||
"i18n_name" : "", "color" : "info", "inactive_color" : "secondary",
|
||||
"width" : 2, "height" : 2,
|
||||
"datasource_id" : "assets_overview",
|
||||
"params" : {
|
||||
"url" : "/lua/pro/rest/v2/get/host/assets_dashboard/overview.lua",
|
||||
"url_params" : {},
|
||||
|
|
@ -137,6 +145,7 @@
|
|||
"id" : "pop_server_count",
|
||||
"i18n_name" : "", "color" : "info", "inactive_color" : "secondary",
|
||||
"width" : 2, "height" : 2,
|
||||
"datasource_id" : "assets_overview",
|
||||
"params" : {
|
||||
"url" : "/lua/pro/rest/v2/get/host/assets_dashboard/overview.lua",
|
||||
"url_params" : {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue