added option to update multiple service states at once
minor frontend improvements
This commit is contained in:
parent
b6b0084641
commit
6799b64f2a
6 changed files with 48 additions and 46 deletions
14
config.json
14
config.json
|
@ -2,25 +2,23 @@
|
|||
"authToken": "test",
|
||||
"title": "sp-status",
|
||||
"description": "Services hosted by sp-codes",
|
||||
"servicesPath": "$.alerts.*",
|
||||
"idPath": "$.labels.status_service",
|
||||
"statePath": "$.status",
|
||||
"stateValues": {
|
||||
"operational": ["OK"],
|
||||
"maintenance": ["PAUSED"]
|
||||
"operational": ["ok", "resolved"],
|
||||
"maintenance": ["paused"]
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"id": "test",
|
||||
"name": "Test",
|
||||
"url": "http://sp-codes.de",
|
||||
"services": [
|
||||
{
|
||||
"id": "test",
|
||||
"name": "test",
|
||||
"url": "http://sp-codes.de",
|
||||
"statePath": "$.state",
|
||||
"stateValues": {
|
||||
"operational": ["ok"],
|
||||
"maintenance": ["paused"]
|
||||
}
|
||||
"statePath": "$.state"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Reference in a new issue