- Notifications
You must be signed in to change notification settings - Fork2
A heartbeat to monitor ArangoDB.
License
pekeler/foxx-heartbeat
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The Heartbeat app can be used to monitor ArangoDB. It makes an HTTP head request against an external URL on a regular basis. This heartbeat can be monitored with a watchdog timer likeWDT.io. If the heartbeat stops, you'll get an alert letting you know that something is wrong with your database.
Installation
foxx-manager install foxx-heartbeat /<mountpoint> url='<URL that should receive the heartbeat>' interval=<how many seconds between beats>
Example using WDT.io
Let's say we want a heartbeat every 5 minutes. So we create a new inbound timer onWDT.io, name itarangodb-heartbeat, and set it to every-5 minutes with a tolerance of 1 minute. We'll get a unique URL that'll look something likek.wdt.io/xyz/arangodb-heartbeat.
Then we install the foxx app with:
foxx-manager install foxx-heartbeat /heartbeat url='http://k.wdt.io/xyz/arangodb-heartbeat' interval=300The heartbeat will automatically start.
This app has the following configuration options:
- url: The URL that will get requested every heartbeat using an HTTP-Head request.
- interval (optional): The time between heartbeats in seconds. Default:60.
This code is distributed under theApache License by Christian Pekeler.
About
A heartbeat to monitor ArangoDB.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.