We have a FTP thread that intermittently goes into an error status. As a temporary fix, i am tryying to set up an alert that will stop and restart the thread depending on the status.
I have tried lots of different combinations but just cant get an alert to fire.
Here are the settings of my latest try (its only a test) i am checking if thread is “opening” just stop the thread , . I have stopped the daemon and restarted with the alert file in the paramater but still to no avail.i am probably leaving something simple out. Any help would be great .
i have tried opening without the quotes also.
Thanks in advance.
VALUE status} {SOURCE lab_to_ocm} {MODE actual} {WITH -1} {COMP {== {“opening”}}} {FOR {nsec 10}} {WINDOW {* * * * * *}} {HOST {}} {ACTION {{exec {hcicmd -p results -c “lab_to_ocm pstop”}}}}