Git Product home page Git Product logo

uptimerobot_exporter's Introduction

uptimerobot.com prometheus exporter

Docker Image Version (latest semver)

Grafana Dashboard

Exports all your uptimerobot.com checks for prometheus scraping, so you can use external, third-party checks in your monitoring setup.

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.

Requirements

Running

Accepted parameters:

  • api_key: Your uptimerobot.com API key. See section 'API Settings' in your account details.
  • server_name (optional): Name to bind the HTTP server to. Default: 0.0.0.0
  • server_port (optional): Port to bind the HTTP server to. Default: 9705

Docker

docker run -d --name uptimerobot_exporter -e 'UPTIMEROBOT_API_KEY=your_uptime_robot_api_key' -p 9705:9705 --read-only lekpamartin/uptimerobot_exporter

docker-compose

Example compose file:

version: '2.1'

services:
  exporter:
    image: lekpamartin/uptimerobot_exporter
    restart: unless-stopped
    environment:
      UPTIMEROBOT_API_KEY: your_uptime_robot_api_key
    ports:
      - 9705:9705
    read_only: true

Others

You can either pass script arguments (run python exporter.py -h for an explanation) or set the following environment variables:

  • UPTIMEROBOT_API_KEY
  • UPTIMEROBOT_SERVER_NAME
  • UPTIMEROBOT_SERVER_PORT

Exported data

  • number of down monitors : down_monitors
  • number of up monitors : up_monitors
  • number of paused monitors : paused_monitors
  • Maximum monitor : monitor_limit
  • Monitor status (Monitors) : name, url, type, [keyword], [keyword_value], interval, status (color change with status)
  • Responste time : Minimum (min), maximum (max), average (avg) and current
  • public status page (psp)

Grafana / Prometheus

  1. Deploy exporter
  2. Add target in prometheus
  3. Add prometheus Data source in grafana
  4. Import Grafana dashboard (import json or ID 9955) Enjoy !!!

Docs

Forked from https://github.com/hnrd/uptimerobot_exporter.git

uptimerobot_exporter's People

Contributors

lekpamartin avatar lululombard avatar martinhell avatar x4e-jonas avatar ypid-work avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.