summaryrefslogtreecommitdiffstats
path: root/collectors/freeipmi.plugin
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/freeipmi.plugin')
-rw-r--r--collectors/freeipmi.plugin/README.md5
-rw-r--r--collectors/freeipmi.plugin/freeipmi_plugin.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/collectors/freeipmi.plugin/README.md b/collectors/freeipmi.plugin/README.md
index 02a61dd2f..3ff6f4099 100644
--- a/collectors/freeipmi.plugin/README.md
+++ b/collectors/freeipmi.plugin/README.md
@@ -15,6 +15,11 @@ Netdata has a [freeipmi](https://www.gnu.org/software/freeipmi/) plugin.
2. re-install Netdata from source. The installer will detect that the required libraries are now available and will also build `freeipmi.plugin`.
+> ❗ In some distributions `libipmimonitoring.pc` is located in an unregistered directory.
+> In that case you should find the file and link it to the standard pkg-config directory. Usually, running
+> `sudo ln -s /usr/lib/x86_64-linux-gnu/pkgconfig/libipmimonitoring.pc/libipmimonitoring.pc /usr/lib/pkgconfig/libipmimonitoring.pc`
+> resolves the issue.
+
Keep in mind IPMI requires root access, so the plugin is setuid to root.
If you just installed the required IPMI tools, please run at least once the command `ipmimonitoring` and verify it returns sensors information. This command initialises IPMI configuration, so that the Netdata plugin will be able to work.
diff --git a/collectors/freeipmi.plugin/freeipmi_plugin.c b/collectors/freeipmi.plugin/freeipmi_plugin.c
index e9702e785..0141a6a78 100644
--- a/collectors/freeipmi.plugin/freeipmi_plugin.c
+++ b/collectors/freeipmi.plugin/freeipmi_plugin.c
@@ -15,7 +15,7 @@
* UCRL-CODE-222073
*/
-#include "../../libnetdata/libnetdata.h"
+#include "libnetdata/libnetdata.h"
#include <stdio.h>
#include <stdlib.h>