How To Install dmraid-events-logwatch on Fedora 36
Introduction
In this tutorial we learn how to install dmraid-events-logwatch
on Fedora 36.
What is dmraid-events-logwatch
Provides device failure reporting via logwatch-based email reporting. Device failure reporting has to be activated manually by activating the /etc/cron.d/dmeventd-logwatch entry and by calling the dmevent_tool (see manual page for examples) for any active RAID sets.
We can use yum
or dnf
to install dmraid-events-logwatch
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dmraid-events-logwatch.
Install dmraid-events-logwatch 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 dmraid-events-logwatch
using dnf
by running the following command:
sudo dnf -y install dmraid-events-logwatch
Install dmraid-events-logwatch 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 dmraid-events-logwatch
using yum
by running the following command:
sudo yum -y install dmraid-events-logwatch
How To Uninstall dmraid-events-logwatch on Fedora 36
To uninstall only the dmraid-events-logwatch
package we can use the following command:
sudo dnf remove dmraid-events-logwatch
dmraid-events-logwatch Package Contents on Fedora 36
/etc/cron.d/dmeventd-logwatch
/etc/logwatch/conf
/etc/logwatch/conf/services
/etc/logwatch/conf/services/dmeventd.conf
/etc/logwatch/scripts
/etc/logwatch/scripts/services
/etc/logwatch/scripts/services/dmeventd
/var/cache/logwatch/dmeventd
/var/cache/logwatch/dmeventd/syslogpattern.txt
References
Summary
In this tutorial we learn how to install dmraid-events-logwatch
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).