I've been using FreeIPMI on several boxes (HP, IBM, and some others).
On IPMI-unsupported boxes, the tools are unresponsive without any
message at all. I've made the following ugly function to simply exit
if the board is not IPMI compliant inserting it in one of the tools,
and displays such useful message like below. While administrators
should know when to use this package, it is advantageous too to have a
similar mechanism especially when the package is integrated in an
application that could run on any platform. Is there a better way to
Pls do let me know.
fbsd71r-rjavm64# uname -a
FreeBSD fbsd71r-rjavm64 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1
08:58:24 UTC 2009
int ret = 0;
ret = system("/usr/local/sbin/dmidecode | /usr/bin/grep IPMI");
main(int argc, char **argv)
printf("IPMI is not supported on this machine. bmc-watchdog exiting...\n
Thank you very much.
Ricky James Allam
Freeipmi-devel mailing list