KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Custom HTML Template needed

Post new topic   Reply to topic    KS-Soft Forum Index -> Reports
View previous topic :: View next topic  
Author Message

Joined: 01 Aug 2005
Posts: 100

PostPosted: Thu Sep 29, 2005 5:40 am    Post subject: Custom HTML Template needed Reply with quote

Hi at all,

is there anybody who has the template for a custom html report that includes the folder summary and the other modules like in example1 from online help?

Best regards

E. Wesener
Back to top
View user's profile Send private message

Joined: 03 Apr 2002
Posts: 12337
Location: USA

PostPosted: Thu Sep 29, 2005 10:20 am    Post subject: Reply with quote

Use something like this


<meta name="GENERATOR" content="KS-Soft HostMonitor">
<title>HostMonitor report</title>
<STYLE TYPE="text/css"><!-- a:hover { color: "#0000FF"; } --> </STYLE>
<body bgcolor="#E9E9E9" text="#000000" link="#0000FF" vlink="#0000FF" alink="#0000FF">
<p align="left"><u><strong><big><big>HostMonitor Report</big></big><br>
</strong></u><font face="Arial">Generated on %Date% at %Time%</font></p>
<table border="0" bordercolor="#00008C" width="100%">
    <td bgcolor="#0000FF" nowrap align="left"><strong><font color=#FFFFFF>Test name</font></strong></td>
    <td bgcolor="#0000FF" nowrap align="center"><strong><font color=#FFFFFF>Status</font></strong></td>
    <td bgcolor="#0000FF" nowrap align="center"><strong><font color=#FFFFFF>Recurrences</font></strong></td>
    <td bgcolor="#0000FF" nowrap align="center"><strong><font color=#FFFFFF>Reply</font></strong></td>
    <td bgcolor="#0000FF" nowrap align="center"><strong><font color=#FFFFFF>Alive %</font></strong></td>
    <td bgcolor="#0000FF" nowrap align="center"><strong><font color=#FFFFFF>Dead %</font></strong></td>
    <td bgcolor="#0000FF" nowrap align="center"><strong><font color=#FFFFFF>Total tests</font></strong></td>
    <td bgcolor="#0000FF" nowrap align="center"><strong><font color=#FFFFFF>Passed tests</font></strong></td>
    <td bgcolor="#0000FF" nowrap align="center"><strong><font color=#FFFFFF>Failed tests</font></strong></td>
    <td bgcolor="#0000FF" nowrap align="center"><strong><font color=#FFFFFF>Average reply</font></strong></td>
    <td bgcolor="#0000FF" nowrap align="center"><strong><font color=#FFFFFF>Min reply</font></strong></td>
    <td bgcolor="#0000FF" nowrap align="center"><strong><font color=#FFFFFF>Max reply</font></strong></td>

Folder title

    <td colspan=12 bgcolor="%Background%" nowrap align="left"><b><font color="%ItemColor%"> Folder: %Folder%\ </font></b></td>

Test items

    <td bgcolor="%Background%" nowrap valign="top" align="left">     &nbsp;<font color=%ItemColor%>%TestName%</font>&nbsp;</td>
    <td bgcolor="%Background%" nowrap valign="top" align="center">&nbsp;<font color=%ItemColor%>%Status%</font>&nbsp;</td>
    <td bgcolor="%Background%" nowrap valign="top" align="center">&nbsp;<font color=%ItemColor%>%Recurrences%</font>&nbsp;</td>
    <td bgcolor="%Background%" nowrap valign="top" align="center">&nbsp;<font color=%ItemColor%>%Reply%</font>&nbsp;</td>
    <td bgcolor="%Background%" nowrap valign="top" align="center">&nbsp;<font color=%ItemColor%>%AliveRatio%</font>&nbsp;</td>
    <td bgcolor="%Background%" nowrap valign="top" align="center">&nbsp;<font color=%ItemColor%>%DeadRatio%</font>&nbsp;</td>
    <td bgcolor="%Background%" nowrap valign="top" align="center">&nbsp;<font color=%ItemColor%>%TotalTests%</font>&nbsp;</td>
    <td bgcolor="%Background%" nowrap valign="top" align="center">&nbsp;<font color=%ItemColor%>%PassedCnt%</font>&nbsp;</td>
    <td bgcolor="%Background%" nowrap valign="top" align="center">&nbsp;<font color=%ItemColor%>%FailedCnt%</font>&nbsp;</td>
    <td bgcolor="%Background%" nowrap valign="top" align="center">&nbsp;<font color=%ItemColor%>%AverageReply%</font>&nbsp;</td>
    <td bgcolor="%Background%" nowrap valign="top" align="center">&nbsp;<font color=%ItemColor%>%MinReply%</font>&nbsp;</td>
    <td bgcolor="%Background%" nowrap valign="top" align="center">&nbsp;<font color=%ItemColor%>%MaxReply%</font>&nbsp;</td>

the same code for all statuses

Folder summary

 <tr><td colspan=1 bgcolor="#DDDD60" ><font color=%ItemColor%>
  <b>Folder's summary</b> <br>
  Average Alive %<br>
  Average Dead % <br>
  Average Unknown % <br>
  Average Reply <br>
  Min Reply <br>
  Max Reply <br>
<td colspan=11 bgcolor="#DDDD60" ><font color=%ItemColor%>
  %FolderAverage_AliveRatio% <br>
  %FolderAverage_DeadRatio% <br>
  %FolderAverage_UnknownRatio% <br>
  %FolderAverage_AverageReply% <br>
  %FolderMin_MinReply% <br>
  %FolderMax_MaxReply% <br>


<tr height=10></tr>


<table border=0>
 <tr><td> Tests with "Good" status</td><td>%GoodTests%</td></tr>
 <tr><td> Tests with "Bad" status</td><td>%BadTests%</td></tr>
 <tr><td> Tests with "Unknown" status &nbsp;</td><td>%UnknownTests%</td></tr>
<p>This report was generated by <a href="http://www.ks-soft.net" target="_blank"><strong>KS-Soft</strong></a><b>
<a href="http://www.ks-soft.net/hostmon.eng/index.htm" target="_blank">HostMonitor</a></b></p>

Back to top
View user's profile Send private message Visit poster's website

Joined: 01 Aug 2005
Posts: 100

PostPosted: Fri Sep 30, 2005 12:48 am    Post subject: Reply with quote

Hi Alex,

thank you very much for your answer. This is exact this what i have searched. Your support in this forum is really fantastic.


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Reports All times are GMT - 6 Hours
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index