Simple monitor to watch URLs (HTTP) or ports (TCP, UDP) and update Cachet status.
This repository has been archived on 2021-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2020-02-27 20:02:03 +01:00
.dockerignore added Dockerfile 2020-02-27 19:04:38 +01:00
.gitignore added Dockerfile 2020-02-27 19:04:38 +01:00
Dockerfile minor bug fixes 2020-02-27 20:02:03 +01:00
index.js minor bug fixes 2020-02-27 20:02:03 +01:00
package-lock.json initial commit 2020-02-26 23:56:42 +01:00
package.json added Dockerfile 2020-02-27 19:04:38 +01:00
README.md initial commit 2020-02-26 23:56:42 +01:00

cachet-monitor

Simple monitor to watch URLs (HTTP) or ports (TCP, UDP) and update Cachet status.

Configuration

Example:

{
	"services": [
		{
			"id": 1,
			"type": "HTTP",
			"url": "https://sp-codes.de",
			"timeout": 60
		},
		{
			"id": 2,
			"type": "TCP",
			"host": "sp-codes.de",
			"port": 443,
			"timeout": 60
		}
	],
	"cron": "0 * * * * *",
	"offlineTimeUntilMajor": 300,
	"api": "https://<cachet-url>/api/v1",
	"token": "<user-token>"
}