Export uptimerobot.com check results for prometheus scraping.
1.5K
Exports all your uptimerobot.com checks for prometheus scraping, so you can use external, third-party checks in your monitoring setup.
Caveat: This does not (yet) handle paging, so if you have a Pro account with uptimerobot.com you might have more checks defined than this script will handle.
If you do not have a pro account, any scrape interval shorter than
scrape_interval: 5m for this exporter will a) produce duplicated data
and b) misuse uptimerobots API.
Accepted parameters:
You can either pass script arguments (run python exporter.py -h for an explanation)
or set the following environment variables:
UPTIMEROBOT_API_KEYUPTIMEROBOT_SERVER_NAMEUPTIMEROBOT_SERVER_PORTRun docker run -e 'UPTIMEROBOT_API_KEY=...' -p 9705:9705 --read-only hnrd/uptimerobot_exporter.
Example compose file:
version: '2.1'
services:
exporter:
image: hnrd/uptimerobot_exporter
restart: unless-stopped
environment:
UPTIMEROBOT_API_KEY: u123456-1a2b3c4d5e6f7890abc12323
ports:
- 9705:9705
read_only: true
Content type
Image
Digest
Size
31.4 MB
Last updated
over 8 years ago
docker pull hnrd/uptimerobot_exporter