[Logwatch] cron log error

Anton Krall akrall@team.inter.net
Sat, 4 May 2002 15:13:06 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_03C5_01C1F37E.3F831A70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Guys.
=20
Im running logwatch 3.0 and seems that its not picking my cron logs into
the report as it appaers blank.
=20
Here is a sample of my cron log format:
=20
Apr 28 04:15:00 dbradius CROND[9707]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 04:20:00 dbradius CROND[10241]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 04:20:00 dbradius CROND[10242]: (root) CMD (/usr/lib/sa/sa1 1 1)=20
Apr 28 04:22:00 dbradius CROND[10755]: (root) CMD (run-parts
/etc/cron.weekly)=20
Apr 28 04:22:00 dbradius anacron[10759]: Updated timestamp for job
`cron.weekly' to 2002-04-28
Apr 28 04:25:00 dbradius CROND[15341]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 04:30:00 dbradius CROND[15864]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 04:30:00 dbradius CROND[15865]: (root) CMD (/usr/lib/sa/sa1 1 1)=20
Apr 28 04:35:00 dbradius CROND[16388]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 04:40:00 dbradius CROND[16911]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 04:40:00 dbradius CROND[16912]: (root) CMD (/usr/lib/sa/sa1 1 1)=20
Apr 28 04:45:00 dbradius CROND[17435]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 04:50:00 dbradius CROND[17958]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 04:50:00 dbradius CROND[17959]: (root) CMD (/usr/lib/sa/sa1 1 1)=20
Apr 28 04:55:00 dbradius CROND[18487]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:00:00 dbradius CROND[19012]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:00:00 dbradius CROND[19013]: (root) CMD (
/usr/local/bin/diskcheck.pl)=20
Apr 28 05:00:00 dbradius CROND[19014]: (root) CMD (/usr/lib/sa/sa1 1 1)=20
Apr 28 05:01:00 dbradius CROND[19521]: (root) CMD (run-parts
/etc/cron.hourly)=20
Apr 28 05:05:00 dbradius CROND[19545]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:10:00 dbradius CROND[20074]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:10:00 dbradius CROND[20075]: (root) CMD (/usr/lib/sa/sa1 1 1)=20
Apr 28 05:15:00 dbradius CROND[20604]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:20:00 dbradius CROND[21133]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:20:00 dbradius CROND[21134]: (root) CMD (/usr/lib/sa/sa1 1 1)=20
Apr 28 05:25:00 dbradius CROND[21657]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:30:00 dbradius CROND[22180]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:30:00 dbradius CROND[22181]: (root) CMD (/usr/lib/sa/sa1 1 1)=20
Apr 28 05:35:00 dbradius CROND[22704]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:40:01 dbradius CROND[23227]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:40:01 dbradius CROND[23228]: (root) CMD (/usr/lib/sa/sa1 1 1)=20
Apr 28 05:45:00 dbradius CROND[23763]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:50:00 dbradius CROND[24286]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 05:50:00 dbradius CROND[24287]: (root) CMD (/usr/lib/sa/sa1 1 1)=20
Apr 28 05:55:00 dbradius CROND[24810]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
Apr 28 06:00:00 dbradius CROND[25334]: (root) CMD (
/usr/local/bin/safetynet --cron > /dev/null )=20
=20
What can we do to add this into thecron filter?
=20
Saludos
=20
Anton Krall
Director de Tecnolog=EDa
Inter.net M=E9xico / Panam=E1
=20
Tel; 5241-7609 Directo=20
Tel: 5241-7600 Conmutador
Celular: 0445-105-5160 Mobile
ICQ: 4979450
email:  akrall@team.inter.net
web: http://www.mx.inter.net <http://www.mx.inter.net/>=20
=20
Outside Mexico:
Office: +52(555)241-7609
PBX: +52(555)241-7600
Mobile: +52(555)105-5160
=20

------=_NextPart_000_03C5_01C1F37E.3F831A70
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D404230218-02052002><FONT face=3DArial=20
size=3D2>Guys.</FONT></SPAN></DIV>
<DIV><SPAN class=3D404230218-02052002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D404230218-02052002><FONT face=3DArial size=3D2>Im =
running logwatch=20
3.0 and seems that its not picking my cron logs into the report as it =
appaers=20
blank.</FONT></SPAN></DIV>
<DIV><SPAN class=3D404230218-02052002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D404230218-02052002><FONT face=3DArial size=3D2>Here =
is a sample of=20
my cron log format:</FONT></SPAN></DIV>
<DIV><SPAN class=3D404230218-02052002></SPAN><SPAN =
class=3D404230218-02052002><FONT=20
face=3DArial size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D404230218-02052002><FONT face=3DArial size=3D2>Apr 28 =
04:15:00=20
dbradius CROND[9707]: (root) CMD (&nbsp;&nbsp; /usr/local/bin/safetynet =
--cron=20
&gt; /dev/null ) <BR>Apr 28 04:20:00 dbradius CROND[10241]: (root) CMD=20
(&nbsp;&nbsp; /usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr =
28=20
04:20:00 dbradius CROND[10242]: (root) CMD (/usr/lib/sa/sa1 1 1) <BR>Apr =
28=20
04:22:00 dbradius CROND[10755]: (root) CMD (run-parts /etc/cron.weekly) =
<BR>Apr=20
28 04:22:00 dbradius anacron[10759]: Updated timestamp for job =
`cron.weekly' to=20
2002-04-28<BR>Apr 28 04:25:00 dbradius CROND[15341]: (root) CMD =
(&nbsp;&nbsp;=20
/usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr 28 04:30:00 =
dbradius=20
CROND[15864]: (root) CMD (&nbsp;&nbsp; /usr/local/bin/safetynet --cron =
&gt;=20
/dev/null ) <BR>Apr 28 04:30:00 dbradius CROND[15865]: (root) CMD=20
(/usr/lib/sa/sa1 1 1) <BR>Apr 28 04:35:00 dbradius CROND[16388]: (root) =
CMD=20
(&nbsp;&nbsp; /usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr =
28=20
04:40:00 dbradius CROND[16911]: (root) CMD (&nbsp;&nbsp;=20
/usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr 28 04:40:00 =
dbradius=20
CROND[16912]: (root) CMD (/usr/lib/sa/sa1 1 1) <BR>Apr 28 04:45:00 =
dbradius=20
CROND[17435]: (root) CMD (&nbsp;&nbsp; /usr/local/bin/safetynet --cron =
&gt;=20
/dev/null ) <BR>Apr 28 04:50:00 dbradius CROND[17958]: (root) CMD =
(&nbsp;&nbsp;=20
/usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr 28 04:50:00 =
dbradius=20
CROND[17959]: (root) CMD (/usr/lib/sa/sa1 1 1) <BR>Apr 28 04:55:00 =
dbradius=20
CROND[18487]: (root) CMD (&nbsp;&nbsp; /usr/local/bin/safetynet --cron =
&gt;=20
/dev/null ) <BR>Apr 28 05:00:00 dbradius CROND[19012]: (root) CMD =
(&nbsp;&nbsp;=20
/usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr 28 05:00:00 =
dbradius=20
CROND[19013]: (root) CMD (&nbsp;&nbsp; /usr/local/bin/diskcheck.pl) =
<BR>Apr 28=20
05:00:00 dbradius CROND[19014]: (root) CMD (/usr/lib/sa/sa1 1 1) <BR>Apr =
28=20
05:01:00 dbradius CROND[19521]: (root) CMD (run-parts /etc/cron.hourly) =
<BR>Apr=20
28 05:05:00 dbradius CROND[19545]: (root) CMD (&nbsp;&nbsp;=20
/usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr 28 05:10:00 =
dbradius=20
CROND[20074]: (root) CMD (&nbsp;&nbsp; /usr/local/bin/safetynet --cron =
&gt;=20
/dev/null ) <BR>Apr 28 05:10:00 dbradius CROND[20075]: (root) CMD=20
(/usr/lib/sa/sa1 1 1) <BR>Apr 28 05:15:00 dbradius CROND[20604]: (root) =
CMD=20
(&nbsp;&nbsp; /usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr =
28=20
05:20:00 dbradius CROND[21133]: (root) CMD (&nbsp;&nbsp;=20
/usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr 28 05:20:00 =
dbradius=20
CROND[21134]: (root) CMD (/usr/lib/sa/sa1 1 1) <BR>Apr 28 05:25:00 =
dbradius=20
CROND[21657]: (root) CMD (&nbsp;&nbsp; /usr/local/bin/safetynet --cron =
&gt;=20
/dev/null ) <BR>Apr 28 05:30:00 dbradius CROND[22180]: (root) CMD =
(&nbsp;&nbsp;=20
/usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr 28 05:30:00 =
dbradius=20
CROND[22181]: (root) CMD (/usr/lib/sa/sa1 1 1) <BR>Apr 28 05:35:00 =
dbradius=20
CROND[22704]: (root) CMD (&nbsp;&nbsp; /usr/local/bin/safetynet --cron =
&gt;=20
/dev/null ) <BR>Apr 28 05:40:01 dbradius CROND[23227]: (root) CMD =
(&nbsp;&nbsp;=20
/usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr 28 05:40:01 =
dbradius=20
CROND[23228]: (root) CMD (/usr/lib/sa/sa1 1 1) <BR>Apr 28 05:45:00 =
dbradius=20
CROND[23763]: (root) CMD (&nbsp;&nbsp; /usr/local/bin/safetynet --cron =
&gt;=20
/dev/null ) <BR>Apr 28 05:50:00 dbradius CROND[24286]: (root) CMD =
(&nbsp;&nbsp;=20
/usr/local/bin/safetynet --cron &gt; /dev/null ) <BR>Apr 28 05:50:00 =
dbradius=20
CROND[24287]: (root) CMD (/usr/lib/sa/sa1 1 1) <BR>Apr 28 05:55:00 =
dbradius=20
CROND[24810]: (root) CMD (&nbsp;&nbsp; /usr/local/bin/safetynet --cron =
&gt;=20
/dev/null ) <BR>Apr 28 06:00:00 dbradius CROND[25334]: (root) CMD =
(&nbsp;&nbsp;=20
/usr/local/bin/safetynet --cron &gt; /dev/null ) </FONT></SPAN></DIV>
<DIV><SPAN class=3D404230218-02052002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D404230218-02052002><FONT face=3DArial size=3D2>What =
can we do to=20
add this into thecron filter?</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV align=3Dleft>
<DIV align=3Dleft><FONT face=3DTahoma size=3D2>Saludos</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN=20
style=3D"COLOR: blue; FONT-FAMILY: 'Wingdings 2'; mso-no-proof: =
yes"><FONT=20
face=3DTahoma color=3D#000000 size=3D2><B>Anton Krall</B><BR><B>Director =
de=20
Tecnolog=EDa<BR></B></FONT><B><FONT face=3DTahoma color=3D#000000 =
size=3D2>Inter.net=20
M=E9xico / Panam=E1</FONT></B></SPAN></DIV>
<DIV><SPAN=20
style=3D"FONT-WEIGHT: bold; COLOR: blue; FONT-STYLE: italic; =
FONT-FAMILY: 'Wingdings 2'; mso-no-proof: yes"><FONT=20
face=3DTahoma color=3D#000000 size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><EM style=3D"FONT-STYLE: normal"><FONT face=3DVerdana =
size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma; mso-no-proof: yes">Tel; =
5241-7609=20
Directo</SPAN></FONT></EM><STRONG style=3D"FONT-WEIGHT: 400"><EM=20
style=3D"FONT-STYLE: normal"><FONT face=3DTahoma color=3Dblack =
size=3D1><SPAN=20
style=3D"COLOR: black; mso-no-proof: =
yes">&nbsp;</SPAN></FONT></EM></STRONG></DIV>
<DIV><STRONG style=3D"FONT-WEIGHT: 400"><EM style=3D"FONT-STYLE: =
normal"><FONT=20
color=3Dblack><SPAN style=3D"COLOR: black; mso-no-proof: yes"><FONT =
face=3DVerdana=20
size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma; mso-no-proof: yes">Tel: =
5241-7600=20
Conmutador</SPAN></FONT></SPAN></FONT></EM></STRONG></DIV>
<DIV><STRONG style=3D"FONT-WEIGHT: 400"><EM style=3D"FONT-STYLE: =
normal"><FONT=20
color=3Dblack><SPAN style=3D"COLOR: black; mso-no-proof: yes"><FONT =
face=3DVerdana=20
size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma; mso-no-proof: =
yes">Celular:=20
0445-105-5160 Mobile</SPAN></FONT></SPAN></FONT></EM></STRONG></DIV>
<DIV><STRONG style=3D"FONT-WEIGHT: 400"><EM style=3D"FONT-STYLE: =
normal"><FONT=20
color=3Dblack><SPAN style=3D"COLOR: black; mso-no-proof: yes"><FONT =
face=3DVerdana=20
size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma; mso-no-proof: yes">ICQ:=20
4979450</SPAN></FONT></SPAN></FONT></EM></STRONG></DIV>
<DIV><STRONG style=3D"FONT-WEIGHT: 400"><EM style=3D"FONT-STYLE: =
normal"><U><FONT=20
face=3DVerdana size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma; mso-no-proof: =
yes">email:&nbsp;=20
</SPAN></FONT><FONT face=3DVerdana color=3Dblue size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: blue; FONT-FAMILY: Tahoma; =
mso-no-proof: yes"><A=20
href=3D"mailto:akrall@team.inter.net">akrall@team.inter.net</A></SPAN></F=
ONT></U></EM></STRONG></DIV>
<DIV><STRONG style=3D"FONT-WEIGHT: 400"><EM style=3D"FONT-STYLE: =
normal"><FONT=20
face=3DVerdana size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma; mso-no-proof: yes">web:=20
</SPAN></FONT><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: blue; FONT-FAMILY: Tahoma; =
mso-no-proof: yes"><FONT=20
color=3D#003399><FONT face=3DVerdana color=3Dblue size=3D1><SPAN=20
style=3D"COLOR: #003399"><A=20
href=3D"http://www.mx.inter.net/">http://www.mx.inter.net</A></SPAN></FON=
T></FONT></SPAN></EM></STRONG></DIV>
<DIV><FONT face=3DTahoma size=3D1></FONT>&nbsp;</DIV>
<DIV><STRONG style=3D"FONT-WEIGHT: 400"><EM style=3D"FONT-STYLE: =
normal"><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: blue; FONT-FAMILY: Verdana; =
mso-no-proof: yes"><FONT=20
face=3DTahoma color=3D#000000 size=3D1><SPAN style=3D"COLOR: =
#003399">Outside=20
Mexico:<BR>Office: +52(555)241-7609<BR>PBX: +52(555)241-7600<BR>Mobile:=20
+52(555)105-5160</SPAN></FONT></SPAN></EM></STRONG></DIV></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_03C5_01C1F37E.3F831A70--