Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 787 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 787 Bytes

Ping to New Relic

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

One-liner

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