jafffy / powerman

Automatically exported from code.google.com/p/powerman
GNU General Public License v2.0
0 stars 0 forks source link

need power (watts) monitoring capability #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
From powerman TODO:

* Implement power (watt) monitoring.  Convert units.  When querying by rpc
  name(s), report the minimum granularity over all plugs (may be multiple
  phases for example).  When querying by node(s), sum over configured plugs.
  If unconfigured plugs are included in total, issue a warning.
  If configured plugs are included in total, issue a warning/error.
  [Jim Garlick]

* Provide a mechanism to periodically sample and log power usage and record
  it over time. [Jim Garlick]

Original issue reported on code.google.com by garlick....@gmail.com on 26 Oct 2011 at 4:44

GoogleCodeExporter commented 8 years ago
It's a legitimate question to ask whether powerman is the appropriate software 
to be monitoring power usage.  Two reasons in favor are:

* powerman knows the mapping of RPC/plug to node

* powerman requires a connection to RPC's and some only allow one (though less 
important when SNMP is available).

Other than answering queries about instantaneous power usage over a set of 
nodes, powerman should probably not attempt to log or manipulate the data.  
Instead it should provide a simple/efficient way for other programs to get at 
the data for monitoring and logging purposes.

Original comment by garlick....@gmail.com on 26 Oct 2011 at 5:13