Report with response details
Report with response details
I am trying to create a report that displays all the responses to a ping test for the past day for a particular device (or for a folder). Any ideas on how I might accomplish this? The report could be a simple table that would list each time the ping ran and the response received.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: Report with response details
Looks like you need a log file, not report. You may specify the "Private log" for the particular test in "Test Properties" window. HostMonitor will record to "Private log" information you need.spud wrote:I am trying to create a report that displays all the responses to a ping test for the past day for a particular device (or for a folder). Any ideas on how I might accomplish this? The report could be a simple table that would list each time the ping ran and the response received.
http://www.ks-soft.net/hostmon.eng/logs.htm#privLog
You may setup a "Special file processing" options, located in "Options" -> "Log Processing tab", to rotate private logs files every day. Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... processing
=================================
You may choose one of 2 options to specify when HostMonitor should execute external command for processing private log file(s). They could be same as for common log (above) or different:
- If private log(s) was created <N> days/weeks/months/years ago with this option selected HostMonitor will apply specified external command for each log file that was created specified number of days/weeks/months or years ago. HostMonitor checks age of log files once a day (normally at midnight).
- If private log(s) is bigger than <N> KB with this option selected HostMonitor will apply specified external command for current log file only when its size reaches specified limit. ("current" means this option does not affect old log files into which no records are added anymore).
=================================
You may view this information just on the screen every time you need. You just should enable "Quick Log" pane. Quote from the manual:spud wrote:Also, I need to find a way to to report on the past 10 results for a particular test.
http://www.ks-soft.net/hostmon.eng/test ... ickLogPane
=================================
Quick Log pane allows you to check the history of latest events for each test or entire folder. When you select menu "View" -> "Quick Log", HostMonitor opens a pane located at the bottom of the main window and displays last 10 events for selected test or 50 events for selected folder (folder's list includes last events for every test within the folder).
The term "event" means a log record that was added with every test status change. If logging mode for the test is set to "Reply" or "Full", HostMonitor will add a new record when test status changes or the value of "Reply" field changes.
=================================
On the other hand, you may use "LogAnalyzer". Log Analyzer is a graphical tool that visualizes the log data. It parses the contents of a log file and presents the data as a variety of charts representing different test statistics. Log Analyzer may analyze all types of log files: HTML, Text, and DBF log files. In a second, administrator can get a snap shot of the host performance over a period of days or even months.
http://www.ks-soft.net/hostmon.eng/la/index.htm
Regards,
Max
follow up
Thanks for the info Max.
The private log per device might help in displaying the detail for a device but I'm not sure how actually. I can't see a way to report all the results for a device even if the data is in one log file. Another problem with single log files per device is what if I have 100's of devices (in this case lots of routers)? To split all the devices into separate log files creates a bit of a mess when trying to do other reports that summarize all the data for all devices (I assume then I would need to append each private log for each device in order to run the summary reports). Isn't there a way to pull the data for one device from a log file AND display all the results for that day? I am using LogAnalyzer for lots of others reports, but find no function to create a detailed report for a device. The chart reports offer little help because Log Analyzer can only report data for 1 day or larger (no last 10 mins or last hour for example). Once you get more than a few hours of data from a test, the data points become so numerous that reading recent test results detail is no longer possible. I know I must be missing something here.
Also the question about the last 10 or 20 results for a test. This needs be a "report" that users all over the organization can see using their web browser. The Quick Log pane works if you have access to the computer running Host Monitor, which my users do not. I love the quick log pane, but can't see a way to give the users this same data using a link to a report.
The private log per device might help in displaying the detail for a device but I'm not sure how actually. I can't see a way to report all the results for a device even if the data is in one log file. Another problem with single log files per device is what if I have 100's of devices (in this case lots of routers)? To split all the devices into separate log files creates a bit of a mess when trying to do other reports that summarize all the data for all devices (I assume then I would need to append each private log for each device in order to run the summary reports). Isn't there a way to pull the data for one device from a log file AND display all the results for that day? I am using LogAnalyzer for lots of others reports, but find no function to create a detailed report for a device. The chart reports offer little help because Log Analyzer can only report data for 1 day or larger (no last 10 mins or last hour for example). Once you get more than a few hours of data from a test, the data points become so numerous that reading recent test results detail is no longer possible. I know I must be missing something here.
Also the question about the last 10 or 20 results for a test. This needs be a "report" that users all over the organization can see using their web browser. The Quick Log pane works if you have access to the computer running Host Monitor, which my users do not. I love the quick log pane, but can't see a way to give the users this same data using a link to a report.
If you see all test results in the file, what other data do you need??I can't see a way to report all the results for a device even if the data is in one log file.
You may use Log Analyzer to generate report using template and use %DetailedLogFile% command in the templateIsn't there a way to pull the data for one device from a log file AND display all the results for that day?
Quote
==============
when this variable occurs in the table template, Log Analyzer creates HTML file that contains all check results for the test. It substitutes this variable with a corresponding file name.
So, if you want to provide detailed log file for each test, use HTML code such as "<a href="%DetailedLogFile%">".
==============
www.ks-soft.net/hostmon.eng/la/index.htm#RepMan
Log Analyzer will not display last 10 record but you may get and show records for last day or two without problems.
Actually user need access to Web Service that can be installed on different system (however Web Service needs access to HostMonitor)The Quick Log pane works if you have access to the computer running Host Monitor, which my users do not.
DashBoard report can show some log records as wellI love the quick log pane, but can't see a way to give the users this same data using a link to a report.
www.ks-soft.net/hostmon.eng/mframe.htm#profiles.htm
Regards
Alex
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: follow up
Actually, if you specify the "Private log" and select "Full" logging mode, you may use this particular log file as a report as well. Quote from the manual:spud wrote:The private log per device might help in displaying the detail for a device but I'm not sure how actually. I can't see a way to report all the results for a device even if the data is in one log file.
http://www.ks-soft.net/hostmon.eng/mfra ... ns.htm#Log
=======================================
Full: Save information about every performed test
The "Save information about every performed test" option tells HostMonitor to add a record every time a test is performed.
=======================================
So, you will get the HTML file with all the responses to a certain test. Beside that you may setup HostMonitor to move these private log files on regular basis (e.g. every day) to the certain folder and use them as a daily reports.
In fact, if you created report for each of 100 devices, you would get 100 report files as well. Using solution I suggested, you will get 100 log files, which you may use as a reports without changes. Please note: HostMonitor will write logging information into private log files for the tests AND at the same time will write information into the "common" log, which you may use for another reports.spud wrote:Another problem with single log files per device is what if I have 100's of devices (in this case lots of routers)? To split all the devices into separate log files creates a bit of a mess when trying to do other reports that summarize all the data for all devices (I assume then I would need to append each private log for each device in order to run the summary reports).
Please, do not hesitate to ask questions if you do not understand somethigs. We will try to clarify it for you.

Regards,
Max