1.0.0 • Published 9 years ago
pfmon-heartbeat v1.0.0
pfmon-heartbeat module for pfmon - Node.js monitoring utility for New Relic
pfmon is a modular monitoring utility for New Relic.
pfmon-heartbeat will "ping" a TCP port on any host that is reachable from the host running this module.
Requirements
- Node.js
- Install pfmon
Installation
Install Install npm package
$ npm install pfmon-heartbeat --saveAdd module(s) to config file
This module requires two properties in the module config (pfmon-config.json):
duration{Integer} - defines the time between "pings"hosts{Array} - array of host objects withhostandportproperties
...
},
"modules": {
"pfmon-heartbeat": {
"duration": 60,
"hosts": [
{"host": "localhost", "port": 3000},
{"host": "localhost", "port": 8000}
]
}
}1.0.0
9 years ago