This is the html code taken from the actual cgi file and not the output from the cffile.filecontents.
Home Page Code:

<HTML><HEAD><META HTTP-EQUIV="REFRESH" CONTENT="60"><TITLE>Monitor</TITLE></HEAD>
<BODY bgcolor="#FFFFFF" background=""> <H1>MONITOR</H1>
<FONT COLOR="#000000"><TABLE BORDER=2 WIDTH="98%" CELLPADDING=3 CELLSPACING=0 BGCOLOR="#C0C0C0">
<TR><TH COLSPAN=2 ALIGN=LEFT BGCOLOR="#0080C0">
<table width="100%" border=0><tr><td>MONITOR </td></tr></table>
</TH></TR>
<TR><TD WIDTH="98%" VALIGN=TOP><TABLE WIDTH="100%" BORDER=0 CELLPADDING=0 CELLSPACING=2 BGCOLOR="#C0C0C0">
<TR><TD WIDTH="40%"> </TD><TD WIDTH="20%"> </TD><TD WIDTH="20%"> </TD><TD WIDTH="20%"> </TD></TR><TR><TH ALIGN=LEFT>Services</TH><TH ALIGN=RIGHT>Services Up</TH><TH ALIGN=RIGHT>Services Down</TH><TH ALIGN=RIGHT>Services<br>Down</TH></TR>
<TR><TD><a href="" - DN</a></TD>
<TD bgcolor="#77FF77" ALIGN=RIGHT>4</TD><TD ALIGN=RIGHT>0</TD><TD ALIGN=RIGHT>0</TD></TR>
<TR><TD><a href="" Switches - SF</a></TD>
<TD bgcolor="#77FF77" ALIGN=RIGHT>116</TD><TD bgcolor="#FF7777" ALIGN=RIGHT>19</TD><TD ALIGN=RIGHT>0</TD></TR>
<bgsound src="" valign=top align=left nowrap>
</td></tr></table><hr></BODY>
</HTML>

When you click on any of the links on the home page (say for eg you clicked on "Network Switches - SF") you get to this page:

<HTML><HEAD><META HTTP-EQUIV="REFRESH" CONTENT="60"><TITLE>Monitor</TITLE></HEAD>
<BODY bgcolor="#FFFFFF" background=""> <FONT COLOR="#000000"><TABLE BORDER=2 WIDTH="98%" CELLPADDING=3 CELLSPACING=0 BGCOLOR="#C0C0C0">
<TR><TH COLSPAN=2 ALIGN=LEFT BGCOLOR="#0080C0">
<table width="100%" border=0><tr><td> Network Switches - SF </td><td align=right><a href="" target="_NEW">Help</a></td></tr></table>
</TH></TR>
<TR><TD WIDTH="98%" VALIGN=TOP><TABLE WIDTH="100%" BORDER=0 CELLPADDING=0 CELLSPACING=2 BGCOLOR="#C0C0C0">
<TR><TH ALIGN=LEFT> Name </TH><TH ALIGN=LEFT> Type </TH><TH ALIGN=LEFT> Status </TH><TH ALIGN=LEFT> Services </TH></tr>
<TR><TD bgcolor="#77FF77">server1.companyname.com</TD><TD>Server</TD><TD bgcolor="#77FF77">Active</TD><TD></TD></TR>
<TR><TD bgcolor="#FF7777">server2.companyname.com</TD><TD>Server</TD><TD bgcolor="#FF7777">Timed Out</TD><TD></TD></TR>
<TR><TD bgcolor="#77FF77">server3.companyname.com</TD><TD>Server</TD><TD bgcolor="#77FF77">Active</TD><TD></TD></TR>
<bgsound src=""> </BODY>
</HTML>

Hope this helps

>Can you provide any portion of your CFHTTP.FileContents without giving away
>any private information?
>
>Then it would easier to see what you are dealing with.
>
>-----Original Message-----
>From: cf coder [mailto:[EMAIL PROTECTED]
>Sent: Monday, December 08, 2003 9:28 AM
>To: CF-Talk
>Subject: network monitor
>
>
>Hello Everybody,
>
>Was hoping someone could help me out of my problem. I
>have been asked to call a webpage which displays the
>company network monitor (alerts you if a server has
>crashed, blah, blah). Now this page is served by a
>server sitting somewhere in the organisation. I have
>been asked to call this page and apply some logic
>using coldfusion to get the list of servers that have
>crashed and display the results in a coldfusion page.
>
>The page should have the columns "Name" and "Status".
>I don't know how to go about doing this. I can call
>the page with cfhttp if I have all the permissions,
>but what do I do with the information. How do I then
>search with the returned results for a service that is
>down? There isn't any webservice interface.
>
>Has anyone done this sort of thing? Please if you have
>can you help.
>
>Best Regards
>CF Coder
>
>__________________________________
>Do you Yahoo!?
>New Yahoo! Photos - easier uploading and sharing.
>http://photos.yahoo.com/
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to