-
Notifications
You must be signed in to change notification settings - Fork 0
Problem with cumulative power monitoring #82
Comments
HI Marcio, can you provide o/p for this command ipmitool.exe -I lanplus -H ip -U user -P password raw 0x30 0x9c 0x07 0x01, Br, Original comment by: mareedu srinivasa rao |
Hi Mareedu Srinivasa Rao, thanks for the attention The return of the command is this: f6 f7 82 54 39 19 01 00 f6 f7 82 54 99 1d 83 54 The application is not doing any conversion. I'm only making a filter, to get only the accumulated consumption, before inserting into the DB: Ipmitool -I lanplus -H $ IP -U $ USER -P $ PASSWORD delloem powermonitor | Awk '$ 1 ~ / Reading / {print $ 3}' Follow the prints with the measurements. You may notice that: First measurement 63.9 kWh; The floating point is ranging from 0 to 10 instead of varying from 0 to 9 ... Original comment by: marcioprado |
Marcio, can you please share raw responce for all the measurements. Br, Original comment by: mareedu srinivasa rao |
Hi Mareedu Srinivasa Rao, Here are all the raw answers. It started at 94.6 kWh and finished at 95.7 kWh. Thanks again. I put it in bold for easy viewing. Power Tracking Statistics Statistic : System Peak Power Statistic : System Peak Amperage
|
In the previous post I organized the data, now follows the attachment with all the measurements. Original comment by: marcioprado |
HI Marcio, i am sending the fix for this. can some one push changes for this patch. Br, Original comment by: mareedu srinivasa rao |
Thanks for listening. I am waiting. Hugs. Original comment by: marcioprado |
Thank you very much, Sorry for my ignorance, but where do I apply this patch? On iDRAC, or Linux? Original comment by: marcioprado |
Sorry, I just saw it here. I have to apply this path in the source code of the ipmitool application ... Thank you. Original comment by: marcioprado |
I applied the path, compiled, and installed the application. But it did not solve, only increased the decimal places ... But the problem persists. Can someone help us? Original comment by: marcioprado |
appreciate if you put ipmitool o/p for the above graph. Br, Original comment by: mareedu srinivasa rao |
There's still the same problem. According to ipmitool, 5.2 is less than 5.101, but it is not quite the reality ... 5.2 should be greater than 5,101 ... ================================== Statistic : System Peak Power Statistic : System Peak Amperage
|
Follow the monitoring. Original comment by: marcioprado |
Hi, Float value gets reduced to single digit, please integrate and check. Please find the patch attached. Br, Original comment by: mareedu srinivasa rao |
Hi Mareedu Srinivasa Rao, congrats! It worked perfectly, as can be seen in the figure ... 20.8 Very good, thank you for your attention. Is it possible to increase the floating point? Or will it involve the operation? Original comment by: marcioprado |
Reported by: marcioprado
Original Ticket: ipmitool/bugs/487
I created an application using ipmitool to monitor the power consumption of servers.
The basic command is: ipmitool -I lanplus -H $ IP -U $ USER -P $ PASSWORD delloem powermonitor
The problem is when the energy reaches, for example, 46.9 kWh.
After that the command does not return 46.91 but 46.1 ...
Causing error in monitoring ...
Can someone help me?
The text was updated successfully, but these errors were encountered: