How to generate a report from a view using an HMS script

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
cichockia
Posts: 38
Joined: Fri Sep 19, 2014 4:41 pm

How to generate a report from a view using an HMS script

Post by cichockia »

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?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

No, you cannot use script for such task
It works with folders, not Views
cichockia
Posts: 38
Joined: Fri Sep 19, 2014 4:41 pm

Post by cichockia »

OK
Thank you for your help.
It would be nice if such a possibility appeared in the next version
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
cichockia
Posts: 38
Joined: Fri Sep 19, 2014 4:41 pm

Post by cichockia »

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.
Post Reply