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

Registry Test Method Question

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
rsbomar



Joined: 26 Mar 2009
Posts: 14

PostPosted: Wed Aug 15, 2018 10:28 am    Post subject: Registry Test Method Question Reply with quote

I'm trying to create a registry monitor using a variable for the compare value. I've created a variable fvar_irisbuild and set the variable to 200. When I use %fvar_irisbuild% as the compare value with "is <> from" as the compare mode, the test fails. When I change the compare value to 200 and not the variable the test passes.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Aug 15, 2018 10:40 am    Post subject: Reply with quote

You cannot use variable in this field
https://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#templates

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



Joined: 26 Mar 2009
Posts: 14

PostPosted: Wed Aug 15, 2018 10:47 am    Post subject: Ok Reply with quote

Can you guys add that as a request. I want to add this test to 400 machines and that field will change about every 3 or 4 months which means I'd have to manually change 400 test. Not very efficient.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Aug 15, 2018 2:47 pm    Post subject: Reply with quote

May be we can add option to SetTestParam/ReplaceTestParam HMScript commands, e.g.
ReplaceTestParam _AllRegistry Threshold "old value" "new value"

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



Joined: 26 Mar 2009
Posts: 14

PostPosted: Wed Aug 15, 2018 2:57 pm    Post subject: Reply with quote

So that is something that isn't in there yet but you think would be easy to add?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Aug 15, 2018 3:05 pm    Post subject: Reply with quote

Correct

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



Joined: 26 Mar 2009
Posts: 14

PostPosted: Wed Aug 15, 2018 3:09 pm    Post subject: Reply with quote

If that is the quickest way. I would still prefer to use a variable for the field.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Tue Aug 28, 2018 1:14 pm    Post subject: Reply with quote

Version 11.54 allows to change limits specified for the tests using HMScript (SetTestParam, ReplaceTestParam, SetTestParamByID and ReplaceTestParamByID commands)
E.g.
SetTestParam _AllRegistry Threshold 555
SetTestParam "registry test B" Threshold 777

you may modify other test methods as well:
ReplaceTestParam _AllUPSTemp ThresholdUp 65 55
ReplaceTestParam _AllUPSTemp ThresholdDown 15 10
ReplaceTestParam _AllFreeSpace Threshold "20 %" "17 %"
ReplaceTestParam _AllFreeSpace Threshold "5 GB" "8 GB"
ReplaceTestParam _AllFreeSpace Threshold "6 GB" "15 %"

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting 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