859 lines
35 KiB
JSON
859 lines
35 KiB
JSON
{
|
|
"banshoConfig": {
|
|
"theme": "dark"
|
|
},
|
|
"topbar": {
|
|
"template": "page",
|
|
"components": [
|
|
{
|
|
"type": "tabpanel",
|
|
"attributes": {
|
|
"navigation": [
|
|
{
|
|
"title": "Open problems",
|
|
"panelId": "openProblems",
|
|
"provider": "nbServicesHostsOpenProblems"
|
|
},
|
|
{
|
|
"title": "All problems",
|
|
"panelId": "allProblems",
|
|
"provider": "nbServicesHostsProblems"
|
|
}
|
|
]
|
|
},
|
|
"components": [
|
|
{
|
|
"type": "panel",
|
|
"attributes": {
|
|
"panelId": "openProblems"
|
|
},
|
|
"components": [
|
|
{
|
|
"type": "host-tree",
|
|
"attributes": {
|
|
"inputSource": [
|
|
"hostOpenProblems",
|
|
"serviceOpenProblemsOnly"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"attributes": {
|
|
"panelId": "openProblems"
|
|
},
|
|
"components": [
|
|
{
|
|
"type": "host-tree",
|
|
"attributes": {
|
|
"inputSource": [
|
|
"servicesProblems"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"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": "",
|
|
"pagingbar": false
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"pagingbar": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "",
|
|
"pagingbar": false
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"pagingbar": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"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,
|
|
"pagingbar": 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",
|
|
"pagingbar": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"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": "",
|
|
"pagingbar": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
},
|
|
"configHosts": {
|
|
"template": "page",
|
|
"components": [
|
|
{
|
|
"type": "panel",
|
|
"components": [
|
|
{
|
|
"type": "title",
|
|
"attributes": {
|
|
"title": "ConfigHosts"
|
|
}
|
|
},
|
|
{
|
|
"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-more",
|
|
"attributes": {}
|
|
},
|
|
{
|
|
"type": "actionbar-search-filter",
|
|
"attributes": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "table",
|
|
"attributes": {
|
|
"tableId": 0,
|
|
"refreshInterval": 30,
|
|
"cells": {
|
|
"text": [
|
|
"Host",
|
|
"Address",
|
|
"Use",
|
|
"Enable"
|
|
],
|
|
"name": [
|
|
"config_host",
|
|
"config_host_address",
|
|
"config_host_use",
|
|
"config_host_register"
|
|
]
|
|
},
|
|
"headerFollow": false,
|
|
"inputSource": "hostsConfig",
|
|
"isWrappable": false,
|
|
"noRepeatCell": "",
|
|
"checkColumn": false,
|
|
"pagingbar": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"configHostsTemplate": {
|
|
"template": "page",
|
|
"components": [
|
|
{
|
|
"type": "panel",
|
|
"components": [
|
|
{
|
|
"type": "title",
|
|
"attributes": {
|
|
"title": "Hosts Template"
|
|
}
|
|
},
|
|
{
|
|
"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-more",
|
|
"attributes": {}
|
|
},
|
|
{
|
|
"type": "actionbar-search-filter",
|
|
"attributes": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "table",
|
|
"attributes": {
|
|
"tableId": 0,
|
|
"cells": {
|
|
"text": [
|
|
"Template",
|
|
"Use"
|
|
],
|
|
"name": [
|
|
"config_host_name",
|
|
"config_host_use"
|
|
]
|
|
},
|
|
"headerFollow": false,
|
|
"inputSource": "hostsConfigTemplate",
|
|
"isWrappable": false,
|
|
"noRepeatCell": "",
|
|
"checkColumn": false,
|
|
"pagingbar": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|