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

Mimic the HTML Report settings in the Custom HTML Report tab

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
doubleu



Joined: 22 Jan 2003
Posts: 10

PostPosted: Fri Jan 24, 2003 5:29 pm    Post subject: Reply with quote

In an effort to figure out how Custom HTML reports work, I'm wondering if someone can tell me what goes under each tab in the Custom HTML tabs to make a report look just like the normal HTML report. OR, does anyone have some templates that they could share?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12801
Location: USA

PostPosted: Sat Jan 25, 2003 2:21 pm    Post subject: Reply with quote

to make a report look just like the normal HTML report?
Its simple:
1) leave "Folder summary" and "Gap between folders" sections empty
2) copy contents of stdFooter.html file (Examples directory) into "Footer" section
3) "Folder title" section can looks like
<tr><td colspan=4 bgcolor="%Background%" nowrap align="left"><b><font color="%ItemColor%"> Folder: %Folder% </font></b></td></tr>
value of colspan parameter should be equal to number of fields in the report.

Contents of "Header" and "Test items" section depends on list of fields you want to include into the report. Consider for example 4 fields: TestName, LastTestTime, Status, and Reply.

4) copy contents of stdHeader.html file (Examples directory) into "Header" section and add 6 more lines:
<tr>
<td bgcolor="%Background%" nowrap align="left"><strong><font color="%ItemColor%">Test name</font></strong></td>
<td bgcolor="%Background%" nowrap align="center"><strong><font color="%ItemColor%">Last test time</font></strong></td>
<td bgcolor="%Background%" nowrap align="center"><strong><font color="%ItemColor%">Status</font></strong></td>
<td bgcolor="%Background%" nowrap align="center"><strong><font color="%ItemColor%">Reply</font></strong></td>
</tr>


5) add 6 lines into "Test items" section (for each status)
<tr>
<td bgcolor="%Background%" nowrap valign="top" align="left"><font color=%ItemColor%>%TestName%</font></td>
<td bgcolor="%Background%" nowrap valign="top" align="center"><font color=%ItemColor%>%LastTestTime%</font></td>
<td bgcolor="%Background%" nowrap valign="top" align="center"><font color=%ItemColor%>%Status%</font></td>
<td bgcolor="%Background%" nowrap valign="top" align="center"><font color=%ItemColor%>%Reply%</font></td>
</tr>

That's it

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



Joined: 22 Jan 2003
Posts: 10

PostPosted: Sat Jan 25, 2003 5:18 pm    Post subject: Reply with quote

beautiful! thanks again Alex for your prompt assistance!
Back to top
View user's profile Send private message
doubleu



Joined: 22 Jan 2003
Posts: 10

PostPosted: Sat Jan 25, 2003 5:57 pm    Post subject: Reply with quote

Does %LastTestTime% exist in v3.62?

Also, is there a macro for Interval?

(no biggie, just curious)
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12801
Location: USA

PostPosted: Sun Jan 26, 2003 2:01 pm    Post subject: Reply with quote

%LastTestTime% and %Interval% variables implemented in HostMonitor 3.64, will be available on next week.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor 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