Menu

#33 Example

closed
None
5
2013-05-29
2013-04-03
No

Hello Guys,
I'm developing an EPICS device support to monitoring some sensor values using IPMI. Can I use the ipmitool libraries in a standalone C example? Can anyone provide for me an example of the library usage (in a C standalone example) to get sensor reading values? (like we can get using the command ipmitool -H 192.168.1.29 -A none -t 0x92 sensor list).
Thanks,

Bruno Santos

Discussion

  • Bruno Santos

    Bruno Santos - 2013-04-03
    • priority: 5 --> 9
     
  • Bruno Santos

    Bruno Santos - 2013-04-04
    • assigned_to: nobody --> stybla
    • priority: 9 --> 5
     
  • Zdenek Styblik

    Zdenek Styblik - 2013-04-09

    Hello,

    please, can you share more information about what you want to do? Also, I think it would be better to ask on mailing list.
    And the last thing I wanted to say is I personally think you shouldn't use ipmitool "anywhere", because it's a tool meant for people. I don't know how you plan to communicate via IPMI, but what I'd probably do is I'd use ipmitool's interface drivers(lan/lanplus/bmc/kcs/etc.) and written all C stuff by myself. I definitely wouldn't use ipmitool's output, not in C. It's a path to hell! My $0.02 USD.

     
  • Zdenek Styblik

    Zdenek Styblik - 2013-05-29
    • status: open --> closed
     
  • Zdenek Styblik

    Zdenek Styblik - 2013-05-29

    Exchanged couple e-mails. Please, ask on mailing list if necessary.

     

Log in to post a comment.