How To Install collectd-openldap on Fedora 36

In this tutorial we learn how to install collectd-openldap in Fedora 36. collectd-openldap is OpenLDAP plugin for collectd

Introduction

In this tutorial we learn how to install collectd-openldap on Fedora 36.

What is collectd-openldap

This plugin for collectd reads monitoring information from OpenLDAP’s cn=Monitor subtree.

We can use yum or dnf to install collectd-openldap on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install collectd-openldap.

Install collectd-openldap on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install collectd-openldap using dnf by running the following command:

sudo dnf -y install collectd-openldap

Install collectd-openldap on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install collectd-openldap using yum by running the following command:

sudo yum -y install collectd-openldap

How To Uninstall collectd-openldap on Fedora 36

To uninstall only the collectd-openldap package we can use the following command:

sudo dnf remove collectd-openldap

collectd-openldap Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4a/4f3f2c8a5f54c0f34349587c5da4f4f56aa57b
/usr/lib64/collectd/openldap.so

References

Summary

In this tutorial we learn how to install collectd-openldap on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).