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

Determine normal value for multiple test?

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



Joined: 20 Apr 2006
Posts: 19
Location: Berlin, GER

PostPosted: Thu Sep 15, 2022 2:22 am    Post subject: Determine normal value for multiple test? Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Sep 15, 2022 2:41 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
step



Joined: 20 Apr 2006
Posts: 19
Location: Berlin, GER

PostPosted: Thu Sep 15, 2022 3:05 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Sep 15, 2022 4:56 am    Post subject: Reply with quote

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

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



Joined: 20 Apr 2006
Posts: 19
Location: Berlin, GER

PostPosted: Thu Sep 15, 2022 5:13 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Sep 15, 2022 5:18 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
step



Joined: 20 Apr 2006
Posts: 19
Location: Berlin, GER

PostPosted: Thu Sep 15, 2022 5:45 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Sep 15, 2022 9:23 am    Post subject: Reply with quote

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