I’ve always assumed this would work, if ever triggered. However, now I’m not so sure…. I used this same syntax for a thread alert (pstat), shown below in our test environment. The “notify” action works fine – after 15 seconds, the pop-up on the GUI displays. Nothing “appears” to be happening as far as the “exec” action. Is this trying to display on the server itself??? I’ve looked at the documentation and haven’t figured this one out.
My goal: To display specific text to the PC where the Operations staff will be monitoring LIVE interfaces via GUI monitor.
TEST Alert – Notify works; exec doesn’t appear to do anything:
{VALUE pstat}
{SOURCE MDMfrTXN}
{MODE actual}
{WITH -2}
{COMP {== opening}}
{FOR {nsec 15}}
{WINDOW {* * * * * *}}
{HOST {}}
{ACTION{
{notify {}}
{exec {hciguimsg -alert -message “This is a test.”}}}}
Error triggered when entering “hciguimsg” command directly in shell window:
-bash-2.05b$ hciguimsg -alert -message “This is a test.”
Error: no display name and no $DISPLAY environment variable
while
initializing application (Tcl_AppInit?)
-bash-2.05b$