View previous topic :: View next topic |
Author |
Message |
step
Joined: 20 Apr 2006 Posts: 19 Location: Berlin, GER
|
Posted: Thu Sep 15, 2022 2:22 am Post subject: Determine normal value for multiple test? |
|
|
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 |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12763 Location: USA
|
Posted: Thu Sep 15, 2022 2:41 am Post subject: |
|
|
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 |
|
Back to top |
|
 |
step
Joined: 20 Apr 2006 Posts: 19 Location: Berlin, GER
|
Posted: Thu Sep 15, 2022 3:05 am Post subject: |
|
|
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 |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12763 Location: USA
|
Posted: Thu Sep 15, 2022 4:56 am Post subject: |
|
|
What exactly parameters/OID do you check? May be we can implement or suggest some better option.
Regards
Alex |
|
Back to top |
|
 |
step
Joined: 20 Apr 2006 Posts: 19 Location: Berlin, GER
|
Posted: Thu Sep 15, 2022 5:13 am Post subject: |
|
|
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 |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12763 Location: USA
|
Posted: Thu Sep 15, 2022 5:18 am Post subject: |
|
|
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 |
|
Back to top |
|
 |
step
Joined: 20 Apr 2006 Posts: 19 Location: Berlin, GER
|
Posted: Thu Sep 15, 2022 5:45 am Post subject: |
|
|
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 |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12763 Location: USA
|
Posted: Thu Sep 15, 2022 9:23 am Post subject: |
|
|
I think you can use SetTestParam or SetTestParamByID HMScript command with Threshold parameter
https://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#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 |
|
Back to top |
|
 |
|