libipmidetect - Man Page
a library of functions to determine if a node is detected or undetected
Synopsis
#include <ipmidetect.h>
ipmidetect_t ipmidetect_handle_create(void);
int ipmidetect_handle_destroy(ipmidetect_t handle);
int ipmidetect_load_data(ipmidetect_t handle, const char *hostname, int port, int timeout_len);
int ipmidetect_errnum(ipmidetect_t handle);
char *ipmidetect_strerror(int errnum);
char *ipmidetect_errormsg(int errnum);
void ipmidetect_perror(ipmidetect_t handle, const char *msg);
int ipmidetect_get_detected_nodes_string(ipmidetect_t handle, char *buf, int buflen);
int ipmidetect_get_undetected_nodes_string(ipmidetect_t handle, char *buf, int buflen);
int ipmidetect_is_node_detected(ipmidetect_t handle, const char *node);
int ipmidetect_is_node_undetected(ipmidetect_t handle, const char *node);
Description
Libipmidetect implements a high level API for determining which nodes in a cluster do or do-not support IPMI. This library is primarily useful for detecting when nodes are removed from a cluster for servicing, so that IPMI applications can avoid unnecessary timeouts. The library interacts with the ipmidetectd(8) daemon.
Files
/usr/include/ipmidetect.h
Reporting Bugs
Report bugs to <freeipmi-users@gnu.org> or <freeipmi-devel@gnu.org>.
Copyright
Copyright (C) 2007-2015 Lawrence Livermore National Security, LLC.
Copyright (C) 2007 The Regents of the University of California.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
See Also
Referenced By
freeipmi(7), ipmidetect(8), ipmidetect.conf(5), libfreeipmi(3).