evilmonkey wrote:We check the available disk space on our servers once a day, even if the monitor fires we often ignore it. A summation of monitors would be nice, e.g. Hola! This is the HostMonitor today x tests have failed.
I am using this already, here is the recipe:
1- In the options dialog/reports, create e report
with only Bad Items (new and acknowledged) with all methods. (Let's assume we save it here: D:\Host Monitor\Private\Daily_Report.htm) and set reports to be generated on a regular basis (Generate reports every...), I set it to 30 minutes.
Header:
Code: Select all
<html><head>
<meta name="GENERATOR" content="KS-Soft HostMonitor">
<META http-equiv="Content-Style-Type" content="text/css">
<title>[your Company name] Global Report</title>
</head>
<body bgcolor="White" text="Black" >
<p align="left"><u><strong><big><big>[your Company name] Global Report - Daily Report</big></big><br>
</strong></u><font face="Arial">Generated on %Date% at %Time%</font></p>
Test list with currently "Bad" status
<hr>
<form>
<table border=0>
Folder Title:
Code: Select all
<tr><td valign=top nowrap bgcolor="#000080"><b><font color="#FFFFFF"> %Folder%</font></b></td><td> </td><td>
Test Items: Bad (both)
Code: Select all
Test name: %TestName%<br>Test type: [%TestMethod%]<br>
<span class=Bad>Status: %Status% | Recurrences: %Recurrences% | Reply: %Reply% | Duration: %CurrentStatusDuration% </span>
<br>
Folder Summary:
Code: Select all
<table border=0>
<tr><td> Reported Tests in [%Folder%] </td><td>%FolderCurrent_TotalTests%</td></tr>
<tr><td> Tests with "Bad" status</td><td>%FolderCurrent_BadTests%</td></tr>
</table>
<hr>
Gap between folders: (nothing)
Footer:
Code: Select all
</table>
<hr>
<table border=0>
<tr><td> Tests with "Bad" status</td><td>%BadTests%</td></tr>
</table>
<p>Repport generated by [your Company name]</b><br>
Contact [Your Name] for more info.<br>
<a href="mailto:[Your mail address]">[Your mail address]</a><br>
</p>
</body>
</html>
2- Create an action profile that will:
- a- Generate reports for the folder you want to check daily
- b- Send a mail to an admin group you have in your Active Directory with a mail profile: Email body:HTML which will be this:
Code: Select all
<br>
<<IncludeFile=D:\Host Monitor\Private\Daily_Report.htm>>
3- In options/scheduler, create a daily event everyday at the time you want the report be mailed (lets say 6 AM), that will fire your Action profile
If you follow these steps, you will receive a daily list of "bad tests"
That's what you want right?
Have a nice day.