hubiquitus-ping

0.2.0 • Public • Published

Hubiquitus-ping

Hubiquitus-ping is a simple module to ping a monitoring server, designed to used along with hubiquitus-ping-monitor, a complementary module that can handle pings from multiple containers and process them.

Install the module with :

$ npm install hubiquitus-ping

To use it :

var hubiquitus = require('hubiquitus-core');
hubiquitus.set('name', 'sample');
require('hubiquitus-ping')('http://monitor:port');

This gives a name to the container and pings the specified address every 30 seconds. See the hubiquitus-ping-monitor documentation here.

/hubiquitus-ping/

    Package Sidebar

    Install

    npm i hubiquitus-ping

    Weekly Downloads

    88

    Version

    0.2.0

    License

    none

    Last publish

    Collaborators

    • hubiquitus