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

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

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
cichockia



Joined: 19 Sep 2014
Posts: 36

PostPosted: Fri Sep 06, 2019 2:22 am    Post subject: How to generate a report from a view using an HMS script Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Fri Sep 06, 2019 4:50 am    Post subject: Reply with quote

No, you cannot use script for such task
It works with folders, not Views
Back to top
View user's profile Send private message Visit poster's website
cichockia



Joined: 19 Sep 2014
Posts: 36

PostPosted: Fri Sep 06, 2019 6:12 am    Post subject: Reply with quote

OK
Thank you for your help.
It would be nice if such a possibility appeared in the next version
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Fri Sep 06, 2019 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
cichockia



Joined: 19 Sep 2014
Posts: 36

PostPosted: Tue Nov 05, 2019 2:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting 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