LIBIPMIDETECT(3)

πŸ’– NAME πŸ’–

okay so bestie, listen: libipmidetect is a whole library of functions whose entire job is telling you whether a node is detected or undetected β€” like a vibe check but for IPMI πŸ¦‹


✨ 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(ipmidetect_t handle);

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);

no cap, that's the whole roster πŸ‘‘


🌸 DESCRIPTION 🌸

Libipmidetect is the high level API for figuring out which nodes in a cluster do β€” or do not β€” support IPMI πŸ’…

ngl its main character purpose is kinda specific and kinda iconic: it's mostly for detecting when nodes get pulled out of a cluster for servicing, so IPMI applications don't sit there wasting time on unnecessary timeouts 😭 literally saving everyone from the awkward waiting.

the plot twist? this library talks to the ipmidetectd(8) daemon 🫢 that's the bestie it gossips with.


πŸŽ€ FILES πŸŽ€

  • /usr/include/ipmidetect.h
  • /etc/freeipmi//ipmidetect.conf

(yeah, that double slash is exactly what it says β€” copying it verbatim, periodt πŸ’…)


😀 REPORTING BUGS 😀

found a bug? do NOT suffer in silence, bestie. report it to:

  • <freeipmi-users@gnu.org>
  • <freeipmi-devel@gnu.org>

they wanna hear from you fr fr πŸ’Œ


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. πŸ’œ

like yes, it's legally iconic.


πŸ¦‹ SEE ALSO πŸ¦‹

also, the web is right here: http://www.gnu.org/software/freeipmi/ 🌈


mkay that's the whole page, bestie β€” go forth and detect those nodes πŸ’–βœ¨

this was LIBIPMIDETECT version 1.6.20, dated 2026-10-05 πŸŽ€ signing off, mwah πŸ’‹

πŸ“¦ where this page comes from