Hi Charles,
I have searched my install and found the attached (all of them have been
posted to the list one time or another). Maybe they help.
Luz Berger
Berger Network Consult
http://www.bergerl.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charles
Alexander
Sent: Thursday, June 24, 2004 5:10 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] Show only the device names with services down
and the corresponding device name
They have a devdown.asp which is probably the one you are talking about. It
is an empty file.
Thanks!
Charles R. Alexander
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Luz Berger
Sent: Thursday, June 24, 2004 8:53 AM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Show only the device names with services down
and the corresponding device name
Hi Charles,
Try it at
http://www.wugportal.com/modules.php?op=modload&name=UpDownload&file=index&r
eq=viewdownload&cid=4
Luz Berger
Berger Network Consult
http://www.bergerl.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charles
Alexander
Sent: Thursday, June 24, 2004 4:40 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] Show only the device names with services down
and the corresponding device name
Where can I download the devices_down.asp?
Thanks!
Charles R. Alexander
System Administrator
Quantum Corporation
719-536-6405
8301-6405
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Luz Berger
Sent: Thursday, June 24, 2004 8:31 AM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Show only the device names with services down
and the corresponding device name
Hi Charles,
It does display the devices down and then each downed service for that
particular device. What else are you looking for?
Luz Berger
Berger Network Consult
http://www.bergerl.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charles
Alexander
Sent: Thursday, June 24, 2004 4:07 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [WhatsUp Forum] Show only the device names with services down
and the corresponding device name
I have looked at the devices down. It doesn't do what I want it to do. I
want a list of the devices that have down SERVICES and the name of the
SERVICES that are down.
Thanks!
Charles R. Alexander
System Administrator
Quantum Corporation
719-536-6405
8301-6405
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bryan Frye
Sent: Wednesday, June 23, 2004 1:12 PM
To: [EMAIL PROTECTED]
Subject: Re: [WhatsUp Forum] Show only the device names with services down
and the corresponding device name
There used to be a devices_down.asp page to download that would work this...
but the short of it is...
<%START_LOADED_MAP_LIST%>
<%START_DEVICE_LIST%>
<%IF% IS_DEVICE_UP>
<%ELSE%>
<%DEVICE% DISPLAY_NAME> is down!
<%ENDIF%>
<%START_SERVICE_STATISTICS_LIST%>
<%IF% IS_SERVICE_UP>
<%ELSE%>
<%SERVICE_STATISTICS% NAME> is down on <%DEVICE% DISPLAY
NAME>!
<%ENDIF%>
<%END_SERVICE_STATISTICS_LIST%>
<%END_DEVICE_LIST%>
<%END_LOADED_MAP_LIST%>
I use this with marquee style tags on my top view... and have separate
marquees for devices down and services down...looks nice and is all clear
when nothing is down... scrolls down devices and services when they are
Bryan
>>> [EMAIL PROTECTED] 6/23/2004 2:34:19 PM >>>
Hi!
How can I only show the device names with services down and the
corresponding device name? Modifying the detail viewmode in topview would be
fine. I would like to have a quick way (report or via webpage) to see what
services are down on my servers.
Thanks!
Charles R. Alexander
System Administrator
Quantum Corporation
719-536-6405
8301-6405
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bryan Harrell
Sent: Wednesday, June 23, 2004 11:18 AM
To: [EMAIL PROTECTED]
Subject: Re: [WhatsUp Forum] WUG Web Server legend questions
According to the manual (bottom of P.4) "If something occurs such as a
missed poll, or an event comes in, the name of the device becomes
highlighted on the map".
------------------------------------------------------------
Bryan Harrell, SPII
Network Transport & Administration - Tallahassee
Fla. Dept of Revenue
(850)-921-0700 S/C 291-0700
------------------------------------------------------------
>>> [EMAIL PROTECTED] 06/23/2004 11:22:42 AM >>>
Hello all:
Does anyone know why WUG map shows some of the device names boxed in black,
while others do not appear that way? Does a device name being blackend mean
there is some sort of an issue, or is just a graphical oddity? Also, all of
my devices have a little white star on the upper right corner, and I have
found in the docs that that shows the device is SNMP manageable. A few of
my devices also show a pink triangle on the upper left of the device icon.
Can someone tell me what that means? Any info would be great. Thank you,
Artie Noel
Systems Administrator
Virginia Military Institute
Information Technology
427 Nichols Engineering Annex
Lexington, VA 24450
(O) 540-464-7710
(F) 540-464-7222
(M)540-570-1850
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/
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/
<HTML>
<HEAD>
<!--
v1.0 Dave Habben, Original file
v1.1 Jay Drew, Additional hacks to add service (w/o counters)
v1.2 Dave Habben, Add counters for services
Credits to:
David Jones, Scrolling Marque Idea
Robert Glatt & Scott Taylor, Downtime JavaScript
-->
<TITLE>Name of Your WUG Machine Here - Down Page</TITLE>
<META http-equiv=REFRESH content="<%APPLICATION_SETTINGS% WEB_REFRESH_RATE>">
</HEAD>
<BODY>
<table border>
<tr>
<td bgcolor="#c0c0c0" bordercolor="#c0c0c0">
<a href="default.asp">Top View</a>
</td>
</tr>
</table>
<table cellSpacing=0 cellPadding=3 width="98%" bgColor="#c0c0c0" border=2>
<tr>
<td align=left>Down Devices</td>
</tr>
<tr>
<td vAlign=top width="98%">
<table cellspacing="2" cellpadding="0" width="100%" bgcolor="#c0c0c0" border="0">
<tbody>
<tr>
<th width="12%" align="left">Map</th>
<th width="23%" align="left">Device</th>
<th width="15%" align="left">Down Time</th>
<th width="25%" align="left">Info2</th>
<th width="25%" align="left">Notes</th>
</tr>
<%START_LOADED_MAP_LIST%>
<%START_DEVICE_LIST%>
<%IFNOT% IS_DEVICE_UP>
<TR>
<TD>
<a href="map.asp?map=<%URL_ENCODE% (%MAP% FILENAME)>"><%MAP% NAME></A>
</TD>
<TD>
<%IF% (%LESSTHAN% (%DEVICE% CURRENT_DOWN_COUNT, 2))>
<a href="device.asp?map=<%MAP% FILENAME>&device=<%DEVICE% UNIQUE_ID>">
<FONT COLOR=GREEN>
<%DEVICE% DISPLAY_NAME>
</FONT>
</a>
<%ELSEIF% (%LESSTHAN% (%DEVICE% CURRENT_DOWN_COUNT, 4))>
<a href="device.asp?map=<%MAP% FILENAME>&device=<%DEVICE% UNIQUE_ID>">
<FONT COLOR=YELLOW>
<%DEVICE% DISPLAY_NAME>
</FONT>
</a>
<%ELSE%>
<a href="device.asp?map=<%MAP% FILENAME>&device=<%DEVICE% UNIQUE_ID>">
<FONT COLOR=RED>
<%DEVICE% DISPLAY_NAME>
</FONT>
</a>
<%ENDIF%>
</TD>
<TD>
<SCRIPT LANGUAGE="JavaScript">
var downtime = <%DEVICE% POLL_FREQUENCY>*<%DEVICE%
CURRENT_DOWN_COUNT>*<%MAP% POLL_INTERVAL>;
if (downtime > 3599) {
var downtemp = downtime/3600;
var downhours = Math.floor(downtemp);
var downtemp = downhours*3600;
var downminutes = downtime-downtemp;
var downminutes = Math.floor(downminutes/60);
}
else {
var downhours = 0;
var downminutes = Math.floor(downtime/60);
}
if (downhours == 0)
document.write(downminutes + " min")
else
document.write(downhours + " hr : " + downminutes + " min")
</SCRIPT>
</TD>
<TD><%DEVICE% INFO_LINE_2></TD>
<TD><%DEVICE% NOTES></TD>
</TR>
<%ENDIF%>
<%IF% IS_DEVICE_UP>
<%IF% (%GREATERTHAN% (%DEVICE% MONITOR_DOWN_COUNT,0))>
<TR>
<TD>
<a href="map.asp?map=<%URL_ENCODE% (%MAP% FILENAME)>">
<%MAP% NAME>
</A>
</TD>
<TD>
<a href="device.asp?map=<%MAP% FILENAME>&device=<%DEVICE% UNIQUE_ID>">
<FONT COLOR=GREEN>
<%DEVICE% DISPLAY_NAME>
</FONT>
</a>
</TD>
<TD></TD>
<TD>
<%DEVICE% INFO_LINE_2>
</TD>
<TD>
<%DEVICE% NOTES>
</TD>
</TR>
<%START_SERVICE_STATISTICS_LIST%>
<%IFNOT% IS_SERVICE_UP>
<TR>
<TD></TD>
<TD>
<%IF% (%LESSTHAN% (%SERVICE_STATISTICS% CURRENT_DOWN_COUNT, 2))>
<FONT COLOR=GREEN>
<%SERVICE_STATISTICS% ABBREVIATED_NAME> <%SERVICE_STATISTICS%
COMMENT>
</FONT>
<%ELSEIF% (%LESSTHAN% (%SERVICE_STATISTICS% CURRENT_DOWN_COUNT, 4))>
<FONT COLOR=YELLOW>
<%SERVICE_STATISTICS% ABBREVIATED_NAME> <%SERVICE_STATISTICS%
COMMENT>
</FONT>
<%ELSE%>
<FONT COLOR=RED>
<%SERVICE_STATISTICS% ABBREVIATED_NAME> <%SERVICE_STATISTICS%
COMMENT>
</FONT>
<%ENDIF%>
</TD>
<TD>
<SCRIPT LANGUAGE="JavaScript">
var downtime = <%DEVICE% POLL_FREQUENCY>*<%SERVICE_STATISTICS%
CURRENT_DOWN_COUNT>*<%MAP% POLL_INTERVAL>;
if (downtime > 3599) {
var downtemp = downtime/3600;
var downhours = Math.floor(downtemp);
var downtemp = downhours*3600;
var downminutes = downtime-downtemp;
var downminutes = Math.floor(downminutes/60);
}
else {
var downhours = 0;
var downminutes = Math.floor(downtime/60);
}
if (downhours == 0)
document.write(downminutes + " min")
else
document.write(downhours + " hr : " + downminutes + " min")
</SCRIPT>
</TD>
<TD></TD>
<TD></TD>
</TR>
<%ENDIF%>
<%END_SERVICE_STATISTICS_LIST%>
<%ENDIF%>
<%ENDIF%>
<%END_DEVICE_LIST%>
<%END_LOADED_MAP_LIST%>
</tbody>
</table>
</td>
</tr>
</table>
</BODY>
</HTML><HTML>
<%include% StandardPageHeader.asp>
<HEAD>
<TITLE>WhatsUp Gold - Device Search</TITLE>
</HEAD>
<BODY LINK=blue VLINK=blue ALINK=blue>
<%START_LOADED_MAP_LIST%>
<%START_DEVICE_LIST%>
<table width=99%>
<tr><td>
<%DEVICE% DISPLAY_NAME><br>
<%DEVICE% HOSTNAME><br>
<%DEVICE% IP_ADDRESS><br>
<%DEVICE% INFO_LINE_1><br>
<%DEVICE% INFO_LINE_2><br>
<%DEVICE% NOTES><br>
<br>
</td></tr>
</table>
<%END_DEVICE_LIST%>
<%END_LOADED_MAP_LIST%>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
Whatsup Gold 7
allmapdetails.asp
----------------
-->
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
var i=0;
var aDevices = new Array(10);
function Device(sMap,sIs_Map_Access_Host, sIf_Match, sState_C, sName,
sUnique_Id, sChanged, sPoll_Sc, sPoll_Type, sIp, sPolls, sRespond, sMiss, sDown,
sPeriod, sAlerts, sAv_Del, sMin_Del, sMax_Del)
{
var oDevice = new Object();
oDevice.Map = sMap;
oDevice.Is_Map_Access_Host = sIs_Map_Access_Host;
oDevice.If_Match = sIf_Match;
oDevice.State_C = sState_C;
oDevice.Name = sName;
oDevice.Unique_Id = sUnique_Id;
oDevice.Changed = sChanged;
oDevice.Poll_Sc = sPoll_Sc;
oDevice.Poll_Type= sPoll_Type;
oDevice.Ip = sIp;
oDevice.Polls = sPolls;
oDevice.Respond = sRespond;
oDevice.Miss = sMiss;
oDevice.Down = sDown;
oDevice.Period = sPeriod;
oDevice.Alerts = sAlerts;
oDevice.Av_Del = sAv_Del;
oDevice.Min_Del = sMin_Del;
oDevice.Max_Del = sMax_Del;
/*oDevice.id = sId;
oDevice.dispName = sName;*/
return oDevice;
}
function byName(a, b) {
var anew = a.Name.toLowerCase();
var bnew = b.Name.toLowerCase();
if (anew < bnew) return -1;
if (anew > bnew) return 1;
return 0;
}
function byIp_leksiko(a,b) {
var anew = a.Ip.toLowerCase();
var bnew = b.Ip.toLowerCase()
if (anew < bnew) return -1;
if (anew > bnew) return 1;
return 0;
}
//lis�ill��n v�h�n nollia tyhjiin v�leihin niin saadaa oikea j�rjestys
function byIp(a,b) {
var iC = 0;
var anew = a.Ip.toLowerCase();
var bnew = b.Ip.toLowerCase()
var ataulu = anew.split(".");
var btaulu = bnew.split(".");
//K�yd��n alkiot l�pi molemmista tauluista
for (Ic=0;Ic<ataulu.length && Ic<btaulu.length;Ic++) {
if (ataulu[Ic].length == 1) ataulu[Ic]="00"+ataulu[Ic];
if (ataulu[Ic].length==2) ataulu[Ic]="0"+ataulu[Ic];
if (btaulu[Ic].length == 1) btaulu[Ic]="00"+btaulu[Ic];
if (btaulu[Ic].length == 2) btaulu[Ic]="0"+btaulu[Ic];
}
anew=ataulu[0]+"."+ataulu[1]+"."+ataulu[2]+"."+ataulu[3];
bnew=btaulu[0]+"."+btaulu[1]+"."+btaulu[2]+"."+btaulu[3];
if (anew < bnew) return -1;
if (anew > bnew) return 1;
return 0;
}
</SCRIPT>
<%include% StandardPageHeader.asp>
<TITLE>All Map Details - <%MAP% NAME> </TITLE>
<META http-equiv="REFRESH" content="<%APPLICATION_SETTINGS% WEB_REFRESH_RATE>">
</HEAD>
<BODY bgColor="#ffffff">
<TABLE cellSpacing=0 cellPadding=3 width="98%" bgColor="#c0c0c0" border=2>
<TR>
<TH align=left bgColor="#0080c0" colSpan=2>
<TABLE width="100%" border=0>
<TR>
<TD><FONT Color="#ffffff"><B>ALL MAPS SUMMARY VIEW</B></FONT></TD>
<TD align=right>
<A target=_NEW href="h_netsum.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>
<!-- T�ST� ALKAA SUMMARY TIETOJEN TALLENNYS/TULOSTUS -->
<TR>
<TH align=left bgcolor='b0b0b0'
onMouseOver="javascript:this.bgColor='d2d2d2';"
onMouseOut="javascript:this.bgColor='b0b0b0';"><A
href="allmapdetails.asp?sorder=Name"><FONT Color="#0000FF"
OnMouseOver="this.style.color='#ff0000'"
OnMouseOut="this.style.color='#0000ff'">NAME</FONT></A></TH>
<TH bgcolor='b0b0b0'>Type</TH>
<TH align=center bgcolor='b0b0b0'
onMouseOver="javascript:this.bgColor='d2d2d2';"
onMouseOut="javascript:this.bgColor='b0b0b0';"><A
href="allmapdetails.asp?sorder=Ip"><FONT Color="#0000FF"
OnMouseOver="this.style.color='#ff0000'"
OnMouseOut="this.style.color='#0000ff'">IP-Addr.</FONT></A></TH>
<TH bgcolor='b0b0b0'># Polls</TH>
<TH bgcolor='b0b0b0'>% Responded</TH>
<TH bgcolor='b0b0b0'>% Missed</TH>
<TH bgcolor='b0b0b0'>Down Time</TH>
<TH bgcolor='b0b0b0'>Period</TH>
<TH bgcolor='b0b0b0'># Alerts</TH>
<TH bgcolor='b0b0b0'>Avg Delay</TH>
<TH bgcolor='b0b0b0'>Min Delay</TH>
<TH bgcolor='b0b0b0'>Max Delay</TH></TR>
<!-- TALLENNETAAN KAIKKIEN KARTTOJEN LAITTEIDEN TIEDOT TAULUKKOON -->
<%START_LOADED_MAP_LIST%>
<%START_DEVICE_LIST%>
<SCRIPT LANGUAGE="JavaScript">
var sMap = "<%MAP% FILENAME>";
var bAccess = <%IF% IS_MAP_ACCESS_HOST>1<%ELSE%>0<%ENDIF%>;
var bMatch = 0;
var sDS_Col = "<%DEVICE% STATE_COLOR>";
var sName = "<%DEVICE% DISPLAY_NAME>";
var iU_Id = <%DEVICE% UNIQUE_ID>;
var bChanged = <%IF%
HAS_DEVICE_STATE_CHANGED>1<%ELSE%>0<%ENDIF%>;
var sPS_Col = "<%DEVICE% POLL_STATE_COLOR>";
var sPoll_T = "<%DEVICE% POLL_TYPE>";
var sIp = "<%DEVICE% IP_ADDRESS>";
var iP_Count = <%DEVICE% POLL_COUNT>;
var rUp = <%DEVICE% PERCENT_UP>;
var rDown = <%DEVICE% PERCENT_DOWN>;
var sD_Time = "<%DEVICE% DOWN_TIME>";
var sPeriod = "<%DEVICE% PERIOD>";
var iAlert = <%DEVICE% ALERTS_SENT>;
var iAv = <%DEVICE% AVERAGE_RESPONSE_TIME>;
var iMin = <%DEVICE% MIN_RESPONSE_TIME>;
var iMax = <%DEVICE% MAX_RESPONSE_TIME>;
aDevices[i] = new
Device(sMap,bAccess,bMatch,sDS_Col,sName,iU_Id,bChanged,sPS_Col,sPoll_T,sIp,iP_Count,rUp,rDown,sD_Time,sPeriod,iAlert,iAv,iMin,iMax);
i++;
</SCRIPT>
<%END_DEVICE_LIST%>
<%END_LOADED_MAP_LIST%>
<!-- JA YRITET��N SITTEN TULOSTAA TIEDOT KUN OLLAAN EKA J�RJESTETTY
NE-->
<SCRIPT LANGUAGE="JavaScript">
<%IF% (%MATCH% (%URL_VALUE% "sorder",Ip))> aDevices.sort(byIp);
<%ELSE% (%MATCH% (%URL_VALUE% "sorder",Name))> aDevices.sort(byName);
<%ENDIF%>
for (b=0;b<aDevices.length;b++) {
document.write("<TR
onMouseOver='javascript:this.bgColor=\"E2E2E2\";'
onMouseOut='javascript:this.bgColor=\"C0C0C0\";'><TD
bgColor="+aDevices[b].State_C+">");
if (aDevices[b].Is_Map_Access_Host = 1) {
if (aDevices[b].If_Match = 1) {
document.write("<A
href=\"device.asp?map="+aDevices[b].Map+"&device=" + aDevices[b].Unique_Id +
"&MapViewMode=Summary\"><FONT Color=\"#0000FF\"
OnMouseOver=\"this.style.color='#ff0000'\"
OnMouseOut=\"this.style.color='#0000ff'\">"+aDevices[b].Name+"</FONT></A>");
}
else {
document.write("<A
href=\"device.asp?map=<%URL_VALUE% map>&device="+ aDevices[b].Unique_Id
+"\">"+aDevices[b].Name+"</A>");
}
}
else {
document.write(aDevices[b].Name);
}
<!-- T�m� kohta ei toimi oikein, mutta miksi ei???-->
if (aDevices[b].Changed = 0) {
document.write("*</TD>");
}
else document.write("</TD>");
document.write("<TD align=center
bgColor=\""+aDevices[b].Poll_Sc+"\">"+aDevices[b].Poll_Type+"</TD>");
document.write("<TD align=center>"+aDevices[b].Ip+"</TD>");
document.write("<TD align=right>"+aDevices[b].Polls+"</TD>");
document.write("<TD align=right>"+aDevices[b].Respond+"</TD>");
document.write("<TD align=right>"+aDevices[b].Miss+"</TD>");
document.write("<TD align=center>"+aDevices[b].Down+"</TD>");
document.write("<TD align=right>"+aDevices[b].Period+"</TD>");
document.write("<TD align=right>"+aDevices[b].Alerts+"</TD>");
document.write("<TD align=right>"+aDevices[b].Av_Del+"</TD>");
document.write("<TD align=right>"+aDevices[b].Min_Del+"</TD>");
document.write("<TD align=right>"+aDevices[b].Max_Del+"</TD>");
document.write("</TR>");
}
</SCRIPT>
</TABLE>
<TD vAlign=top noWrap align=left>
<TABLE width="100%" border=1>
<TR>
<TD noWrap align=center bgColor="#c0c0c0">
<A href="default.asp">Top view</A></TD></TR></TABLE>
<%IF% IS_USER_ACCESS_LOG>
<TABLE width="100%" border=1>
<TR>
<TD noWrap align=center bgColor="#c0c0c0">
<A href="logview.asp?map=<%MAP% FILENAME>">Log
view</A></TD></TR></TABLE>
<%ENDIF%>
<%IF% IS_WEBSERVER_CONFIGURATION_ENABLED> <!-- APPSETTINGS CONFIGURE -->
<%IF% IS_MAP_CONFIGURE_MAP>
<TABLE width="100%" border=1>
<TR>
<TD noWrap align=center bgColor="#c0c0c0">
<a href="mapsettings.asp?map=<%MAP% FILENAME>">Settings</a>
</tr></td></TABLE>
<TABLE width="100%" border=1>
<TR>
<TD noWrap align=center bgColor="#c0c0c0">
<A href="mapresetcounters.asp?map=<%MAP% FILENAME>">Reset
counters</A></TD></TR></TABLE>
<%IF% IS_MAP_CONFIGURE_DEVICES>
<TABLE width="100%" border=1>
<TR>
<TD noWrap align=center bgColor="#c0c0c0">
<A href="newdevice.asp?map=<%MAP% FILENAME>">Add
host</A></TD></TR></TABLE>
<TABLE width="100%" border=1>
<TR>
<TD noWrap align=center bgColor="#c0c0c0">
<A href="RemoveDeviceForm.asp?map=<%MAP% FILENAME>">Remove
host</A></TD></TR></TABLE>
<%ENDIF%>
<%ENDIF%>
<%ENDIF%>
<%IF% IS_CONFIGURE_REPORTS_ENABLED>
<TABLE width="100%" border=1>
<TR>
<TD noWrap align=center bgColor="#c0c0c0">
<A href="reporteventform.asp?map=<%MAP% FILENAME>">Event
Report</A></TD></TR></TABLE>
<TABLE width="100%" border=1>
<TR>
<TD noWrap align=center bgColor="#c0c0c0">
<A href="reportstatisticsform.asp?map=<%MAP% FILENAME>">Statistics
Report</A></TD></TR></TABLE>
<%ENDIF%>
<%IF% IS_USER_ACCESS_TOOLS>
<TABLE width="100%" border=1>
<TR>
<TD noWrap align=center bgColor="#c0c0c0">
<A href="tools.asp?map=<%MAP% FILENAME>">Tools</A></TD></TR></TABLE>
<%ENDIF%>
<%IF% IS_MAP_ACKNOWLEGE_ALERT>
<%IF% HAS_MAP_STATE_CHANGED>
<TABLE width="100%" border=1>
<TR>
<TD noWrap align=center bgColor="#c0c0c0">
<A href="mapacknowledge.asp?map=<%MAP%
FILENAME>">Acknowledge</A></TD></TR></TABLE>
<%ENDIF%>
<%ENDIF%>
</TD></TR></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TR>
<%IF% IS_MAP_ACCESS_HOST>
<TD>
<%IF% (%MATCH% (%URL_VALUE% ("MapViewMode",0),"Summary"))>
<FORM action="map.asp" method=get>
<INPUT type=hidden value="<%MAP% FILENAME>" name=map>
<INPUT type=submit value="Map view" name=action>
</FORM>
<%ELSE%>
<FORM action="map.asp" method=get>
<INPUT type=hidden value="<%MAP% FILENAME>" name=map>
<INPUT type=hidden value="Summary" name=MapViewMode>
<INPUT type=submit value="Summary view" name=action>
</FORM>
<%ENDIF%>
</TD>
<%ENDIF%>
<TD>
<FORM action="default.asp" method=get>
<INPUT type=submit value="Top view" name=action></FORM></TD>
<%IF% IS_USER_ACCESS_LOG>
<TD>
<FORM action="LogView.asp" method=get>
<INPUT type=hidden value="<%MAP% FILENAME>" name=map>
<%IF% (%MATCH% (%URL_VALUE% ("MapViewMode",0),"Summary"))>
<%ELSE%>
<INPUT type=hidden value="Summary" name=MapViewMode>
<%ENDIF%>
<INPUT type=submit value="Log view" name=action>
</FORM>
</TD>
<%ENDIF%>
</TR></TABLE>
<%INCLUDE% StandardPageFooter.asp>
</BODY></HTML>
<html>
<META HTTP-EQUIV="Refresh" CONTENT="60">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<head>
<title>WhatsUp Gold Device Down Monitor</title>
</head>
<body onLoad="goforit()" topmargin="40" leftmargin="40">
<script>
/*
Live Date Script-
� Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions, 100's more DHTML scripts, and Terms
Of Use,
visit http://www.dynamicdrive.com
*/
var dayarray=new
Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new
Array("January","February","March","April","May","June","July","August","September","October","November","December")
function getthedate(){
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var hours=mydate.getHours()
var minutes=mydate.getMinutes()
var seconds=mydate.getSeconds()
var dn="AM"
if (hours>=12)
dn="PM"
if (hours>12){
hours=hours-12
}
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
//change font size here
var cdate="<font size=8><face='Arial'><b> "+hours+":"+minutes+":"+seconds+"
"+dn+"<font size=6> <br> "+dayarray[day]+", "+montharray[month]+" "+daym+",
"+year+"</b></font></font></font>"
if (document.all)
document.all.clock.innerHTML=cdate
else if (document.getElementById)
document.getElementById("clock").innerHTML=cdate
else
document.write(cdate)
}
if (!document.all&&!document.getElementById)
getthedate()
function goforit(){
if (document.all||document.getElementById)
setInterval("getthedate()",1000)
}
</script>
<%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="#FFFFFF" cellpadding="5">
<tr>
<td valign="top" align="left">
<B> <FONT FACE="ARIAL" SIZE=8 COLOR=BLACK> Down Device List </b>
<hr>
<%START_LOADED_MAP_LIST%>
<%START_DEVICE_LIST%>
<%IFNOT% IS_DEVICE_UP>
<b> <FONT FACE="ARIAL" SIZE=8 COLOR=RED> <%DEVICE% DISPLAY_NAME>
</b>
<FONT FACE="ARIAL" SIZE=5 COLOR=BLACK> - Total
Down Time (hours:minutes) <FONT FACE="ARIAL" SIZE=6 COLOR=BLACK> - <%DEVICE%
DOWN_TIME>
<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>
All Devices Summary
<TABLE cellSpacing=2 cellPadding=0 width="100%" bgColor="#c0c0c0" border=1>
<TR>
<TD width="20%"></TD>
<TD width="20%"></TD>
<TD width="20%"></TD>
</TR>
<TR>
<TH align=left>Map</TH>
<TH align=right>Items<BR>Up</TH>
<TH align=right>Items<BR>Down</TH>
</TR>
<%START_LOADED_MAP_LIST%>
<tr >
<td><a href="map.asp?map=<%MAP% FILENAME>"> <%MAP% NAME> </A></td>
<%IF% (%GREATERTHAN% (%MAP% TOTAL_DEVICES_UP,0))>
<td bgcolor="#77ff77" align=right><FONT FACE="ARIAL" SIZE=6
COLOR=BLACK><%MAP% TOTAL_DEVICES_UP></td>
<%ELSE%>
<td align=right><FONT FACE="ARIAL" SIZE=6 COLOR=BLACK><%MAP%
TOTAL_DEVICES_UP></td>
<%ENDIF%>
<%IF% (%GREATERTHAN% (%MAP% (TOTAL_DEVICES_DOWN),0))>
<td bgcolor="#FF7777" align=right><FONT FACE="ARIAL" SIZE=6
COLOR=BLACK><%MAP% TOTAL_DEVICES_DOWN></td>
<%ELSE%>
<td align=right> <FONT FACE="ARIAL" SIZE=6 COLOR=BLACK><%MAP%
TOTAL_DEVICES_DOWN></td>
<%ENDIF%>
</tr>
<%END_LOADED_MAP_LIST%>
</TABLE>
<FONT FACE="ARIAL" SIZE=5 COLOR=BLACK>Last Updated <%TIME%
CURRENT_TIME>
<hr>
<b>Current Time - </b><span id="clock"></span>
</td>
</tr>
</table>
</font>
</html>
<html>
<head>
<TITLE>WhatsUp Gold - All Devices </TITLE>
</HEAD>
<BODY>
<table width="100%" border=1 cellspacing=0>
<tr>
<td><font size=+1><b>Map:</font></b>
<td><font size=+1><b>Device Name:</font></b>
<td><font size=+1><b>Host Name:</font></b>
<td><font size=+1><b>IP Address:</font></b>
<td><font size=+1><b>Device Type:</font></b>
<%START_LOADED_MAP_LIST%>
<%START_DEVICE_LIST%>
<tr>
<td><font size=-2 color=gray>Map:</font> <%MAP% NAME>
<td><font size=-2 color=gray>Name:</font> <%DEVICE% DISPLAY_NAME>
<td><font size=-2 color=gray>Host:</font> <%DEVICE% HOSTNAME>
<td><font size=-2 color=gray>IP:</font> <%DEVICE% IP_ADDRESS>
<td><font size=-2 color=gray>Type:</font> <%DEVICE% HOST_TYPE>
<%END_DEVICE_LIST%>
<%END_LOADED_MAP_LIST%>
</body>
</html>