mklivesearch

1.0.5 • Public • Published

mklivesearch

Super Mega easy , nagios mklive

How to

  • copy your ssh-key to the server
  var search = require('mklivesearch');
  ...
  search
    .query(mySmartQuery)  || "GET services\nColumns:host_name host_address"
    .server(address)
    .port(Number)         || '22' 
    .user(name)           || 'root'
    .unixcat(path)        || '/var/nagios/var/rw/live'
    .maxBuffer(n)
    .get()
    .then((dat) =>{
      console.log(dat)
    }).catch((why)=>{
      console.log(why)
    });

/mklivesearch/

    Package Sidebar

    Install

    npm i mklivesearch

    Weekly Downloads

    0

    Version

    1.0.5

    License

    MIT

    Last publish

    Collaborators

    • cjaburto