An open API service indexing awesome lists of open source software.

https://github.com/systemli/prometheus-uptimerobot-exporter

Prometheus Exporter for UptimeRobot written in Go
https://github.com/systemli/prometheus-uptimerobot-exporter

prometheus-exporter uptimerobot

Last synced: 12 months ago
JSON representation

Prometheus Exporter for UptimeRobot written in Go

Awesome Lists containing this project

README

          

# prometheus-uptimerobot-exporter

Prometheus Exporter for UptimeRobot written in Go.

## Usage

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

### Commandline Options

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

## Metrics

```text
# 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

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

## License

GPLv3