log file macros

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
rbartels
Posts: 17
Joined: Wed Mar 16, 2005 1:30 pm

log file macros

Post by rbartels »

I am using hostmonitor to capture security logs from several servers.

Using 6.0beta:

I would like to setup a log directory structure like :
c:\logs\%TestName%\%YYYY%\%MM%\%DD%\%CommentLine1%-%DDMMYYYY%.txt

Are there any macros besides YYYY DD MM that work with the log filenames??

Which macros work? Comment, Testname etc don't seem to. Documentation is kinda unspecific as to which macros are available in a test. Since the log happens AT test time I was under the impression that macros could be used in any part of the Test Properties dialog options.

Thanks

Bob
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Which macros work? Comment, Testname etc don't seem to.
Of course not. These macro variables represents parameters of the test that has triggered the action. Means you may use these macro variables for actions.
Documentation is kinda unspecific as to which macros are available in a test.
Documentation is pretty specific.

If you are configuring file related test, read "Tests" section of the manual
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm

If you are configuring the action, read "Action and Action Profiles" section of the manual
http://www.ks-soft.net/hostmon.eng/mfra ... ctions.htm

If you are configuring logs, read "Logs & Reports" section of the manual
http://www.ks-soft.net/hostmon.eng/mframe.htm#logs.htm

As you may see each section has its own list of macro variables

Regards
Alex
Post Reply