I am trying to figure out if/how HM can help in recording long term trends of rapidly varying characteristics, for example CPU usage.
I'd like to store in a log file, every evening, the mean value over the day. For this, I will measure the value every few seconds (5 or 10 or 20), between, say, 10:00-12:00 and 14:00-16:00. In order to avoid storing all the values over a day, I would compute the running mean (the mean until the current moment); I believe I'll have no information loss due to limited floating point precision. Alternatively, I could accumulate the data and compute the mean at the end.
Now my question is: what part of it could HM do and what has to be done by a script?
Thanks in advance for any suggestion.
AlexL
Long Term Trends?
There are several solutions. If you need these data for some chart (like this one), the best solution would be ... do nothing. We plan to include new utility LogVisualizer into package pretty soon (I think in February). It will be able to analyze logging data and create charts by request.
What you can do right now?
1) you may setup HostMonitor to perform the test and record data into file or ODBC log between 10:00-12:00 and 14:00-16:00.
If you want to perform test between 10:00-12:00 and 14:00-16:00, use Schedule http://www.ks-soft.net/hostmon.eng/mfra ... ofiles.htm
If you want to perform test 24/7 but store logging data between 10:00-12:00 and 14:00-16:00, you may disable regular logging for the test and use "Record HM log" or "SQL Query" action instead (assign the same schedule to the action instead of the test)
2a) Then you may use Log Analyzer to analyze data and create charts using daily average reply value.
http://www.ks-soft.net/hostmon.eng/la/index.htm#RepMan
2b) or you may setup HostMonitor to generate HTML reports once a day and reset statistic counters (like %AverageReply%) after report generation. Use options located in Statistics page in Folder Properties dialog.
Note: also you may setup HostMonitor to reset statistics for specific test using HMScript action
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
If you want to process test results in some other way, I would recommend to use ODBC table for logging and create custom script for analyzing.
Regards
Alex
What you can do right now?
1) you may setup HostMonitor to perform the test and record data into file or ODBC log between 10:00-12:00 and 14:00-16:00.
If you want to perform test between 10:00-12:00 and 14:00-16:00, use Schedule http://www.ks-soft.net/hostmon.eng/mfra ... ofiles.htm
If you want to perform test 24/7 but store logging data between 10:00-12:00 and 14:00-16:00, you may disable regular logging for the test and use "Record HM log" or "SQL Query" action instead (assign the same schedule to the action instead of the test)
2a) Then you may use Log Analyzer to analyze data and create charts using daily average reply value.
http://www.ks-soft.net/hostmon.eng/la/index.htm#RepMan
2b) or you may setup HostMonitor to generate HTML reports once a day and reset statistic counters (like %AverageReply%) after report generation. Use options located in Statistics page in Folder Properties dialog.
Note: also you may setup HostMonitor to reset statistics for specific test using HMScript action
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
If you want to process test results in some other way, I would recommend to use ODBC table for logging and create custom script for analyzing.
Regards
Alex