Alerts in Cloverleaf 5.8

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Alerts in Cloverleaf 5.8

  • Creator
    Topic
  • #53048
    Graham Hartley
    Participant

      Hi,

      We have recently upgraded to Cloverleaf 5.8 from 5.3 on Windows and are having some problems with the alerts.

      What I am trying to do is fire an alert every time a new message is added to the error database. I was hoping this could be achieved by using the error count alert and setting the comparison to diff.  This alert seems to fire every time a message is added to the error database as expected.  Unfortunately the alert also fires every time the alert file is reloaded or the monitor daemon restarted.  This even happens when there are no errors in the database.

      Does anybody know of a way of stopping this alert being fired in these cases?

      The code in the alert file is;

      Code:


      {ALERT
         { NAME PathologyError }
         { VALUE errs }
         { SOURCE PATH }
         { WITH -1 }
         { COMP diff }
         { FOR once }
         { WINDOW */*/*/* }
         { ACTION {
             { notify {} }
         } }
      }

      I have also tried the error database alert and get the same results.

      Cheers,

      Graham[/b]

    Viewing 0 reply threads
    • Author
      Replies
      • #76369
        Henry Bauer
        Participant

          This is how an Alert is set up here to notify the users when the error database has had a new message wriiten to it. Hope it helps.

          {ALERT

             { VALUE file }

             { SOURCE {/hci/cis5.8/integrator/hbochi_live/exec/databases/elogMid.dat } }

             { WITH -1 }

             { COMP {== true} }

             { FOR once }

             { WINDOW {* * * * * *} }

             { ACTION {

                 { tcl {send_email page_us “%A”} }

             } }

          }

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