---
name: "libipmidetect"
section: "3"
platform: "linux"
package: "freeipmi"
version: "1.6.20-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libipmidetect"
---

# libipmidetect(3)

a library of functions to determine if a node is detected or undetected

## 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(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);**\

## 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)](/ipmidetectd/8.md)** daemon.

## FILES

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

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

[ipmidetect(8)](/ipmidetect/8.md), [ipmidetect.conf(5)](/ipmidetect.conf/5.md), [ipmidetectd(8)](/ipmidetectd/8.md)

http://www.gnu.org/software/freeipmi/
