KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

SetTestParam SQLQuery

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
Flashback



Joined: 27 Oct 2002
Posts: 37

PostPosted: Wed Aug 13, 2003 9:12 pm    Post subject: SetTestParam SQLQuery Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Thu Aug 14, 2003 2:09 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Flashback



Joined: 27 Oct 2002
Posts: 37

PostPosted: Thu Aug 14, 2003 2:15 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Thu Aug 14, 2003 5:27 pm    Post subject: Reply with quote

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

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Flashback



Joined: 27 Oct 2002
Posts: 37

PostPosted: Thu Aug 14, 2003 10:06 pm    Post subject: Reply with quote

Worked great! Thanks!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index