bansho/app/components/config/config.json

278 lines
9.2 KiB
JSON

{
"banshoConfig": {
"theme": "dark"
},
"dashboardConfig": {
"title": "Unhandled service problems",
"refreshInterval": 30,
"template": "dashboard",
"components": [
{
"type": "tactical",
"config": {
"title": "Tactical Overview",
"components": {
"statusOverview": true,
"currentHealth": true,
"topAlertProducers": false
}
}
},
{
"type": "table",
"config": {
"title": "Open Hosts problems",
"cells": {
"text": [
"Host",
"Address",
"Duration",
"Last check",
"Host status"
],
"name": [
"status_host",
"status_host_address",
"status_duration",
"status_last_check",
"status_host_status"
]
},
"inputSource": {
"service": "surveilStatus",
"config": {
"apiName": "hosts",
"filters": {
"is": {
"acknowledged": [
false
],
"state": [
"DOWN",
"UNREACHABLE"
]
}
}
}
},
"isWrappable": false,
"noRepeatCell": ""
}
},
{
"type": "table",
"config": {
"title": "Open Service problems",
"cells": {
"text": [
"Host",
"Service check",
"Duration",
"Last check"
],
"name": [
"status_host",
"status_service_check",
"status_duration",
"status_last_check"
]
},
"inputSource": {
"service": "surveilStatus",
"config": {
"apiName": "services",
"filters": {
"isnot": {
"state": [
"OK"
],
"host_state": [
"DOWN",
"UNREACHABLE"
]
},
"is": {
"acknowledged": [
false
]
}
}
}
},
"isWrappable": true,
"noRepeatCell": "host"
}
},
{
"type": "table",
"config": {
"title": "Hosts problems",
"cells": {
"text": [
"Host",
"Address",
"Duration",
"Last check",
"Host status"
],
"name": [
"status_host",
"status_host_address",
"status_duration",
"status_last_check",
"status_host_status"
]
},
"inputSource": {
"service": "surveilStatus",
"config": {
"apiName": "hosts",
"filters": {
"isnot": {
"state": [
"UP"
]
}
}
}
},
"isWrappable": false,
"noRepeatCell": ""
}
},
{
"type": "table",
"config": {
"title": "Services problems",
"cells": {
"text": [
"Host",
"Service check",
"Duration",
"Last check"
],
"name": [
"status_host",
"status_service_check",
"status_duration",
"status_last_check"
]
},
"inputSource": {
"service": "surveilStatus",
"config": {
"apiName": "services",
"filters": {
"isnot": {
"state": [
"OK"
]
}
}
}
},
"isWrappable": true,
"noRepeatCell": "host"
}
}
]
},
"liveHosts": {
"title": "Hosts",
"refreshInterval": 30,
"template": "single_table",
"components": [
{
"type": "table",
"config": {
"title": "Hosts",
"cells": {
"text": [
"Host",
"Address",
"Duration",
"Last check",
"Host status"
],
"name": [
"status_host",
"status_host_address",
"status_duration",
"status_last_check",
"status_host_status"
]
},
"inputSource": {
"service": "surveilStatus",
"config": {
"apiName": "hosts",
"filters": {}
}
},
"isWrappable": false,
"noRepeatCell": ""
}
}
]
},
"liveServices": {
"title": "Services",
"refreshInterval": 30,
"template": "single_table",
"components": [
{
"type": "table",
"config": {
"title": "Services",
"cells": {
"text": [
"Host",
"Service check",
"Duration",
"Last check"
],
"name": [
"status_host",
"status_service_check",
"status_duration",
"status_last_check"
]
},
"inputSource": {
"service": "surveilStatus",
"config": {
"apiName": "services",
"filters": {}
}
},
"isWrappable": false,
"noRepeatCell": "host"
}
}
]
},
"host": {
"title": "Host",
"refreshInterval": 30,
"template": "host"
},
"service": {
"title": "Service",
"refreshInterval": 30,
"template": "service"
},
"drupal": {
"title": "Drupal",
"refreshInterval": 30,
"template": "drupal"
},
"drupalDashboard": {
"title": "Drupal dashboard",
"refreshInterval": 30,
"template": "drupal_dashboard",
"hostsMap": {
"drupal": "Wonderful Drupal Website"
}
}
}