0.3.2 • Published 2 years ago

checkmk v0.3.2

Weekly downloads
3
License
ISC
Repository
github
Last release
2 years ago

Check MK

check_MK is a library to monitor your application internally from the server monitoring checkmk server.

By default the library generates two services:

  • check_ml
  • status

Using function "addService" you can create more services. see structure counter in checkmk official https://checkmk.com/cms_localchecks.html

Once the library is assembled, adding a new host in monitoring checkmk server.

Install

... npm install checkmk ...

Usage example

let check = require('checkMK');

let options = { host: '10.10.1.20', port: 6556, encoding : 'utf8', exclusive: true }

check.createServer(options);

check.addService('test',{ name: 'test', ok: 'Test- Test is OK', warning: 'O no, i have a problem', critical: ' Faltal error ', counter: { counter1 : '9;2;3;0;10', counter2 : '1;2;7', othername : 1 }

})

... check.updateService('test',{ counter1 : 1, counter2 : 2, othername : 0 },' value 1 for counter1 and 2 in counter 2 ( other 0)'); ...

0.3.2

2 years ago

0.3.0

3 years ago

0.2.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago