› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › tbllookup within Alert › Reply To: tbllookup within Alert
It’s from 2004…:
Date: Thu, 30 Dec 2004 15:35:45 -0600
Author: “Charlie Bursell” <
Subject: RE: Table Lookup in Alerts
Body: This is a multi-part message in MIME format.
Content-Type: text/plain;
charset=”iso-8859-1″
Content-Transfer-Encoding: 7bit
RE: Table Lookup in AlertsHowever, if Table Lookups are something you need
to do via Tcl from the Alerts, let me know and I’ll provide you a
work-around.
Charlie
From:
[mailto:
Sent: Thursday, December 30, 2004 2:19 PM
To: Technical Issues
Subject: [clovertech] RE: Table Lookup in Alerts
As confirmed by Quovadx Support:
When using a Tcl proc in an alert action type of Tcl, the proc will fail
if it contains a table lookup. The same proc will work if it is called with
an exec action. For example, if I have a proc named alert_test that
contains a table lookup, the action {tcl alert_test} with fail with an
“[aler:aler:ERR /0: hcimonitord] Tcl error: unable to load table
‘mytable.tbl'” error, but the action {exec {hcitcl -c ‘alert_test’}} works
fine. This has been confirmed on 5.3 (no revs) — not sure if it is true on
other versions.
-Mark