View previous topic :: View next topic |
Author |
Message |
rsbomar
Joined: 26 Mar 2009 Posts: 14
|
Posted: Wed Aug 15, 2018 10:28 am Post subject: Registry Test Method Question |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
|
Back to top |
|
|
rsbomar
Joined: 26 Mar 2009 Posts: 14
|
Posted: Wed Aug 15, 2018 10:47 am Post subject: Ok |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Aug 15, 2018 2:47 pm Post subject: |
|
|
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 |
|
|
rsbomar
Joined: 26 Mar 2009 Posts: 14
|
Posted: Wed Aug 15, 2018 2:57 pm Post subject: |
|
|
So that is something that isn't in there yet but you think would be easy to add? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Aug 15, 2018 3:05 pm Post subject: |
|
|
Correct
Regards
Alex |
|
Back to top |
|
|
rsbomar
Joined: 26 Mar 2009 Posts: 14
|
Posted: Wed Aug 15, 2018 3:09 pm Post subject: |
|
|
If that is the quickest way. I would still prefer to use a variable for the field. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Aug 28, 2018 1:14 pm Post subject: |
|
|
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 |
|
|
|