Determine normal value for multiple test?

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
step
Posts: 19
Joined: Thu Apr 20, 2006 3:13 pm
Location: Berlin, GER

Determine normal value for multiple test?

Post by step »

Currently, for example, if we put an additional disk in a server, we copy all the tests from an existing disk and adjust them for the new disk.
If multiple disks are added, we work with the replicator. Nevertheless, many tests have to be opened afterwards and provided with the normal value via "Get value". Is it possible to do this for multiple tests at the same time? I suspect a very simple way that I just can't see.
Thank you
Step
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

SNMP Get tests?
Get current OID values from the system and set as parameters of the tests?
Sorry, there is no way to automate this process.

Regards
Alex
step
Posts: 19
Joined: Thu Apr 20, 2006 3:13 pm
Location: Berlin, GER

Post by step »

Yes, SNMP Get tests.

Okay. Thank you for your fast response.
I guess that's an item for the wish list then.
The matter is not super important, but on the year we set up several hundred tests in this way. It's a mindless job to open 40 tests in a row, click "Get value" and move on to the next one. Even if "Shift+ALT+Right" speeds things up a bit.
Thanks a lot!

Best regards
Step
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What exactly parameters/OID do you check? May be we can implement or suggest some better option.

Regards
Alex
step
Posts: 19
Joined: Thu Apr 20, 2006 3:13 pm
Location: Berlin, GER

Post by step »

For hard disks these are concretely:
Model, S/N, Size, Slot, Status

HDD0:
Model: 1.3.6.1.4.1.232.3.2.5.1.1.3.0.0
S/N: 1.3.6.1.4.1.232.3.2.5.1.1.51.0.0
Size: 1.3.6.1.4.1.232.3.2.5.1.1.45.0.0
Slot: 1.3.6.1.4.1.232.3.2.5.1.1.64.0.0
Status: 1.3.6.1.4.1.232.3.2.5.1.1.6.0.0

These tests are run once a day.
For an HPE Proliant DL380Gen10.
I can also export and send our tests, if you want.

Best Regards
Step
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

So the only real test that can trigger alerts - Status? And I assume you don't need to modify this test when replicated it?

Other tests just for statistics, reports?
Or you want to get alerts from these tests as well, when someone changes disk?

Regards
Alex
step
Posts: 19
Joined: Thu Apr 20, 2006 3:13 pm
Location: Berlin, GER

Post by step »

Right. Status is the only test that can change on its own.
All other tests only become interesting when the respective disk is changed.

Normally, a disk changes status, must then be replaced and we can see whether the change has taken place and immediately have all the key data of the new disk.

Best regards
Step
KS-Soft
Posts: 12869
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I think you can use SetTestParam or SetTestParamByID HMScript command with Threshold parameter
https://www.ks-soft.net/hostmon.eng/mfr ... #actScript
e.g.
SetTestParamByID %TestID% Threshold %Reply%
You may assign advanced mode action to the tests, using expression like %AcknowledgedJustNow%
So, if you replace disk and acknowledge test status (using GUI or some other action), then HostMonitor will set current reply value as test parameter (I assume you are using <> alert mode)

Or you may use different expression for the action, e.g.
%AcknowledgedJustNow% and (("%AckComment%" getword 1)=="NewDiskSet")
So if you acknowledge test status AND type some comment starting with NewDiskSet keyword, then HostMonitor will set current reply value as test parameter

You may select set of tests and acknowledge all of them at once

Regards
Alex
Post Reply