bansho/app/components/config/config.json
aviau 42e68d92a8 Renamed Hosts/ServicesConfig -> LiveHosts/Services
Change-Id: I9f1c0cc103862ea0551f016d039afc2df4aefb6d
2015-05-20 11:24:12 -04:00

232 lines
7.2 KiB
JSON

{
"dashboardConfig": {
"title": "Unhandled service problems",
"refreshInterval": 0,
"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": [
"host",
"host_address",
"duration",
"last_check",
"host_status"
]
},
"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": [
"host",
"service_check",
"duration",
"last_check"
]
},
"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": [
"host",
"host_address",
"duration",
"last_check",
"host_status"
]
},
"apiName": "hosts",
"filters": {
"isnot": {
"state": [
"UP"
]
}
},
"isWrappable": false,
"noRepeatCell": ""
}
},
{
"type": "table",
"config": {
"title": "Services problems",
"cells": {
"text": [
"Host",
"Service check",
"Duration",
"Last check"
],
"name": [
"host",
"service_check",
"duration",
"last_check"
]
},
"apiName": "services",
"filters": {
"isnot": {
"state": [
"OK"
]
}
},
"isWrappable": true,
"noRepeatCell": "host"
}
}
]
},
"liveHosts": {
"title": "Hosts",
"refreshInterval": 0,
"template": "single_table",
"components": [
{
"type": "table",
"config": {
"title": "Hosts",
"cells": {
"text": [
"Host",
"Address",
"Duration",
"Last check",
"Host status"
],
"name": [
"host",
"host_address",
"duration",
"last_check",
"host_status"
]
},
"apiName": "hosts",
"filters": {},
"isWrappable": false,
"noRepeatCell": ""
}
}
]
},
"liveServices": {
"title": "Services",
"refreshInterval": 0,
"template": "single_table",
"components": [
{
"type": "table",
"config": {
"title": "Services",
"cells": {
"text": [
"Host",
"Service check",
"Duration",
"Last check"
],
"name": [
"host",
"service_check",
"duration",
"last_check"
]
},
"apiName": "services",
"filters": {},
"isWrappable": false,
"noRepeatCell": "host"
}
}
]
},
"host": {
"title": "Host",
"refreshInterval": 0,
"template": "host"
},
"service": {
"title": "Service",
"refreshInterval": 0,
"template": "service"
}
}