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

Macro in "Pivate Log" field

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list
View previous topic :: View next topic  
Author Message
batcheson



Joined: 29 Jul 2003
Posts: 13

PostPosted: Fri Dec 05, 2008 1:59 pm    Post subject: Macro in "Pivate Log" field Reply with quote

I originally posted the following in the Installation / Configuration forum... I am moving the post to the Wish List forum since it is a feature I need before I can start to use Templates:

----------

Using Macros / Variables in the "Private Log" and "Related URL" name fields:

The newest version of HostMonitor introduced the concept of “Templates” through the use of Variables. I think this is a great idea since I have several thousand tests setup that are continuously being modified / added. I started to make templates using this new feature; however, I am experiencing difficulties with a couple fields in the template…

These fields are the “Use Private Log” field where you name the Log File and the “Related URL” field name.

All of my tests have a private log setup (Hence the name “Private Log”) but I cannot find a way to Auto Populate a Unique name for each test when a template is copied into a folder. Before using templates, I used a Private Log name based on the name of the server I was running the test against. I was hoping to use a macro variable such as %Host% or %Folder% in the name of the Private Log to generate a unique name based off the Folder name just as you can name the test based off the folder name using the macro %Folder%. When I put something like C:\Hostmonitor\%Folder%.html in the Field for Private Log I do not get the results I was hoping for. Likewise, I have the same problem defining the URL name in the “Related URL” field on the test.

Without being able to generate a Unique Name for the “Private Log” and “Related URL” for each test, the Nice Template feature has become unusable since I cannot log Test results to a private log for each individual test.

Would it be possible to use Macros / Variables in these fields so they will autopopulate when using templates?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Dec 08, 2008 9:50 am    Post subject: Reply with quote

Yes, we will implement such options

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



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Dec 10, 2008 4:21 pm    Post subject: Reply with quote

The following update www.ks-soft.net/download/hm775.zip allows you to use variables for Related URL field.
Please install version 7.74 before using this update

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



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Dec 16, 2008 1:40 pm    Post subject: Reply with quote

Ok, there is new version www.ks-soft.net/download/hm775d.zip
It allows you to use variables for Related URL and Private Log fields.
Please install version 7.74 before using this update

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



Joined: 14 Oct 2005
Posts: 16
Location: Indianapolis

PostPosted: Wed Dec 17, 2008 2:36 pm    Post subject: Reply with quote

Love the macro expansion features. Looking forward to more macros in more places.

Today we're looking for it in the DNS test for the Request field (i.e. Request: %Folder%.domain.com)

Thanks as always,

Jeff Dean
John Wiley & Sons
Back to top
View user's profile Send private message
megasound
Guest





PostPosted: Sun Dec 21, 2008 3:15 pm    Post subject: not working.... Reply with quote

hi

i downloaded the 7.75d version
but stil this is NOT working
\\192.168.1.100\Data\Software\Hostmonitor\%Folder%.htm
i wont create seperate files

what am i doing wrong ???
i changed the options -> log settings ->File log -> log to specific file
\\192.168.1.100\Data\Software\Hostmonitor\%Folder%.htm

but this is not working for me.....
Back to top
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sun Dec 21, 2008 4:06 pm    Post subject: Reply with quote

Please read the manual.
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#templates

Templates can be applied to test items.
It has nothing to do with global options!

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