View previous topic :: View next topic |
Author |
Message |
cichockia
Joined: 19 Sep 2014 Posts: 36
|
Posted: Fri Sep 06, 2019 2:22 am Post subject: How to generate a report from a view using an HMS script |
|
|
Hello,
I added an entry to the HMS script:
SetCurrentFolder Hostmonitor\Servers\
(...)
SetCurrentFolder Views\7 - REPORT - SLA Month - Bad\
IncludeSubFolders yes
CreateReport "SLA month summary BAD" d:\HostMonitor\WebPages\Reports\Incydents\SLA-Monthly-BAD\% yyyy-mm% _SLA_bad_new.htm
Unfortunately, the report does not contain data from the view only from the "Hostmonitor\Servers \" directory
How can I generate data from a view using an HMS script? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Sep 06, 2019 4:50 am Post subject: |
|
|
No, you cannot use script for such task
It works with folders, not Views |
|
Back to top |
|
|
cichockia
Joined: 19 Sep 2014 Posts: 36
|
Posted: Fri Sep 06, 2019 6:12 am Post subject: |
|
|
OK
Thank you for your help.
It would be nice if such a possibility appeared in the next version |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Sep 06, 2019 12:57 pm Post subject: |
|
|
May I ask why do you need script?
Generate reports action may create reports set for specific View. Also reports can be generated by scheduler..
Regards
Alex |
|
Back to top |
|
|
cichockia
Joined: 19 Sep 2014 Posts: 36
|
Posted: Tue Nov 05, 2019 2:53 am Post subject: |
|
|
Hello,
Generating reports with the script makes managing reports much easier.
I could group all reports in one script and group them into e.g. daily, weekly, monthly etc. |
|
Back to top |
|
|
|