a simple hook.io hook for monitoring OS system resources


Basic wrapper around some of the core node.js OS functionality

 git clone git@github.com:chromecide/hook.io-os-monitor.git
 cd hook.io-os-monitor
 npm install
 node bin/os-monitor
npm install hook.io-os-monitor

os-monitor::report {} - Initialises an os-monitor report event

[name]::os-monitor::startPoll {interval} - Starts the os-monitor server poll, emitting an os-monitor::report::result every interval milliseconds

[name]::os-monitor::stopPoll {name, path} - Stops a previously started poll

os-monitor::poll::started {} -

os-monitor::poll::stopped { } -

os-monitor::report::result {HostName, UpTime, TotalMem, FreeMem} -