Container to ping a host, internal ones mostly, utilizing node-ping and reporting to Newrelic through Events API.
Get the latest package version
docker pull ghcr.io/CityFurniture/ping:main
Run container, passing PING_HOST
as a string, defaults to example.com, and PING_INTERVAL
in milliseconds, defaults to 5000.
You will need two pieces of info from Newrelic:
- Account ID
- API Key
docker run -e "NEW_RELIC_ACCOUNT_ID={NEW_RELIC_ACCOUNT_ID}" -e "NEW_RELIC_API_KEY={NEW_RELIC_API_KEY}" -e "PING_HOST=example.com" -e "PING_INTERVAL=2000" ghcr.io/CityFurniture/ping:main