An open API service indexing awesome lists of open source software.

https://github.com/mkgaru/node-munin-log

Munin DataLog API
https://github.com/mkgaru/node-munin-log

Last synced: 3 months ago
JSON representation

Munin DataLog API

Awesome Lists containing this project

README

        

node-munin-log
==============

Munin DataLog API

Example
---------

var Munin = require('munin-log');
var munin = new Munin('munin-node.example.com');

munin.log('cpu').then(function(stats){
console.log(stats);
});

option = {
dir: '/var/lib/munin/com',
start: 'now-1day',
end: 'now',
type: 'MAX'
}

munin.log('cpu',option).then(function(stats){
console.log(stats);
});