bansho/app/components/config/defaultLayoutConfig.json

640 lines
27 KiB
JSON

{
"banshoConfig": {
"theme": "dark"
},
"dashboardConfig": {
"template": "page",
"components": [
{
"type": "tactical",
"attributes": {
"title": "Tactical Overview",
"statusOverview": true,
"currentHealth": true,
"topAlertProducers": false
}
},
{
"type": "tabpanel",
"attributes": {
"navigation": [
{
"title": "Open Problems",
"panelId": "openProblems",
"provider": "nbServicesHostsOpenProblems"
},
{
"title": "All Problems",
"panelId": "allProblems",
"provider": "nbServicesHostsOpenProblemsDoubleCount"
}
]
},
"components": [
{
"type": "panel",
"attributes": {
"panelId": "openProblems"
},
"components": [
{
"type": "actionbar",
"attributes": {
"tableId": [
0,
1
]
},
"components": [
{
"type": "actionbar-filter",
"attributes": {
"filters": [
{
"location": "componentsConfig",
"content": "all"
},
{
"location": "componentsConfig",
"content": "allOk"
},
{
"location": "componentsConfig",
"content": "allNotOk"
}
]
}
},
{
"type": "actionbar-acknowledge",
"attributes": {}
},
{
"type": "actionbar-downtime",
"attributes": {}
},
{
"type": "actionbar-recheck",
"attributes": {}
},
{
"type": "actionbar-more",
"attributes": {}
},
{
"type": "actionbar-search-filter",
"attributes": {}
}
]
},
{
"type": "title",
"attributes": {
"title": "Open hosts problems",
"item": "host",
"provider": "nbHostsOpenProblems"
}
},
{
"type": "table",
"attributes": {
"tableId": 0,
"cells": {
"text": [
"Host",
"Address",
"Duration",
"Last check",
"Host status"
],
"name": [
"status_host",
"status_host_address",
"status_duration",
"status_last_check",
"status_host_status"
]
},
"headerFollow": false,
"inputSource": "hostOpenProblems",
"isWrappable": false,
"checkColumn": true,
"noRepeatCell": ""
}
},
{
"type": "title",
"attributes": {
"title": "Open Service Problems",
"item": "service",
"provider": "nbServicesOpenProblemsOnly"
}
},
{
"type": "table",
"attributes": {
"tableId": 1,
"cells": {
"text": [
"Host",
"Service check",
"Duration",
"Last check"
],
"name": [
"status_host",
"status_service_check",
"status_duration",
"status_last_check"
]
},
"headerFollow": false,
"inputSource": "serviceOpenProblemsOnly",
"isWrappable": true,
"checkColumn": true,
"noRepeatCell": "host"
}
}
]
},
{
"type": "panel",
"attributes": {
"panelId": "allProblems",
"provider": "nbServicesHostsOpenProblems"
},
"components": [
{
"type": "actionbar",
"attributes": {
"tableId": [
2,
3
]
},
"components": [
{
"type": "actionbar-filter",
"attributes": {
"filters": [
{
"location": "componentsConfig",
"content": "all"
},
{
"location": "componentsConfig",
"content": "allOk"
},
{
"location": "componentsConfig",
"content": "allNotOk"
}
]
}
},
{
"type": "actionbar-acknowledge",
"attributes": {}
},
{
"type": "actionbar-downtime",
"attributes": {}
},
{
"type": "actionbar-recheck",
"attributes": {}
},
{
"type": "actionbar-more",
"attributes": {}
},
{
"type": "actionbar-search-filter",
"attributes": {}
}
]
},
{
"type": "title",
"attributes": {
"title": "Hosts problems",
"item": "host",
"provider": "nbHostsOpenProblems"
}
},
{
"type": "table",
"attributes": {
"tableId": 2,
"cells": {
"text": [
"Host",
"Address",
"Duration",
"Lastcheck",
"Hoststatus"
],
"name": [
"status_host",
"status_host_address",
"status_duration",
"status_last_check",
"status_host_status"
]
},
"headerFollow": false,
"inputSource": "hostsProblems",
"isWrappable": false,
"checkColumn": true,
"noRepeatCell": ""
}
},
{
"type": "title",
"attributes": {
"title": "Services problems",
"item": "service",
"provider": "nbServicesOpenProblems"
}
},
{
"type": "table",
"attributes": {
"tableId": 3,
"cells": {
"text": [
"Host",
"Service check",
"Duration",
"Last check"
],
"name": [
"status_host",
"status_service_check",
"status_duration",
"status_last_check"
]
},
"headerFollow": false,
"inputSource": "servicesProblems",
"isWrappable": true,
"checkColumn": true,
"noRepeatCell": "host"
}
}
]
}
]
}
]
},
"liveHosts": {
"template": "page",
"components": [
{
"type": "panel",
"components": [
{
"type": "title",
"attributes": {
"title": "Hosts"
}
},
{
"type": "actionbar",
"attributes": {
"tableId": [
0
]
},
"components": [
{
"type": "actionbar-filter",
"attributes": {
"filters": [
{
"location": "componentsConfig",
"content": "all"
},
{
"location": "componentsConfig",
"content": "hostOk"
},
{
"location": "componentsConfig",
"content": "hostNotOk"
}
]
}
},
{
"type": "actionbar-acknowledge",
"attributes": {}
},
{
"type": "actionbar-downtime",
"attributes": {}
},
{
"type": "actionbar-recheck",
"attributes": {}
},
{
"type": "actionbar-more",
"attributes": {}
},
{
"type": "actionbar-search-filter",
"attributes": {}
}
]
},
{
"type": "table",
"attributes": {
"tableId": 0,
"cells": {
"text": [
"Host",
"Address",
"Duration",
"Last check",
"Host status"
],
"name": [
"status_host",
"status_host_address",
"status_duration",
"status_last_check",
"status_host_status"
]
},
"headerFollow": true,
"inputSource": "hosts",
"isWrappable": false,
"noRepeatCell": "",
"checkColumn": true
}
}
]
}
]
},
"liveServices": {
"template": "page",
"components": [
{
"type": "panel",
"components": [
{
"type": "title",
"attributes": {
"title": "Services"
}
},
{
"type": "actionbar",
"attributes": {
"tableId": [
0
]
},
"components": [
{
"type": "actionbar-filter",
"attributes": {
"filters": [
{
"location": "componentsConfig",
"content": "all"
},
{
"location": "componentsConfig",
"content": "serviceOk"
},
{
"location": "componentsConfig",
"content": "serviceNotOk"
}
]
}
},
{
"type": "actionbar-acknowledge",
"attributes": {}
},
{
"type": "actionbar-downtime",
"attributes": {}
},
{
"type": "actionbar-recheck",
"attributes": {}
},
{
"type": "actionbar-more",
"attributes": {}
},
{
"type": "actionbar-search-filter",
"attributes": {}
}
]
},
{
"type": "table",
"attributes": {
"tableId": 0,
"cells": {
"text": [
"Host",
"Service check",
"Duration",
"Last check"
],
"name": [
"status_host",
"status_service_check",
"status_duration",
"status_last_check"
]
},
"headerFollow": true,
"inputSource": "services",
"isWrappable": false,
"checkColumn": true,
"noRepeatCell": "host"
}
}
]
}
]
},
"liveEvents": {
"template": "page",
"components": [
{
"type": "panel",
"components": [
{
"type": "title",
"attributes": {
"title": "Events"
}
},
{
"type": "actionbar",
"attributes": {
"tableId": [
0
]
},
"components": [
{
"type": "actionbar-filter",
"attributes": {
"filters": [
{
"location": "componentsConfig",
"content": "all"
},
{
"location": "componentsConfig",
"content": "allAlert"
},
{
"location": "componentsConfig",
"content": "allNotification"
}
]
}
},
{
"type": "actionbar-more",
"attributes": {}
},
{
"type": "actionbar-search-filter",
"attributes": {}
}
]
},
{
"type": "table",
"attributes": {
"tableId": 0,
"cells": {
"text": [
"Event type",
"Output",
"Hostname",
"Service",
"Time",
"Complete data"
],
"name": [
"status_event_event_type",
"status_event_output",
"status_event_host_name",
"status_event_service",
"status_event_time",
"status_event"
]
},
"headerFollow": true,
"inputSource": "events",
"isWrappable": false,
"checkColumn": false,
"noRepeatCell": ""
}
}
]
}
]
},
"host": {
"template": "host",
"components": [
{
"type": "panel",
"components": [
{
"type": "host",
"components": [
{
"type": "host-main",
"attributes": {}
},
{
"type": "host-live",
"attributes": {}
},
{
"type": "host-load",
"attributes": {}
},
{
"type": "host-cpu",
"attributes": {}
},
{
"type": "host-info",
"attributes": {}
},
{
"type": "host-services-list",
"attributes": {}
}
]
}
]
}
]
},
"service": {
"template": "service",
"components": [
{
"type": "panel",
"components": [
{
"type": "service",
"components": [
{
"type": "service-main",
"attributes": {}
},
{
"type": "service-live",
"attributes": {}
},
{
"type": "service-info",
"attributes": {}
},
{
"type": "service-graphs",
"attributes": {}
}
]
}
]
}
]
},
"drupal": {
"title": "Drupal",
"template": "drupal"
},
"drupalDashboard": {
"title": "Drupal dashboard",
"template": "drupal_dashboard",
"hostsMap": {
"drupal": "Wonderful Drupal Website"
}
},
"config": {
"template": "config"
}
}