How To Install sysreporter on Fedora 34

sysreporter is Basic system reporter with emailing

Introduction

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

What is sysreporter

Basic system reporter with emailing

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

Install sysreporter 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 sysreporter using dnf by running the following command:

sudo dnf -y install sysreporter

Install sysreporter 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 sysreporter using yum by running the following command:

sudo yum -y install sysreporter

How To Uninstall sysreporter on Fedora 34

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

sudo dnf remove sysreporter

sysreporter Package Contents on Fedora 34

/etc/sysreporter
/etc/sysreporter/reports.d
/etc/sysreporter/reports.d/30-currentlyLoggedInUsers.sh
/etc/sysreporter/reports.d/31-DiskCPUio.sh
/etc/sysreporter/reports.d/32-diskUsage.sh
/etc/sysreporter/reports.d/33-lastBootTime.sh
/etc/sysreporter/reports.d/34-lastLoggedInUsers.sh
/etc/sysreporter/reports.d/35-processStats.sh
/etc/sysreporter/reports.d/36-sar.sh
/etc/sysreporter/reports.d/37-syslogs.sh
/etc/sysreporter/reports.d/40-elasticsearchLogs.sh
/etc/sysreporter/reports.d/41-apacheAccessLogs.sh
/etc/sysreporter/reports.d/41-nginxAccessLogs.sh
/etc/sysreporter/reports.d/42-apacheErrorLogs.sh
/etc/sysreporter/reports.d/42-nginxErrorLogs.sh
/etc/sysreporter/reports.d/43-ntp.sh
/etc/sysreporter/reports.d/44-smartctl.sh
/etc/sysreporter/reports.d/50-logfileTemplate.sh
/etc/sysreporter/sysreporter.conf
/usr/bin/sysreport
/usr/share/doc/sysreporter
/usr/share/doc/sysreporter/README.md
/usr/share/licenses/sysreporter
/usr/share/licenses/sysreporter/LICENSE.md
/usr/share/man/man1
/usr/share/man/man1/sysreport.1.gz

References

Summary

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