added last downtime log (closes #55)
added uptime statistics (closes #56) added german translations (closes #57)
This commit is contained in:
parent
acb39f6b2a
commit
e9599373ec
27 changed files with 819 additions and 265 deletions
30
config.json
30
config.json
|
@ -2,22 +2,44 @@
|
|||
"authToken": "test",
|
||||
"title": "sp-status",
|
||||
"description": "Services hosted by sp-codes",
|
||||
"translations": {
|
||||
"de": {
|
||||
"title": "sp-status",
|
||||
"description": "Services von sp-codes bereitgestellt"
|
||||
}
|
||||
},
|
||||
"servicesPath": "$.alerts.*",
|
||||
"idPath": "$.labels.status_service",
|
||||
"statePath": "$.status",
|
||||
"stateValues": {
|
||||
"operational": ["ok", "resolved"],
|
||||
"maintenance": ["paused"]
|
||||
"maintenance": ["maintenance" ,"paused"]
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"id": "test",
|
||||
"name": "Test",
|
||||
"id": "group",
|
||||
"name": "My Group",
|
||||
"url": "http://sp-codes.de",
|
||||
"services": [
|
||||
{
|
||||
"id": "test",
|
||||
"name": "test",
|
||||
"name": "My Service",
|
||||
"url": "http://sp-codes.de",
|
||||
"statePath": "$.state"
|
||||
}, {
|
||||
"id": "test3",
|
||||
"name": "Test3",
|
||||
"statePath": "$.state"
|
||||
}
|
||||
]
|
||||
}, {
|
||||
"id": "group2",
|
||||
"name": "Group2",
|
||||
"services": [
|
||||
{
|
||||
"id": "test2",
|
||||
"name": "Test2",
|
||||
"url": "http://sp-codes.de",
|
||||
"statePath": "$.state"
|
||||
}
|
||||
]
|
||||
|
|
Reference in a new issue