0.2.0 • Published 7 years ago
hubiquitus-ping v0.2.0
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.