how to add Latest bad&good events:

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
nieaicai
Posts: 73
Joined: Fri Aug 03, 2012 9:05 pm

how to add Latest bad&good events:

Post by nieaicai »

does in cutom report mode support Latest bad&good events:?
how to add Latest bad&good events:
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

There is no such option.
But you may create separate HTML file with latest events and add link (or frame) into custom report.

E.g. you may use Report profile assigned to View ("Reports" page of "Dynamic view properties" dialog). Just create View with criteria like " show only Bad items and status duration less then 60 min".
Please check for details at:
Views: http://www.ks-soft.net/hostmon.eng/mfra ... #ViewsList
nieaicai
Posts: 73
Joined: Fri Aug 03, 2012 9:05 pm

Post by nieaicai »

But you may create separate HTML file with latest events and add link (or frame) into custom report.
IT IS A good idea , in fact
i need a custom report include custom style with latest events .
now i can create custom report without latest events .
now lack of custom report with latest events

i read the help long times , still not get it , waiting for your help
tks very much!
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Sorry, I do not understand you question.
Could you please explain what exactly is the problem?

Regards
Alex
nieaicai
Posts: 73
Joined: Fri Aug 03, 2012 9:05 pm

Post by nieaicai »

sorry let you confused !!
i do not know how to get the script of latest events
when i get the script,i can insert the sript into my custom report.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

"get the script of latest events"??
Sorry, this does not make any sense to me :roll:
There are Reports, Folders and View. It has nothing to do with "scripts".

>"when i get the script,i can insert the sript into my custom report."

Sure, you can insert Java or VB Script into HTML report template but your script will not be able get information from nothing.
That's why you should setup REPORT that will contain necessary information.

You may setup HostMonitor to create several reports (e.g. you may use View to create report to display test items that changed status recently, as described in 1st answer) and you may use links or frames in your Custom HTML report to display several HTML files on one page.

How to use frames: http://www.w3.org/TR/html4/present/frames.html
If you want to use some script to load HTML files instead of using frames, you can do this as well but in any case you should setup REPORT first.

Regards
Alex
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

As I already said, there is no ready solution.
However you may combine two reports: include report with latest events into your report:
1. First you need to create View with latest events.
E.g. View may display items with status duration less then 10 min (latest events).
Add view, set Source folder to "Root\", enable "Include subfolders" option and select vew criteria. E.g. "Select items by stats" -> Status duration < 10 min.
2. Create View specific report (based on items from View). It can be HTML or Custom HTML report and should be specified on "Reports" page of "Dynamic view properties" dialog.
Also, "Generate reports every 1 min" option should be enabled. In such case, report with latest Bad, Good and Unknown events will be generated every minute.
3. Add this report to your existing report (e.g. using Frames)
E.g. If you have Custom HTML report you may modify report Footer ("Footer" page of "HTML report template" dialog) by inserting iFrame tag like the following:

Code: Select all

<iframe src="D:\Reports\LatestEvents.html" width="100%"></iframe>
With this configuration you'll get report based on two report files with latest events in the bottom of the report.

Please note: you may use Custom Header and Footer for report with latest events (embedded into your report)

Please check for details at:
Views: http://www.ks-soft.net/hostmon.eng/mfra ... #ViewsList
Reports: http://www.ks-soft.net/hostmon.eng/mfra ... tm#Reports
nieaicai
Posts: 73
Joined: Fri Aug 03, 2012 9:05 pm

Post by nieaicai »

tks so much

i thinke all of you should be given tickets of Noah's Ark by 12.21 haha tks much
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You are welcome :D
Post Reply