HostMonitor can log application events to a log file(s) or database. Different log detail levels and log file formats can be configured to suit your needs. There are 4 kinds of logs:
If a private log is specified, the popup menu for that test will contain the item, "View private log".
In some cases you may need very specific logging option, like "if temperature in server room between 70 and 75 degrees F, record every test probe; othewise log nothing". In such case you may disable common and private logs for the test item and use "Record HM log" or "SQL Query" actions to save information.
System log is yet another log type. HostMonitor uses the system log to record events like start/stop monitoring, as well as information on started and/or failed alert actions. You may setup log parameters on the System log page in the Options dialog.
User operations log
Also HostMonitor may record operations performed by local or remote operators, operations performed by HM Script or HostMonitor itself. It records information about enabled and disabled test items, paused and refreshed items, removed folders and tests, modified folders, views and tests, started scripts, import operations and so on. Each type of operation has its own ID. List of such operations listed in the manual (see Appendix #2).
For each operation HostMonitor records:
Log setting located on System log page in HostMonitor Options dialog.
Log processing options allow you to manage log files: e.g. you may setup HostMonitor to remove files older than 3 months, or you may configure HostMonitor to keep just 2 log files - for previous and current month.
To view log files, you can use either the built-in viewer, associated programs or an external program. You can setup different viewers to view different log types. For example,
to view an HTML log file you can use the associated program (your default web browser); to view a text log file you can use the build-in log viewer, etc.
Advanced Host Monitor package includes Log Analyzer. 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.
HostMonitor can generate reports at regular intervals and/or when some tests
change their status. Reports can be in either HTML, DBF, WML, or Text formats.
The highly flexible Report Manager allows you
to create and customize reports to your liking in a variety of ways. Also note that
each folder may contain its own list of reports, and each of the reports can be set up with a launching schedule specific to that folder.
With reports, you can easily check the status of your network from anywhere using a Web browser or your WAP cell phone.
It is also possible to have HostMonitor generate a report every time a test changes its status.
This can be done by adding "Generate reports" action to the Action Profile.
The other way to implement the same behavior would be to add a "Run HMS Script" action, and include a CreateReport command in the script to execute.