Registry Test Method Question

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
rsbomar
Posts: 14
Joined: Thu Mar 26, 2009 8:05 am

Registry Test Method Question

Post by rsbomar »

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.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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

Regards
Alex
rsbomar
Posts: 14
Joined: Thu Mar 26, 2009 8:05 am

Ok

Post by rsbomar »

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.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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

Regards
Alex
rsbomar
Posts: 14
Joined: Thu Mar 26, 2009 8:05 am

Post by rsbomar »

So that is something that isn't in there yet but you think would be easy to add?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Correct

Regards
Alex
rsbomar
Posts: 14
Joined: Thu Mar 26, 2009 8:05 am

Post by rsbomar »

If that is the quickest way. I would still prefer to use a variable for the field.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
Post Reply