View previous topic :: View next topic |
Author |
Message |
Pablo Rönnebarth
Joined: 28 Feb 2014 Posts: 12
|
Posted: Tue Mar 04, 2014 9:53 am Post subject: Macro variables in report filename |
|
|
hi. while saving the (custom html) report to a file, how can I use the folder name in the filename? i tried %Folder%. it sems that i can only use date/time related macros in the filename? how can i achieve that my reports (generated per customer every 3 months have a filename that reflects from which folder it came? do i have to configure the reports per folder? i was looking for something as (in the options) report profile->my_custom_report, generate to file->%Folder%_%dd%_%mm%.html.
is that possible? |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Mar 04, 2014 10:29 am Post subject: |
|
|
Quote: | how can i achieve that my reports (generated per customer every 3 months have a filename that reflects from which folder it came? |
"Per customer" means "per folder", right?
Then simply type name of the file when you setup list of reports using Folder Properties dialog.
http://ks-soft.net/hostmon.eng/mframe.htm#testlist.htm#folder_reports
Why you may need variable?
Regards
Alex |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Pablo Rönnebarth
Joined: 28 Feb 2014 Posts: 12
|
Posted: Wed Mar 05, 2014 1:29 am Post subject: report per folder |
|
|
i would like to have a report per customer (folder), however i would like the general report option (options->reports) so i dont have to edit each and every folder. so to have in the general report option "Generate to file" a variable containing folder (customer) name. is something similar possible? i know i could edit every folder, however it's a lot of them ~250. so i am looking for a way to generate a simple report for our customers (disk usage, backup state, etc) that i can manage centrally without having to change a lot of stuff everytime i change something. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Mar 05, 2014 9:32 am Post subject: |
|
|
Quote: | i would like to have a report per customer (folder), however i would like the general report option (options->reports) so i dont have to edit each and every folder. |
Reports specified in Options dialog? These reports include entire test list.
Sounds like you need entirelly new option - not just a variable, you need a code that will be able to generate set of reports based on folders tree (1st level subfolders? 2nd level? all levels?) regardless of folders reports settings. Am I right?
I don't think we will implement this in version 9
BTW: if you provide monitoring service to 3rd party, you need SPL license
http://ks-soft.net/hostmon.eng/license.htm#spl
Regards
Alex |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|