Ah, so libipmiconsole is just for setting up a remote console session.
Yes, I was looking for a library for sending ipmi commands.  It looked like
the documentation at freeipmi was trying to point to libipmiconsole,
libipmimonitoring as higher level abstractions.  Thanks, I'll dig through
libfreeipmi instead.

Thanks,
Nick

On Thu, Mar 14, 2019, 8:21 PM Al Chu <[email protected]> wrote:

> Hi Nicholas,
>
> I think you may be confused as to libipmiconsole's purpose.
>
> libipmiconsole is used to create a serial console session with a remote
> machine, i.e. like logging into a machine via a serial console session.
> So there are no commands, it's only raw text for the fd interface in
> libipmiconsole.  It was predominantly written for console managers like
> conman and conserver.
>
> Are you looking to do IPMI commands?  Like read sensors or event logs?
> That's via the libfreeipmi API.
>
> Al
>
> On Thu, 2019-03-14 at 17:12 -0700, Nicholas Cox wrote:
> > Hi,
> >
> > I'm looking for some example code or a list of commands that can be
> > sent
> > over ipmi.  I've found libipmiconsole, and looking through this, it
> > looks
> > like the fd interface would be most helpful to me:
> >
> >
>
> https://github.com/chu11/freeipmi-mirror/blob/master/libipmiconsole/ipmiconsole.h.in
> >
> > But, beyond setting up and tearing down a session, and retrieving the
> > file
> > descriptor to write commands to via ipmiconsole_ctx_fd(), it isn't
> > actually
> > clear to me what commands (and their format) can be written to the
> > file
> > descriptor.  I assume there is some other header file that specifies
> > this
> > information, but I haven't found it.  Any pointers would be greatly
> > appreciated!
> >
> > Thanks,
> > Nick
> > _______________________________________________
> > Freeipmi-users mailing list
> > [email protected]
> > https://lists.gnu.org/mailman/listinfo/freeipmi-users
>
>
_______________________________________________
Freeipmi-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/freeipmi-users

Reply via email to