• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

In need of a logwatch how-to

C

criticman

Guest
So logwatch is installed properly already with the OS I guess since I know I didn't install it and running a yum update logwatch shows it is up to date.

Well, how the heck do I use it? I configured the logwatch.conf file to have my email address and I confirmed it had valid log file paths.

I tried running "example" commands from the MAN on logwatch.org and nothing happens, it just pauses for a second then goes back to command prompt. I even specified --print to output anything for me to see but nope, nothing.

Any pointers to a better config would be great!
 
Ok, I've run into this problem myself. The easy fix for me was as follows..

Create a forwarding domain for the box (i.e. if your box name is "my.box.name", you create the standard-redirect website for my.box.name to go to your website. Configure the e-mail. Any unknown e-mail, forward to [email protected]. This will send any e-mail sent to *@my.box.name to [email protected]. (This will help with cronjobs and e-mails for them)...

Next, this is important.. Remove the e-mail address you added to logwatch. It doesn't do any good there. It's still going to send to the same place when run from [email protected]. (Again, this is why you set up the above standard-redirect).

Now, my reasons for saying use a standard redirect are as follows: Keeps your traffic to the right place, gives you options for e-mail, (i.e. accounts at my.box.name.).

Anyway, I hope this helps with what you were trying to do. Let me know if you need anything else.

-John
 
Without actually doing anything else, I saw this morning that I had an e-mail from LogWatch. So, just by putting my email in the config, it worked.
 
Back
Top