HowAboutSomethingLikeThis-- Granted I took about 30 seconds to do this.. It
is just an example. then you could place a button on the root map. And of
course make the down devices clickable.

:>

Tv


----down.asp----------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>

<HEAD>
        <%include% StandardPageHeader.asp>
        <TITLE>WhatsUp Gold - Down Device Master List</TITLE>

</HEAD>
<BODY bgColor="#ffffff"><FONT color="#000000">
<TABLE cellSpacing=0 cellPadding=2 width="50%" bgColor="#c0c0c0" border=2>
  <TR>
    <TH align=left bgColor="#0080c0" colSpan=2>
      <TABLE width="100%" border=0>
        <TR>
          <TD>DownList </TD>
          <TD align=right>
                  <A target=_NEW href="h_down.htm">Help</A></TD></TR></TABLE></TH></TR>
<TR>
<TD vAlign=top width="98%">
<TABLE cellSpacing=2 cellPadding=0 width="100%" bgColor="#c0c0c0" border=0>
<%INCLUDE% DownList.asp>
</TD></TR></TABLE></TD></TR>

<%INCLUDE% NavButtons.asp>
<%INCLUDE% StandardPageFooter.asp>

</BODY></HTML>



----downlist.asp----------------------------------------------------
<html>
<META HTTP-EQUIV="Refresh" CONTENT="60">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

<head>
<title>WhatsUp Gold Device Down Monitor</title>

<%START_LOADED_MAP_LIST%>
                <%IF% HAS_MAP_STATE_CHANGED>
                        <%IF% (%MATCH% (%MAP% TOTAL_DEVICES_DOWN, 0))>
                           <%IF% (%MATCH% (%MAP% TOTAL_SERVICES_DOWN, 0))>

                                <%ELSE%>
                                <body bgcolor="#FF0000"background="/redflash.gif">
                           <%ENDIF%>
                        <%ELSE%>
                        <body bgcolor="#FF0000" background="/redflash.gif">
                        <%ENDIF%>

<%ENDIF%>
<%END_LOADED_MAP_LIST%>

<table border="0" bgcolor="#cococo" cellpadding="2">
  <tr>
    <td valign="top" align="left">
<B> <FONT FACE="ARIAL" SIZE=2 COLOR=BLACK> Down Device List </b>
<hr>
<%START_LOADED_MAP_LIST%>
   <%START_DEVICE_LIST%>
        <%IFNOT% IS_DEVICE_UP>
            <b> <FONT FACE="ARIAL" SIZE=2 COLOR=RED> <%DEVICE% DISPLAY_NAME>
</b>
                <BR>
      <%ENDIF%>
   <%END_DEVICE_LIST%>

 <%IF% HAS_MAP_STATE_CHANGED>
        <%IF% (%MATCH% (%MAP% TOTAL_DEVICES_DOWN, 0))>
                <%IF% (%MATCH% (%MAP% TOTAL_SERVICES_DOWN, 0))>
                <%ELSE%>
                        <bgsound src="<%SOUND_TYPE% WEBDOWN>">
                        <body bgcolor="#FF0000" background="/redflash.gif">
                <%ENDIF%>
        <%ELSE%>
          <bgsound src="<%SOUND_TYPE% WEBDOWN>">
          <body bgcolor="#FF0000" background="/redflash.gif">
      <%ENDIF%>
 <%ENDIF%>
<%END_LOADED_MAP_LIST%>
<hr>
<br>
         </td>
           </tr>
         </table>
</html>
----------------------------------------------------------------------------




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:WhatsUp_Forum-owner@;list.ipswitch.com]On Behalf Of Anthony
Valuikas
Sent: Thursday, November 07, 2002 12:16 PM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Web Templates, Down time total or this
instan ce?


I didn't see the down services show up.

Tv


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:WhatsUp_Forum-owner@;list.ipswitch.com]On Behalf Of Brady, Jeff
Sent: Thursday, November 07, 2002 9:45 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] Web Templates, Down time total or this
instan ce?


Here's the files, I don't know if the list will strip them off though.
Comments or improvements are welcome.

-----Original Message-----
From: Scheitel, James [mailto:scheitelj@;kniferiver.com]
Sent: Thursday, November 07, 2002 9:34 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] Web Templates, Down time total or this
instan ce?


Excerpt from Jeff's previous message:
=================================================
Get the files here:
http://www.geocities.com/jbrady33/
download down.asp.txt and remove the .txt extension, put it in your WEB
directory.  Also download redflash.gif and put it in your web directory.
Now open a browser and browse the down.asp file.
(sample=http://mywhatsupserver/down.asp)
=================================================

-----Original Message-----
From: David [mailto:forum@;moragg.com]
Sent: Thursday, November 07, 2002 8:31 AM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Web Templates, Down time total or this
instance?


Jeff,

I would very much like a copy...

Thanks,

~David



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:WhatsUp_Forum-owner@;list.ipswitch.com] On Behalf Of Brady, Jeff
Sent: Wednesday, 06 November, 2002 21:08
To: '[EMAIL PROTECTED]'
Subject: [WhatsUp Forum] Web Templates, Down time total or this
instance?


> Hello All,
>
> Working from the stuff posted by Chris Allen and Brian Miller, I am
> learning the Web Template system and creating a "down systems only"
page
> for us to display on our overhead monitors in Network Engineering and
the
> Help Desk.  I have the page working well, Down device names pop up in
a
> large red font on a white background, the webdown.wav alert sounds,
and
> the border of the page flashes red (background switches to an animated
gif
> on the same trigger as the alarm).  The bottom of the page show the
> devices up/down map summary chart, the time of the last refresh (every
60
> seconds) and the current time and date (from the local system clock).
> When no devices are down, page is white with no flashing border, just
> shows the summary and time displays.   If anybody wants a copy let me
> know.
>
> My problem/question:
>
> I want to show how long the device has been down.  According to the
web
> template reference, the tag <%DEVICE% DOWN_TIME> should return the
time
> since the first missed poll, if there has not been an up poll since.
What
> I seem to get is the total cumulative down time for the device since
the
> counters were reset.  Am I reading this wrong?
>
> I also tried <%DEVICE LAST_SUCCESSFUL_POLL_TIME> and <%DEVICE%
> TIME_OF_LAST_STATE_CHANGE>, but both return no data, just a blank
space.
>
> Thanks Everyone,
> Jeff B.
>
>                       Jeffery S. Brady
>                       Network Engineer
>                       AAA Mid-Atlantic
>                       2040 Market Street
>                       Philadelphia, PA  19103
>
>

Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/


Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/



Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Reply via email to