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

Questions regarding variables

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



Joined: 08 Dec 2015
Posts: 50

PostPosted: Wed Jan 25, 2017 1:07 am    Post subject: Questions regarding variables Reply with quote

I have a couple of questions regarding variables.

--Test Drive Space--

Can the specified Size be used as a variable for the Test Name?

Example: Alert if free Space less than 10 GB

Testname: "Free space: %path%\ (%treshold%)" translates to "Free space: C:\ (8 GB)"

Using RMA, the variables %DiskID% and %DiskLabel% are not usable for test name and comment

--Test DNS--

The definied Folder Variable is not usable in the field "Test result for". Can this be added?

Used Version is HM 10.50
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Jan 25, 2017 7:42 am    Post subject: Reply with quote

Quote:
Using RMA, the variables %DiskID% and %DiskLabel% are not usable for test name and comment

This has nothing to do with RMA.
These variables can be used as parameter of some action. So you can use the same action profile for different test items.

While test parameters support different list of variables for different purpose - automatically change test name or target host when you copy or move test items from one folder to another.
There is list of such variables (no, there is no %threshold% variable)
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#templates

Quote:
The definied Folder Variable is not usable in the field "Test result for". Can this be added?

No, there is no such option and I am not sure why do you need it.
Do you need to setup many DNS test items that will check for the same IP and this IP can be changed from time to time?

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



Joined: 08 Dec 2015
Posts: 50

PostPosted: Wed Jan 25, 2017 11:39 pm    Post subject: Reply with quote

Regarding DNS Test:

We use one folder per server. In this folder we use folder variables. If a server changes or a new server has to be added, than the folder and all test will be copied. Then the folder variable gets changed and almost all tests refer to the new server. This i wanted to achieve for dns test too.

Having only one place to configure the target reduces the possibility of mistakes.

Regarding Drive Space Test

The idea / hope was, that hm gets the drive name via rma and can use this value in Test name. So when we have a problem we see in WebService what this drive is for.

Again here it is easier to maintain the drive names in target server than change it in HM. This is important because the hm Admin is not always the serer admin. So the hm admin doesn't need to care about changes and new infos are automatically retrieved by rma.

I know that there is no %threshold% variable. I simply wanted to know if i can retrieve the info via variable or not. And if not can you add? We have dozens of drive spae tests for all of our servers. Seeing that the drive Space tests goes bad alone is not helpful. That it why we added the configured test vaule to the name. So one sees the difference between the current value and the alert value. This way one can better decide that and how fast to do. Having the "treshold" value in test name eases the configuration of the tests (both changing and cloning).
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Jan 26, 2017 7:04 am    Post subject: Reply with quote

I see. Probably we add this option for DNS test.

Quote:
The idea / hope was, that hm gets the drive name via rma and can use this value in Test name. So when we have a problem we see in WebService what this drive is for.

Static fields (like test name) cannot (and we think should not) changed every time test result changes. Such fields should not depend on test results.
There are "custom" field that can be displayed by HostMonitor/RCC GUI
quote:
Quote:

Custom fields
You may add up to 8 custom fields for each account. You can use most of test related variables to define field value and any static text to describe the field (you cannot use "historical" variables like %Stat24Hours_MinReply%, %Stat30Days_AliveRatio% and SNMP related variables). You may use one or several variables in each field and static text but you cannot use expressions like %TestID% + %FailureID% (here + will be considered as static text, not mathematical operator, in other words HostMonitor will display value of these two variables, not sum of the values).
For example you may create FolderA for file related test items and tell HostMonitor to display filename, file size and modification time for each test item; another FolderB may contain URL test items and display HTTP response code as additional field.
Note: you may add custom fields for Folders and Views as well.

warning: if you have a lot of tests in the folder (e.g. 6000) then custom fields will slow down GUI.

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