LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Better logwatch (http://www.linuxquestions.org/questions/linux-server-73/better-logwatch-741792/)

x_terminat_or_3 07-21-2009 05:03 PM

Better logwatch
 
Hi Ladies and boys

I am wondering if any of you is aware of any better logwatch than the default (for instance the one that comes with Redhat/Fedora distro's).

I've been googling about a bit but nothing jumps out.

What I want is a log watch that uses html format output and is able to use a SMTP server to log into with username and password and send the reports through there.

Does anyone know of such a thing, or should I continue contemplating writing my own?

Best regards

unSpawn 08-17-2009 08:13 AM

Quote:

Originally Posted by x_terminat_or_3 (Post 3615734)
What I want is a log watch that uses html format output and

Code:

]$ logwatch --help | grep -- ^--output
--output <output type>: Report Format - mail, html or unformatted#.

...but that's only in the regular logwatch (for instance the one that comes with Redhat/Fedora distro's).


Quote:

Originally Posted by x_terminat_or_3 (Post 3615734)
is able to use a SMTP server to log into with username and password and send the reports through there.

If you mean "log into" as in some convoluted scheme to satisfy odd mcrft practices or use a "web mail" account you can't reach otherwise then by all means code it yourself.

itslinuxiknowthis 10-20-2009 11:23 PM

Well...
 
I for one had the same question, but mine would be better phrased perhaps by asking if anyone had any pre built 'log skimming' plugins or scripts or whatever logwatch uses to do its thang. Specifically I would like to have summarized web hits and if possible connections, attempts and brief synopsis of ports or connection time or whathave you.


feel free to also tell me to code it myself, i am just hoping for some sort of a shortcut.

grep65535 11-23-2009 03:27 PM

[QUOTE=unSpawn;3646423]
Code:

]$ logwatch --help | grep -- ^--output
--output <output type>: Report Format - mail, html or unformatted#.

...but that's only in the regular logwatch (for instance the one that comes with Redhat/Fedora distro's).

or

vi /usr/share/logwatch/scripts/logwatch.pl
and change
$Config{'output'} = "html";

WhisperiN 11-24-2009 12:02 AM

Right, LogWatch can outout as HTML.

Great shot Grep.


All times are GMT -5. The time now is 04:58 AM.