mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
184 lines
5.6 KiB
JSON
184 lines
5.6 KiB
JSON
{
|
|
"name": "Assets Dashboard",
|
|
"readonly": true,
|
|
"components": [
|
|
{
|
|
"component" : "badge",
|
|
"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" : {},
|
|
"icon" : "fas fa-house-laptop",
|
|
"i18n_name" : "asset_details.total_assets",
|
|
"link" : { "url" : "/lua/pro/assets.lua", "url_params" : { } },
|
|
"counter_path" : "assets",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
{
|
|
"component" : "badge",
|
|
"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" : {},
|
|
"i18n_name" : "asset_details.dns_servers",
|
|
"link" : { "url" : "/lua/pro/assets.lua", "url_params" : { "server_type" : 0 } },
|
|
"counter_path" : "dns_servers",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
{
|
|
"component" : "badge",
|
|
"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" : {},
|
|
"i18n_name" : "asset_details.dhcp_servers",
|
|
"link" : { "url" : "/lua/pro/assets.lua", "url_params" : { "server_type" : 1 } },
|
|
"counter_path" : "dhcp_servers",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
{
|
|
"component" : "badge",
|
|
"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" : {},
|
|
"i18n_name" : "asset_details.ntp_servers",
|
|
"link" : { "url" : "/lua/pro/assets.lua", "url_params" : { "server_type" : 3 } },
|
|
"counter_path" : "ntp_servers",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
{
|
|
"component" : "badge",
|
|
"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" : {},
|
|
"i18n_name" : "asset_details.imap_servers",
|
|
"link" : { "url" : "/lua/pro/assets.lua", "url_params" : { "server_type" : 4 } },
|
|
"counter_path" : "imap_servers",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
{
|
|
"component" : "badge",
|
|
"id" : "http_server_count",
|
|
"i18n_name" : "", "color" : "info", "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" : {},
|
|
"i18n_name" : "asset_details.http_servers",
|
|
"link" : { "url" : "/lua/pro/assets.lua", "url_params" : { "server_type" : 6 } },
|
|
"counter_path" : "http_servers",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
{
|
|
"component" : "badge",
|
|
"id" : "ssh_server_count",
|
|
"i18n_name" : "", "color" : "info", "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" : {},
|
|
"i18n_name" : "asset_details.ssh_servers",
|
|
"link" : { "url" : "/lua/pro/assets.lua", "url_params" : { "server_type" : 7 } },
|
|
"counter_path" : "ssh_servers",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
{
|
|
"component" : "badge",
|
|
"id" : "rdp_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" : {},
|
|
"i18n_name" : "asset_details.rdp_servers",
|
|
"link" : { "url" : "/lua/pro/assets.lua", "url_params" : { "server_type" : 8 } },
|
|
"counter_path" : "rdp_servers",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
{
|
|
"component" : "badge",
|
|
"id" : "pop_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" : {},
|
|
"i18n_name" : "asset_details.pop_servers",
|
|
"link" : { "url" : "/lua/pro/assets.lua", "url_params" : { "server_type" : 5 } },
|
|
"counter_path" : "pop_servers",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
"component": "lateral-pie",
|
|
"id": "manufacturer_distribution",
|
|
"i18n_name": "asset_details.manufacturer_distribution",
|
|
"width": 4,
|
|
"height": 4,
|
|
"params": {
|
|
"url": "/lua/pro/rest/v2/get/host/assets_dashboard/manufacturer_distribution.lua",
|
|
"url_params": {}
|
|
}
|
|
},
|
|
{
|
|
"component": "bar",
|
|
"id": "devices_distribution",
|
|
"i18n_name": "asset_details.devices_distribution",
|
|
"width": 4,
|
|
"height": 4,
|
|
"params": {
|
|
"url": "/lua/pro/rest/v2/get/host/assets_dashboard/devices_distribution.lua",
|
|
"url_params": {}
|
|
}
|
|
},
|
|
{
|
|
"component": "bar",
|
|
"id": "oses_distribution",
|
|
"i18n_name": "asset_details.os_distribution",
|
|
"width": 4,
|
|
"height": 4,
|
|
"params": {
|
|
"url": "/lua/pro/rest/v2/get/host/assets_dashboard/oses_distribution.lua",
|
|
"url_params": {}
|
|
}
|
|
}
|
|
]
|
|
}
|