Questions regarding variables

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
sysadmber
Posts: 50
Joined: Tue Dec 08, 2015 1:26 am

Questions regarding variables

Post by sysadmber »

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
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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/mfra ... #templates
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
sysadmber
Posts: 50
Joined: Tue Dec 08, 2015 1:26 am

Post by sysadmber »

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).
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I see. Probably we add this option for DNS 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.
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:
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
Post Reply