Go application to check health of a set of sites and report to statsd
1.3K
Environment Variables:
SITE_Debug bool :additional trace stmts
SITE_CheckInterval int :number of seconds between site check calls
SITE_FileLocation string :path to json file for config of sites to check
SITE_StatsdHost string :statsd server
SITE_StatsdPort int :port for statsd server
SITE_Prefix string :statsd metric prefix
json format for sites config
[
{"Url": "url of site", "Metric": "metic to go after prefix"},
...
]
Note the final metric will be:
prefix.metricfromsitesconfig.ok
or
prefix.metricfromsitesconfig.bad
Content type
Image
Digest
sha256:5a9a816a2…
Size
1.9 MB
Last updated
almost 11 years ago
docker pull jcastillo/url_check