Sign inSign up

macrat/hashcheck-exporter

By macrat

•Updated about 7 years ago

Web page change watcher for Prometheus.

Image
0

144

macrat/hashcheck-exporter repository overview

Docker Cloud Automated build Docker Cloud Build Status GitHub

⁠hashcheck-exporter

Web page change watcher for Prometheus.

⁠usage

⁠make config file
workers: 3  # number of workers for downloading.

targets:
  - url: https://example.com/path/to/target
  - url: https://example.com
    hash: 3587cb776ce0e4e8237f215800b7dffba0f25865cb84550e87ea8bbac838c423  # will check is SHA256 hash of content that downloaded from web server have same as this hash.
⁠execute exporter
⁠from source
$ go get github.com/macrat/hashcheck-exporter
$ hashcheck-exporter -config=/path/to/config.yml
⁠with docker
$ docker run -p 9998:9998 -v /path/to/config.yml:/app/hashcheck.yml hashcheck-exporter
⁠configure Prometheus
scrape_configs:
  - job_name: hashcheck
    static_configs:
      - targets:
        - localhost:9998

Tag summary

Content type

Image

Digest

Size

6.2 MB

Last updated

about 7 years ago

docker pull macrat/hashcheck-exporter