How To Install collectd-web on Rocky Linux 8

In this tutorial we learn how to install collectd-web on Rocky Linux 8. collectd-web is Contrib web interface to viewing rrd files

Introduction

In this tutorial we learn how to install collectd-web on Rocky Linux 8.

What is collectd-web

This package will allow for a simple web interface to view rrd files created by collectd.

We can use yum or dnf to install collectd-web on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install collectd-web.

Install collectd-web on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install collectd-web

Install collectd-web on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install collectd-web

How To Uninstall collectd-web on Rocky Linux 8

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

sudo dnf remove collectd-web

collectd-web Package Contents on Rocky Linux 8

/etc/collection.conf
/etc/httpd/conf.d/collectd.conf
/usr/share/collectd/collection3
/usr/share/collectd/collection3/README
/usr/share/collectd/collection3/bin
/usr/share/collectd/collection3/bin/.htaccess
/usr/share/collectd/collection3/bin/graph.cgi
/usr/share/collectd/collection3/bin/index.cgi
/usr/share/collectd/collection3/bin/json.cgi
/usr/share/collectd/collection3/etc
/usr/share/collectd/collection3/etc/.htaccess
/usr/share/collectd/collection3/etc/collection.conf
/usr/share/collectd/collection3/lib
/usr/share/collectd/collection3/lib/.htaccess
/usr/share/collectd/collection3/lib/Collectd
/usr/share/collectd/collection3/lib/Collectd/Config.pm
/usr/share/collectd/collection3/lib/Collectd/Graph
/usr/share/collectd/collection3/lib/Collectd/Graph/Common.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/Config.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/Type
/usr/share/collectd/collection3/lib/Collectd/Graph/Type.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/Type/ArcCounts.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/Type/Df.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/Type/GenericIO.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/Type/GenericStacked.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/Type/JavaMemory.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/Type/Load.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/Type/PsCputime.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/Type/TableSize.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/Type/Wirkleistung.pm
/usr/share/collectd/collection3/lib/Collectd/Graph/TypeLoader.pm
/usr/share/collectd/collection3/share
/usr/share/collectd/collection3/share/.htaccess
/usr/share/collectd/collection3/share/navigate.js
/usr/share/collectd/collection3/share/shortcut-icon.png
/usr/share/collectd/collection3/share/style.css
/usr/share/collectd/collection3/test.px

References

Summary

In this tutorial we learn how to install collectd-web on Rocky Linux 8 using yum and dnf.