Tools for monitoring a database log file on Windows 2012 R2

Posted by cverbiest on 24-Jun-2015 09:58

PKB 20575 recommends using a monitoring tool to monitor the database log file.

Are there simple reliable tools on windows that can be run as a service and send a mail when certain errors occur in the database log

https://progress.my.salesforce.com/articles/Article/P3771?popup=true

The -bistall database startup parameter should be used only if there is constant management of the underlying system so that if there is a stall it can be handled immediately. Typically OpenEdge Management or 3rd party enterprise monitoring tools are configured to watch the database .lg file for the 90% and stalled messages and trigger appropriate next actions.

Posted by bremmeyr on 24-Jun-2015 10:19

One option is to use Windows task scheduler. Configure a task triggered on an event where log = application, source = {dbname}_PROGRESS and event ID = progress error code i.e. 6566. On the action tab set action to send an email. If you have issues with the email server and the options in send an email then change the action to start a program where the program is a BAT file that sends an email message.

All Replies

Posted by cverbiest on 24-Jun-2015 10:15

Google led me to this http://nxlog.org/ has someone already used this tool together with OpenEdge log files ?

Posted by bremmeyr on 24-Jun-2015 10:19

One option is to use Windows task scheduler. Configure a task triggered on an event where log = application, source = {dbname}_PROGRESS and event ID = progress error code i.e. 6566. On the action tab set action to send an email. If you have issues with the email server and the options in send an email then change the action to start a program where the program is a BAT file that sends an email message.

Posted by cverbiest on 24-Jun-2015 10:32

Thanks for the tip. As far as I know these messages only go to the database log file, not the event log but I'll check when the event is actually generated.

Posted by James Palmer on 24-Jun-2015 10:35

Is there a similar warning for -aistall?

Posted by bremmeyr on 24-Jun-2015 10:40

The database can be configured to add the messages to the event log. What version of Progress? In OpenEdge Explorer  use Advanced, Windows Event Level of brief or above. (not none) eventlevel=brief

Posted by bremmeyr on 24-Jun-2015 10:46

Is there a similar warning for -aistall? Yes. Look at 12288 and 12289.

(12288) There are no available EMPTY AI extents.  Database activity is stalled until an AI extent becomes available.

(12289) Database activity is no longer stalled and will continue normally.

Posted by Paul Koufalis on 24-Jun-2015 13:37

The paid version of ProTop monitors log files and a million other things. Ping me offline for more info.

Paul

Posted by James Palmer on 08-Jul-2015 08:31

"If you have issues with the email server and the options in send an email then change the action to start a program where the program is a BAT file that sends an email message."

So I've been playing around with this and the email feature is deprecated in 2012 R2, meaning you can't create tasks with this as an action. So I need to go down the .bat route, but struggling to work out how to achieve this. Any ideas please?

Posted by bremmeyr on 08-Jul-2015 08:59

An email client is required. With that at hand the bat file should be straight forward.

Here are links to a few that I have run across that support command line use. I tend to sue sendemail due to the TLS support.

caspian.dotconf.net/.../SendEmail

This one has a known limit a 16 kb message. TLS support starting with version 1.54

http://www.tbare.com Project   - http://swithmail.tbare.com

http://www.blat.net/ Download  sourceforge.net/.../files

Posted by James Palmer on 08-Jul-2015 10:08

SendEmail works a treat thanks.

This thread is closed