pfmon-heartbeat

1.0.0 • Public • Published

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

Installation

Install Install npm package
$ npm install pfmon-heartbeat --save
Add 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 with host and port properties
	...
	},
    "modules": {
        "pfmon-heartbeat": {
            "duration": 60,
            "hosts": [
                {"host": "localhost", "port": 3000},
                {"host": "localhost", "port": 8000}
            ]
        }
    }

Readme

Keywords

none

Package Sidebar

Install

npm i pfmon-heartbeat

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • danielzev
  • dknell