1.0.5 • Published 7 years ago
mklivesearch v1.0.5
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)
});