Re: Strange Chars on LogParser 2.2 output - EVT --> NAT
From: Michael Bednarek (ROT13-zo_at_zorqanerx.pbz)
Date: 02/25/05
- Next message: KayZer Soze: "Creating DVD .ISO files form FileSystem"
- Previous message: KayZer Soze: "Re: Strange Chars on LogParser 2.2 output - EVT --> NAT"
- In reply to: KayZer Soze: "Re: Strange Chars on LogParser 2.2 output - EVT --> NAT"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Feb 2005 23:35:57 +1000
On Fri, 25 Feb 2005 09:51:55 -0300, "KayZer Soze"
<thesuspects@thesuspects.net> wrote in
microsoft.public.win2000.cmdprompt.admin:
>The files on the first time, does not exist, but the script run several
>times and erros is occurring again and again.
I don't quite follow. What errors? In your original post you mentioned
some unexpected content in the body of the receive e-mails. If you
observe errors, please quote the text.
Also: do the commands ever produce the output you expect, or do they
always fail/produce unexpected output? As I wrote before: when they
fail, what's the content of the .log files?
My question aimed at the condition when the file mentioned as -file in
the "postie" command doesn't exist. To be safe, you could start your
script with:
ECHO This is my error log:>c:\temp\errsysdes.log
for each kind of .log file, and then replace all single redirection
symbols (>) in the "logparser" command with double ones (>>).
>I can try to delete temp files on exit
>
>
>"Michael Bednarek" <ROT13-zo@zorqanerx.pbz> wrote in message
>news:vt1u115ujt1fubpg44s38r9d69c0nfqk7b@4ax.com...
>> On Thu, 24 Feb 2005 15:29:18 -0300, "KayZer Soze"
>> <thesuspects@thesuspects.net> wrote in
>> microsoft.public.win2000.cmdprompt.admin:
>>
>> >I do a script to collect erros in eventviewer and send by mail
>> >When there's no errors, i receve by mail, strange chars:
>>
>> Do the files c:\temp\errsysprod.log, c:\temp\errsysdes.log, etc, exist
>> if no errors occurred? If so, what's their content?
>>
>> [snip]
>>
>>postie -host:%SMTPSERVER% -from:ERROR_SYS_LOG_PROD%DESTDOMAIN -to:borup%DES
>T
>>
>>DOMAIN% -cc:rviana%DESTDOMAIN% -s:%DATE%-%TIME% -file:c:\temp\errsysprod.lo
>g
>> [snip]
-- Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
- Next message: KayZer Soze: "Creating DVD .ISO files form FileSystem"
- Previous message: KayZer Soze: "Re: Strange Chars on LogParser 2.2 output - EVT --> NAT"
- In reply to: KayZer Soze: "Re: Strange Chars on LogParser 2.2 output - EVT --> NAT"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|