Hi,
I want to send a report every 4 hours.
The report should include few tests and their average value during the last 4 hours.
How can I do that?
Report with the average of the last X hours
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Report with the average of the last X hours
HostMonitor can generate global and folder-level reports at regular intervals.
If you want to display average statistics information for last 4 hours, you will need to reset test statistics each time report is generated.
Statistics for particular test items can be reset by HMS script.
Also, you may create report for specific View.
How to do:
1. Create HMS script to clear statistics for selected test items.
Script may look like the following:
2. Create Action profile with "Execute HMS script" action and select Condition to start action: "on the schedule", select prepared HMS script from step 1.
3. Create report profile using Report manager (menu Reports -> Report Manager...)
4. Create View
5. Select Report profile for that View ("Reports" page of "Dynamic view properties" dialog)
6. Activate "Generate reports every" option and set interval to 240 min
7. Activate "Execute action profile when complete" option and select action profile from step 2
Please check the manual or visit our web site for more information at:
Execute HMS script action: http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
View reports: http://www.ks-soft.net/hostmon.eng/mfra ... ew_reports
If you want to display average statistics information for last 4 hours, you will need to reset test statistics each time report is generated.
Statistics for particular test items can be reset by HMS script.
Also, you may create report for specific View.
How to do:
1. Create HMS script to clear statistics for selected test items.
Script may look like the following:
Code: Select all
ResetTest TestItemName 1
ResetTest TestItemName 2
ResetTest TestItemName 3
3. Create report profile using Report manager (menu Reports -> Report Manager...)
4. Create View
5. Select Report profile for that View ("Reports" page of "Dynamic view properties" dialog)
6. Activate "Generate reports every" option and set interval to 240 min
7. Activate "Execute action profile when complete" option and select action profile from step 2
Please check the manual or visit our web site for more information at:
Execute HMS script action: http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
View reports: http://www.ks-soft.net/hostmon.eng/mfra ... ew_reports
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Report with the average of the last X hours
Actually, you may exclude such test items, using View configuration.
E.g. you may additionally use "Select items by stats" section and define Alive ration > 50 %.
Also, you may use "Select items using expression" option with expression like the following:
('%AliveRatio%' > '50 %') AND ('%DeadTime%' < '00:25:00')
You may check all statistical macro-variables at:
http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro
E.g. you may additionally use "Select items by stats" section and define Alive ration > 50 %.
Also, you may use "Select items using expression" option with expression like the following:
('%AliveRatio%' > '50 %') AND ('%DeadTime%' < '00:25:00')
You may check all statistical macro-variables at:
http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro