How To Install munin on Fedora 34

munin is Network-wide resource monitoring tool

Introduction

In this tutorial we learn how to install munin on Fedora 34.

What is munin

Munin is a highly flexible and powerful solution used to create graphs of virtually everything imaginable throughout your network, while still maintaining a rattling ease of installation and configuration. This package contains the grapher/gatherer. You will only need one instance of it in your network. It will periodically poll all the nodes in your network it’s aware of for data, which it in turn will use to create graphs and HTML pages, suitable for viewing with your graphical web browser of choice. You must also install munin-nginx or munin-apache sub-package to generate web graphs. See /usr/share/doc/munin-/.conf for example nginx/apache config files and installation instructions.

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

Install munin on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install munin

Install munin on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install munin using yum by running the following command:

sudo yum -y install munin

How To Uninstall munin on Fedora 34

To uninstall only the munin package we can use the following command:

sudo dnf remove munin

munin Package Contents on Fedora 34

/etc/httpd/conf.d/munin-cgi.conf
/etc/httpd/conf.d/munin.conf
/etc/logrotate.d/munin
/etc/munin
/etc/munin/conf.d
/etc/munin/munin-htpasswd
/etc/munin/munin.conf
/etc/munin/static
/etc/munin/static/definitions.html
/etc/munin/static/dynazoom.html
/etc/munin/static/favicon.ico
/etc/munin/static/formatdate.js
/etc/munin/static/logo-h.png
/etc/munin/static/logo.png
/etc/munin/static/querystring.js
/etc/munin/static/style-1.2.css
/etc/munin/static/style-new.css
/etc/munin/static/style.css
/etc/munin/static/zoom.js
/etc/munin/templates
/etc/munin/templates/munin-categoryview.tmpl
/etc/munin/templates/munin-comparison-day.tmpl
/etc/munin/templates/munin-comparison-month.tmpl
/etc/munin/templates/munin-comparison-week.tmpl
/etc/munin/templates/munin-comparison-year.tmpl
/etc/munin/templates/munin-domainview.tmpl
/etc/munin/templates/munin-dynazoom.tmpl
/etc/munin/templates/munin-nodeview.tmpl
/etc/munin/templates/munin-overview.tmpl
/etc/munin/templates/munin-problemview.tmpl
/etc/munin/templates/munin-serviceview.tmpl
/etc/munin/templates/partial
/etc/munin/templates/partial/bottom_navigation.tmpl
/etc/munin/templates/partial/footer.tmpl
/etc/munin/templates/partial/generated_by.tmpl
/etc/munin/templates/partial/head.tmpl
/etc/munin/templates/partial/logo_navigation.tmpl
/etc/munin/templates/partial/logo_navigation_comparison.tmpl
/etc/munin/templates/partial/logo_navigation_problem.tmpl
/etc/munin/templates/partial/logo_path.tmpl
/etc/munin/templates/partial/navigation.tmpl
/etc/munin/templates/partial/path.tmpl
/usr/bin/munin-check
/usr/bin/munin-cron
/usr/lib/systemd/system/munin-rrdcached.service
/usr/lib/systemd/system/munin.service
/usr/lib/systemd/system/munin.timer
/usr/share/man/man5/munin.conf.5.gz
/usr/share/man/man8/munin-check.8.gz
/usr/share/man/man8/munin-cron.8.gz
/usr/share/man/man8/munin-graph.8.gz
/usr/share/man/man8/munin-html.8.gz
/usr/share/man/man8/munin-limits.8.gz
/usr/share/man/man8/munin-update.8.gz
/usr/share/man/man8/munin.8.gz
/usr/share/munin
/usr/share/munin/munin-datafile2storable
/usr/share/munin/munin-graph
/usr/share/munin/munin-html
/usr/share/munin/munin-limits
/usr/share/munin/munin-storable2datafile
/usr/share/munin/munin-update
/usr/share/munin/plugins
/usr/share/munin/plugins/munin_stats
/usr/share/perl5/vendor_perl/Munin/Master
/usr/share/perl5/vendor_perl/Munin/Master/Config.pm
/usr/share/perl5/vendor_perl/Munin/Master/GraphOld.pm
/usr/share/perl5/vendor_perl/Munin/Master/Group.pm
/usr/share/perl5/vendor_perl/Munin/Master/GroupRepository.pm
/usr/share/perl5/vendor_perl/Munin/Master/HTMLConfig.pm
/usr/share/perl5/vendor_perl/Munin/Master/HTMLOld.pm
/usr/share/perl5/vendor_perl/Munin/Master/Host.pm
/usr/share/perl5/vendor_perl/Munin/Master/LimitsOld.pm
/usr/share/perl5/vendor_perl/Munin/Master/Logger.pm
/usr/share/perl5/vendor_perl/Munin/Master/Node.pm
/usr/share/perl5/vendor_perl/Munin/Master/ProcessManager.pm
/usr/share/perl5/vendor_perl/Munin/Master/Update.pm
/usr/share/perl5/vendor_perl/Munin/Master/UpdateWorker.pm
/usr/share/perl5/vendor_perl/Munin/Master/Utils.pm
/usr/share/perl5/vendor_perl/Munin/Master/Worker.pm
/var/lib/munin
/var/lib/munin/.ssh
/var/lib/munin/rrdcached
/var/log/munin
/var/log/munin/munin-html.log
/var/log/munin/munin-limits.log
/var/log/munin/munin-update.log
/var/www/html/munin
/var/www/html/munin/.htaccess
/var/www/html/munin/cgi
/var/www/html/munin/cgi/munin-cgi-graph
/var/www/html/munin/cgi/munin-cgi-html

References

Summary

In this tutorial we learn how to install munin on Fedora 34 using yum and dnf.