Alert Enhancement

  • Creator
    Topic
  • #48186
    Jamie Lubbert
    Participant

    Enhancement short description:

    one alert triggers off of 2 conditions on 2 different threads.

    Date:

    12/06/2005

    Operating System:

    Microsoft Windows

    Version of OS:

    Windows 2003 Server

    Cloverleaf Version:

    5.3

    Revision:

    Rev 3

    Tool:

    Alert

    Enhancement Long Description:

    one alert triggers off of 2 conditions on 2 different threads.  For example:   If thread A has 50 pending and thread A hasn’t sent data in the past 2 minutes…..then trigger the alert.  

    Many times we get a bunch of data in and it is processing fine, so we don’t want the alert to trigger.  But, if we have a bunch of data sitting there and not processing, we’d want to know.

    _________________

    Terri Sonethongkham

    Blessing Hospital

    (972) 361-3034

Viewing 0 reply threads
  • Author
    Replies
    • #57942
      Julie Kimmel
      Participant

      Good idea!

      I had a similar situation, I was wanting to check the reason of a proto error, and the time that it occured, and I got around it by setting the alert to exec a batch file. The batch file called an .htc file. That way I could check anything that I wanted about the status of a thread.

      ( I am on windows 2000)

      my .bat has:

      DownProtError to_Output “Open failed” 30

      (.htc file name) (thread)   (error string) (time)

      and my .htc has:

      proc main {argv argc} {

         set threadName [lindex $argv 0]

         set errorString [lindex $argv 1]

         set recently [lindex $argv 2]

         catch {msiAttach} emsg

      set nowtime [clock seconds]

      msiGetStatSample $threadName var

      keylget var PLASTERROR errortime

      keylget var LASTUPDATE updatetime

      keylget var PLASTERRTEXT ErrorText

      if {[regexp $errorString $ErrorText]} {

          if {[expr $nowtime – $errortime] < $recently} {

         catch {exec cmd.exe /c hcicmd -p testP -c “to_Output pstop”} result

             }}

      }

      main $argv $argc

Viewing 0 reply threads
  • The forum ‘Product Enhancements’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,435
Topic Tags
286
Empty Topic Tags
10