How it works...

We first install the Logcheck package and, after the installation, we edit its configuration file, /etc/logcheck/logcheck.conf.

In the configuration file, we change the format of the date/time stamp for logs and we also edit the level of filtering done by Logcheck by modifying the REPORTLEVEL variable.

Next, we edit the SENDMAILTO variable and enter our email ID to receive the logs on our email.

Using the etc/logcheck/logcheck.logfiles file, we define the logs to be monitored by Logcheck.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.27.202