libipmidetect

Langue: en

Version: February 2007 (CentOS - 06/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

libipmidetect - 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

The ipmidetect library functions are a set of functions that interacts with the ipmidetectd(8) daemon to determine if IPMI nodes in the cluster are detected or not. It can be used to determine which nodes are worth communicating with, to avoid IPMI timeouts.

FILES

/usr/include/ipmidetect.h

SEE ALSO

ipmidetect(8), ipmidetectd(8)