Random Project

Power Utilization

awesome plugin, I think it will be much better if you add performance data on output.
There is some sensitive info about power domains (power utilization) and it would be nice if the plugin could be get this information also. For getting this values in my implementation I added following:

elsif($test_name =~ m/^Power-1$/i){
$oid = “2.10.1.1.1.10.1”; # Power Domain 1
$data = SNMP_getvalue($snmp_session,$oid_prefix.$oid);
$data =~ s/W//g;
$data_text=$data.”W Domain 1 Power Utilization”;
}

elsif($test_name =~ m/^Power-2$/i){
$oid = “2.10.1.1.1.10.2”; # Power Domain 2
$data = SNMP_getvalue($snmp_session,$oid_prefix.$oid);
$data =~ s/W//g;
$data_text=$data.”W Domain 2 Power Utilization”;
}

#(tested on IBM Bladecenter H)