SetTestParam SQLQuery

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
Flashback
Posts: 37
Joined: Sun Oct 27, 2002 6:00 pm
Contact:

SetTestParam SQLQuery

Post by Flashback »

Using the SetTestParam SQLQuery command in an HMS script, the macro variable %reply% comes over as %reply% and not the value which it should represent. I am currently running HM 4.04 beta. This feature worked on HM 3.70.
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

How do you start the script? If script is executed as action in respond to test status changes, HostMonitor will substitute parameters of the test instead of macro variables. But if script is started by schedule or manually using main menu, test related macro variables will not be resolved.

Regards
Alex
Flashback
Posts: 37
Joined: Sun Oct 27, 2002 6:00 pm
Contact:

Post by Flashback »

It's executed as an action in response to a change in status. As I said, the test worked when I ran 3.68 and the macro resolved with no issues.
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Problem fixed, update available at www.ks-soft.net/download/hm406c.zip

Regards
Alex
Flashback
Posts: 37
Joined: Sun Oct 27, 2002 6:00 pm
Contact:

Post by Flashback »

Worked great! Thanks!
Locked