Hi!
When I test hosts, I use macro's in the the test-name, e.g. I want to test for free space on a host. I use the free space test via RMA.
In Test Name I use a macro: %Agent%: C:\ Free Space test.
This works exellent, as I can copy the test and only have to change the agent. And I get the hostname sent to me via sms.
But when I generate reports, the macro is not interpreted. The testname appears in the report as %Agent%: C:\ Free Space test.
Regards
Hanus
Possible macro-bug.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Actually, using macro variables in test name is not a common way. You just should use %Agent% and %TestName% variables in message template for "Send SMS" action and you may assign that action profile to any test: http://www.ks-soft.net/hostmon.eng/mfra ... .htm#Mails
%Agent% is a variable, that could be used as action profile's parameter, so it is not resolved by HostMonitor in TestList (GUI), reports and log files.
Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro
===============
When defining some of the alert action's parameters you can use special macro variables.
===============
Regards,
Max
%Agent% is a variable, that could be used as action profile's parameter, so it is not resolved by HostMonitor in TestList (GUI), reports and log files.
Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro
===============
When defining some of the alert action's parameters you can use special macro variables.
===============
Regards,
Max