CentOS 6 (amd64) up to date with latest security / bug fixes. The logwatch reports come in plain text even though the config states HTML. <begin /etc/logwatch/conf/logwatch.conf> mailer = "/usr/sbin/sendmail -t" TmpDir = /tmp MailFrom = logwatch at example.com MailTo = admin1 admin2 admin3 Range = yesterday Detail = Medium HostName = www.example.com Print = No Output = mail Format = html <end /etc/logwatch/conf/logwatch.conf> The same settings in Debian/Ubuntu servers send the reports in HTML format. In my search, I did not come across any solution for CentOS 6. Any ideas on how to get logwatch to generate HTML reports? Thanks for your help. -- Arun Khan
Alexander Farber
2016-Aug-29 05:56 UTC
[CentOS] CentOS 6 - logwatch report not in HTML format
Maybe the format is set in sudo crontab -l Am Montag, 29. August 2016 schrieb Arun Khan :> CentOS 6 (amd64) up to date with latest security / bug fixes. > > The logwatch reports come in plain text even though the config states HTML. > > <begin /etc/logwatch/conf/logwatch.conf> > mailer = "/usr/sbin/sendmail -t" > TmpDir = /tmp > MailFrom = logwatch at example.com <javascript:;> > MailTo = admin1 admin2 admin3 > Range = yesterday > Detail = Medium > HostName = www.example.com > Print = No > Output = mail > Format = html > <end /etc/logwatch/conf/logwatch.conf> > > The same settings in Debian/Ubuntu servers send the reports in HTML format. > > In my search, I did not come across any solution for CentOS 6. > > Any ideas on how to get logwatch to generate HTML reports? > > Thanks for your help. > > -- Arun Khan > _______________________________________________ > CentOS mailing list > CentOS at centos.org <javascript:;> > https://lists.centos.org/mailman/listinfo/centos >
On Sun, Aug 28, 2016 at 10:56 PM, Alexander Farber <alexander.farber at gmail.com> wrote:> Maybe the format is set in > > sudo crontab -lYou mean in the way it is invoked from the cron entry? -- Arun Khan