RE: NT Monitoring Scripts
PERL PERL PERL PERLPERLPERLPERL Did I mention Perl? Also, you can switch your Unix scripts as well to use Perl. -Original Message- [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 8: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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: Kimberly Smith INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
Re: NT Monitoring Scripts
[EMAIL PROTECTED] wrote: > > 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 > FYI David Korn has written a version of ksh for NT. Somewhere on www.att.com. You can evaluate it for free and you almost forget you are on NT. A few incompatibilities with Oracle, though, but searching alert files should be no problem. -- Regards, Stephane Faroult Oriole Ltd -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stephane Faroult INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
Re: NT Monitoring Scripts
- Original Message - > 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. try Cygwin from www.cygwin.com your korn scripts should run fine hth, Marin "...what you brought from your past, is of no use in your present. When you must choose a new path, do not bring old experiences with you. Those who strike out afresh, but who attempt to retain a little of the old life, end up torn apart by their own memories. " -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Marin Dimitrov INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
Re: NT Monitoring Scripts
you can buy the mks toolkit, real cheap or convert to perl, then it works on any OS :) also, big brother monitoring sw is free and cool. gene >>> [EMAIL PROTECTED] 02/05/02 11:10AM >>> 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: Gene Sais INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
RE: NT Monitoring Scripts
Here is what we use: Ron Smith @ECHO ON REM * REM * This script will scan the Oracle alert log and look for various error * REM * messages. The messages are then sent to the Oracle NT DBA's. * REm * The email is sent using the BLAT utility so the utility must already * REM * exist on the server and be located in the path. * REM * * REM * Two parameters are required: * REM * * REM * ALERTLOG - The fully qualified name of the Oracle Alertlog. * REM * Example: c:\orant\rdbms73\trace\xrt1alrt.log * REM * * REM * SID - A descriptive name of the sid or sid / server combination. This * REM * parameter is used to create temporary files and as the subject * REM * in the email message. * REM * Example: XRT1_Corp24 * setlocal set ALERTLOG=%1 set SID=%2 REM * REM * Check for existance of files REM * if exist c:\%SID%tempx.log del c:\%SID%tempx.log 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 * REM * Look for error messages REM * :FINDSTRING 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 * REM * Send message REM * :SENDMSG blat.exe c:\%SID%tempx.log -t [EMAIL PROTECTED] -s "%SID% Alert Log Scan" pause endlocal exit quit -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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).