agronomeet_nagios
v1.2.0
Published
Functions to connect applications to Nagios monitoring
Downloads
3
Keywords
Readme
AGRONOMEET NAGIOS
Javascript/Node JS function to connect with Nagios monitoring
INSTALL
npm i agronomeet_nagios
EXAMPLE (Heartbeat)
const { heartBeat } = require('agronomeet_nagios');
heartBeat(
'<url>,
{ username: '<username>', password: '<password>' },
`<host>`, // es: 'agwww'
`<service>`, // es: 'CDL web server <BRANCH> HeartBeat'
'<status>', // es: OK
'Heartbeat'
);
DEV INSTALL
- clone repository:
git clone <repository_url>
cd path/to/app
- run
npm install
- make changes. Use
npm link
to test it - update
package.json
version number npm publish