Skip to content

systemli/prometheus-uptimerobot-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prometheus-uptimerobot-exporter

Prometheus Exporter for UptimeRobot written in Go.

Usage

go install github.com/systemli/prometheus-uptimerobot-exporter@latest
export UPTIMEROBOT_API_KEY=your-api-key
$GOPATH/bin/prometheus-uptimerobot-exporter

Commandline Options

  -web.listen-address string
        Address on which to expose metrics and web interface. (default ":13121")

Metrics

# HELP uptimerobot_monitor_up Status of the UptimeRobot monitor
# TYPE uptimerobot_monitor_up gauge
uptimerobot_monitor_up{friendly_name="Google",id="1",type="1",url="https://www.google.com"} 2

Possible values for status:

  • 0 = paused
  • 1 = not checked yet
  • 2 = up
  • 8 = seems down
  • 9 = down

Docker

docker run -p 13121:13121 -e UPTIMEROBOT_API_KEY=your-api-key systemli/prometheus-uptimerobot-exporter:latest

License

GPLv3