Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: NT Monitoring Scripts
Here is what we use:
Ron Smith
@ECHO ON
REM
setlocal
set ALERTLOG=%1
set SID=%2
REM
if exist %ALERTLOG% (copy %ALERTLOG% c:\%SID%alrt.log
goto :FINDSTRING)
ECHO * No "%ALERTLOG%" was found * >> c:\%SID%tempx.log
ECHO * >> %ALERTLOG%_listing.txt
goto :SENDMSG
REM
findstr /B "ORA-" C:\%SID%alrt.log >> c:\%SID%tempx.log findstr /B "OSD-" C:\%SID%alrt.log >> c:\%SID%tempx.log findstr /B "O/S-" C:\%SID%alrt.log >> c:\%SID%tempx.log findstr /B "TNS-" C:\%SID%alrt.log >> c:\%SID%tempx.log
REM
-----Original Message-----
Sent: Tuesday, February 05, 2002 10:11 AM
To: Multiple recipients of list ORACLE-L
Greetings,
We recently implemented an Oracle 8.1.7 database on NT4.0. Since this is
the first for our company, I need some help setting up the monitoring
procedure. On the unix side I have a Korn script that parses the alert log
and page/E-mail me if errors are found. But NT is a different beast and I
don't know much about the scripting side of things ( other than it's pretty
lame :) ). So does anyone out there have a script/tool handy? I think I
have better things to do than picking up an NT scripting book just for this
one database. Also, does anyone have good experience with MKS? Our NT
administrator is not crazy about installing it on our production server.
TIA Dennis
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: dmeng_at_focal.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Smith, Ron L. INET: rlsmith_at_kmg.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Feb 05 2002 - 11:35:04 CST
![]() |
![]() |