-
Notifications
You must be signed in to change notification settings - Fork 4
RESTful API
Vasily Korytov edited this page Jul 12, 2018
·
7 revisions
Prior to 2.0 this was GET /
[
{
"name": "Yandex",
"web": "https://ya.ru",
"failed": false
},
{
"web": "http://192.168.6.1",
"failed": false,
"since": "2018-07-10T22:12:49+03Z"
},
{
"shell": "ping -t 1 192.168.6.1",
"failed": true,
"since": "2018-07-10T22:12:54+03:00"
}
]
-
name
: Human-readable description (optional) -
web
: Web check URL -
shell
: Shell check command -
failed
: true if the check failed :-) -
since
: Last status change timestamp: that is the time, check flickered between failed and non-failed status.
If the check is up all the time since application (re)started, there is nosince
fieldPlease note that
Z
in timestamps indicates UTC, otherwise it's UTC offset.
{
"jsonmon": "3.1.8",
"runtime": "go1.10.3",
"os": "darwin",
"arch": "amd64"
}