A node.js wrapper of the command line IPMI utility, ipmitool, inspired by / stolen from node-ipmi.
Further documentation will be provided as the progress is made.
Below is the original README from the node-ipmi project.
node-ipmi is a commandline wrapper from ipmitool. It is designed to be used via Node.js and installable via:
npm install node-ipmi
.
PLEASE NOTE: node-ipmi currently only supports sensors.
const IPMI = require('node-ipmi');
const sensors = require('node-ipmi/lib/models/sensors');
var options = {
privilege: 'USER'
};
var server = new IPMI("hostname/ip", "username", "password", options);
sensors.make(server).get((err, result) => {
console.log(sensors.getFans());
console.log(sensors.getTemperatures());
});