[Pkg-nagios-devel] nagios/patches 09_grouplist.cgi-apan.sourceforge.net.dpatch,NONE,1.1 10_grouplist.cgi-pathfixes.dpatch,NONE,1.1
seanius@haydn.debian.org
seanius@haydn.debian.org
Update of /cvsroot/pkg-nagios/nagios/patches
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv11619
Added Files:
09_grouplist.cgi-apan.sourceforge.net.dpatch
10_grouplist.cgi-pathfixes.dpatch
Log Message:
whoops, forgot to add these last night
--- NEW FILE: 09_grouplist.cgi-apan.sourceforge.net.dpatch ---
#! /bin/sh /usr/share/dpatch/dpatch-run
## 09_use_grouplists.dpatch by Filip Sneppe <filip.sneppe@gmail.com>
## (modified slightly by sean finney <seanius@debian.org>)
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Implements the grouplist changes described here:
## DP: http://apan.sourceforge.net/download.html
@DPATCH@
diff -urNad nagios-1.3-cvs.20050402/cgi/grouplist.cgi.in /home/seanius/tmp/dpep.LCOIHA/nagios-1.3-cvs.20050402/cgi/grouplist.cgi.in
--- nagios-1.3-cvs.20050402/cgi/grouplist.cgi.in 1969-12-31 19:00:00.000000000 -0500
+++ /home/seanius/tmp/dpep.LCOIHA/nagios-1.3-cvs.20050402/cgi/grouplist.cgi.in 2005-04-15 20:01:08.475149046 -0400
@@ -0,0 +1,51 @@
+#!/bin/sh
+
+#Get files and dirs
+CFGFILES=`egrep -e "^cfg_file=" /etc/nagios/nagios.cfg|cut -d "=" -f 2`
+CFGDIRS=`egrep -e "^cfg_dir=" /etc/nagios/nagios.cfg|cut -d "=" -f 2`
+
+#add files in cfg_dir's to filelist
+for CFGDIR in $CFGDIRS; do
+ CFGFILES="$CFGFILES `ls $CFGDIR/*.cfg` "
+done
+
+GROUPLIST=""
+
+# Get groupnames from files
+for CFGFILE in `echo $CFGFILES`; do
+ if [ -f $CFGFILE ]; then
+ HOSTGROUPS=`egrep -e "^[ ]*hostgroup_name" $CFGFILE|awk '{print $2}'| tr "," " "`
+ GROUPLIST="$GROUPLIST $HOSTGROUPS"
+ fi
+done
+
+#Sort and remove duplicated names
+GROUPLIST=`echo $GROUPLIST|tr " " "\n"|sort|uniq`
+#echo "Grouplist: $GROUPLIST"
+
+#Begin the HTML-output
+
+echo "Content-type: text/html"
+echo ""
+
+#Insert the top of the frame
+cat /usr/share/nagios/htdocs/side1.html
+
+#Generate HTML for group-list
+N=0
+for GRP in $GROUPLIST; do
+GRPNAME=`echo $GRP|sed -e 's/ /%2D/g'`
+printf "<tr><td width=13><img src=/nagios/images/greendot.gif"
+printf " width=13 height=14 name=hostgroup$N-dot></td>\n"
+printf "<td nowrap><a href=/nagios/cgi-bin/status.cgi?hostgroup=$GRPNAME"
+printf "&style=detail target=main onMouseOver=switchdot('hostgroup$N-dot',1)"
+printf " onMouseOut=switchdot('hostgroup$N-dot',0) class=NavBarItem>"
+#printf "$N-dot"
+#printf ',0)" class="NavBarItem">'
+printf "$GRP</a></td>\n"
+echo "</tr>"
+N=`echo $N+1|bc`
+done
+
+#Append bottom of frame
+cat /usr/share/nagios/htdocs/side2.html
diff -urNad nagios-1.3-cvs.20050402/html/side1.html /home/seanius/tmp/dpep.LCOIHA/nagios-1.3-cvs.20050402/html/side1.html
--- nagios-1.3-cvs.20050402/html/side1.html 1969-12-31 19:00:00.000000000 -0500
+++ /home/seanius/tmp/dpep.LCOIHA/nagios-1.3-cvs.20050402/html/side1.html 2005-04-15 20:01:08.475149046 -0400
@@ -0,0 +1,91 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+
+<HTML>
+<HEAD>
+<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
+<TITLE>Nagios</TITLE>
+
+<STYLE type="text/css">
+
+<!--
+
+ A.NavBarItem { font-family: arial,serif; background-color : black; color: #DEE7C6; font-size: 10pt; font-weight: bold; text-decoration: none; }
+ BODY.navbar { font-family: arial,serif; background-color : white; color: black; background-color: black }
+
+-->
+
+</STYLE>
+
+</HEAD>
+
+<BODY CLASS='navbar'>
+
+<SCRIPT LANGUAGE="JavaScript">
+<!--
+
+if(parseInt(navigator.appVersion.substring(0,1))>=3){
+ doton = new Image(13,14);
+ doton.src = "/nagios/images/orangedot.gif";
+ dotoff = new Image(13,14);
+ dotoff.src = "/nagios/images/greendot.gif";
+ }
+
+function switchdot(name,on){
+ if(parseInt(navigator.appVersion.substring(0,1))>=3){
+ image = eval("" + (on == 1 ? "doton.src" : "dotoff.src"));
+ document[name].src=image;
+ }
+ }
+
+//-->
+</SCRIPT>
+
+
+
+<table width="150" border="0">
+ <tr>
+ <td>
+ <div align="center"><a href="http://www.nagios.org" target="_blank"><img src="/nagios/images/sblogo.jpg" border="0" alt="Nagios"></a></div>
+ </td>
+ </tr>
+</table>
+
+<table width="150" border="0">
+ <tr>
+ <td><img src="/nagios/images/sbgeneral.png" width="147" height="21" alt="-- General --"></td>
+ </tr>
+</table>
+
+<table width=150 border="0" cellpadding=0 cellspacing=0>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="home-dot"></td>
+ <td nowrap width=134><a href="/nagios/main.html" target="main" onMouseOver="switchdot('home-dot',1)" onMouseOut="switchdot('home-dot',0)" class="NavBarItem">Home</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="docs-dot"></td>
+ <td nowrap><a href="/nagios/docs/index.html" target="main" onMouseOver="switchdot('docs-dot',1)" onMouseOut="switchdot('docs-dot',0)" class="NavBarItem">Documentation</a></td>
+ </tr>
+ <tr>
+ <td colspan="2" height="10"></td>
+ </tr>
+</table>
+
+<table width="150" border="0">
+ <tr>
+ <td><img src="/nagios/images/sbmonitor.png" width="147" height="21" alt="-- Monitoring --"></td>
+ </tr>
+</table>
+
+<table width="150" border="0" cellpadding=0 cellspacing=0>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="tac-dot"></td>
+ <td nowrap width=134><a href="/nagios/cgi-bin/tac.cgi" target="main" onMouseOver="switchdot('tac-dot',1)" onMouseOut="switchdot('tac-dot',0)" class="NavBarItem">Tactical Overview</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="status-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/status.cgi?host=all" target="main" onMouseOver="switchdot('status-dot',1)" onMouseOut="switchdot('status-dot',0)" class="NavBarItem">Service Detail</a></td>
+ </tr>
+ <tr>
+ <td width=13></td>
+ <td nowrap>
+ <table border="0" cellpadding=0 cellspacing=0>
diff -urNad nagios-1.3-cvs.20050402/html/side2.html /home/seanius/tmp/dpep.LCOIHA/nagios-1.3-cvs.20050402/html/side2.html
--- nagios-1.3-cvs.20050402/html/side2.html 1969-12-31 19:00:00.000000000 -0500
+++ /home/seanius/tmp/dpep.LCOIHA/nagios-1.3-cvs.20050402/html/side2.html 2005-04-15 20:01:08.476148850 -0400
@@ -0,0 +1,137 @@
+ </table>
+ </tr>
+
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="hoststatus-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail" target="main" onMouseOver="switchdot('hoststatus-dot',1)" onMouseOut="switchdot('hoststatus-dot',0)" class="NavBarItem">Host Detail</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="hgstatus-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/status.cgi?hostgroup=all" target="main" onMouseOver="switchdot('hgstatus-dot',1)" onMouseOut="switchdot('hgstatus-dot',0)" class="NavBarItem">Status Overview</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="hgstatus2-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/status.cgi?hostgroup=all&style=summary" target="main" onMouseOver="switchdot('hgstatus2-dot',1)" onMouseOut="switchdot('hgstatus2-dot',0)" class="NavBarItem">Status Summary</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="hgstatus3-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" target="main" onMouseOver="switchdot('hgstatus3-dot',1)" onMouseOut="switchdot('hgstatus3-dot',0)" class="NavBarItem">Status Grid</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="statusmap-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/statusmap.cgi?host=all" target="main" onMouseOver="switchdot('statusmap-dot',1)" onMouseOut="switchdot('statusmap-dot',0)" class="NavBarItem">Status Map</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="statuswrl-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/statuswrl.cgi?host=all" target="main" onMouseOver="switchdot('statuswrl-dot',1)" onMouseOut="switchdot('statuswrl-dot',0)" class="NavBarItem">3-D Status Map</a></td>
+ </tr>
+ <tr>
+ <td colspan="2" height="10"></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="svcproblems-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=248" target="main" onMouseOver="switchdot('svcproblems-dot',1)" onMouseOut="switchdot('svcproblems-dot',0)" class="NavBarItem">Service Problems</a></td>
+ </tr>
+ <tr>
+
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="svcproblems2-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=248&sorttype=2&sortoption=3&noheader" target="_blank" onMouseOver="switchdot('svcproblems2-dot',1)" onMouseOut="switchdot('svcproblems2-dot',0)" class="NavBarItem">Service Problems 2</a></td>
+ </tr>
+ <tr>
+
+
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="hostproblems-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12" target="main" onMouseOver="switchdot('hostproblems-dot',1)" onMouseOut="switchdot('hostproblems-dot',0)" class="NavBarItem">Host Problems</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="outages-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/outages.cgi" target="main" onMouseOver="switchdot('outages-dot',1)" onMouseOut="switchdot('outages-dot',0)" class="NavBarItem">Network Outages</a></td>
+ </tr>
+ <tr>
+ <td colspan="2" height="10"></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="comment-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/extinfo.cgi?&type=3" target="main" onMouseOver="switchdot('comment-dot',1)" onMouseOut="switchdot('comment-dot',0)" class="NavBarItem">Comments</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="downtime-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/extinfo.cgi?&type=6" target="main" onMouseOver="switchdot('downtime-dot',1)" onMouseOut="switchdot('downtime-dot',0)" class="NavBarItem">Downtime</a></td>
+ </tr>
+ <tr>
+ <td colspan="2" height="10"></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="processinfo-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/extinfo.cgi?&type=0" target="main" onMouseOver="switchdot('processinfo-dot',1)" onMouseOut="switchdot('processinfo-dot',0)" class="NavBarItem">Process Info</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="performance-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/extinfo.cgi?&type=4" target="main" onMouseOver="switchdot('performance-dot',1)" onMouseOut="switchdot('performance-dot',0)" class="NavBarItem">Performance Info</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="queue-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/extinfo.cgi?&type=7" target="main" onMouseOver="switchdot('queue-dot',1)" onMouseOut="switchdot('queue-dot',0)" class="NavBarItem">Scheduling Queue</a></td>
+ </tr>
+ <tr>
+ <td colspan="2" height="10"></td>
+ </tr>
+</table>
+
+<table width="150" border="0">
+ <tr>
+ <td><img src="/nagios/images/sbreport.png" width="147" height="21" alt="-- Reporting --"></td>
+ </tr>
+</table>
+
+<table width="150" border="0" cellpadding=0 cellspacing=0>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="trends-dot"></td>
+ <td nowrap width=134><a href="/nagios/cgi-bin/trends.cgi" target="main" onMouseOver="switchdot('trends-dot',1)" onMouseOut="switchdot('trends-dot',0)" class="NavBarItem">Trends</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="avail-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/avail.cgi" target="main" onMouseOver="switchdot('avail-dot',1)" onMouseOut="switchdot('avail-dot',0)" class="NavBarItem">Availability</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="histogram-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/histogram.cgi" target="main" onMouseOver="switchdot('histogram-dot',1)" onMouseOut="switchdot('histogram-dot',0)" class="NavBarItem">Alert Histogram</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="history-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/history.cgi?host=all" target="main" onMouseOver="switchdot('history-dot',1)" onMouseOut="switchdot('history-dot',0)" class="NavBarItem">Alert History</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="summary-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/summary.cgi" target="main" onMouseOver="switchdot('summary-dot',1)" onMouseOut="switchdot('summary-dot',0)" class="NavBarItem">Alert Summary</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="notifications-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/notifications.cgi?contact=all" target="main" onMouseOver="switchdot('notifications-dot',1)" onMouseOut="switchdot('notifications-dot',0)" class="NavBarItem">Notifications</a></td>
+ </tr>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="logfile-dot"></td>
+ <td nowrap><a href="/nagios/cgi-bin/showlog.cgi" target="main" onMouseOver="switchdot('logfile-dot',1)" onMouseOut="switchdot('logfile-dot',0)" class="NavBarItem">Event Log</a></td>
+ </tr>
+ <tr>
+ <td colspan="2" height="10"></td>
+ </tr>
+</table>
+
+
+<table width="150" border="0">
+ <tr>
+ <td><img src="/nagios/images/sbconfig.png" width="147" height="21" alt="-- Configuration --"></td>
+ </tr>
+</table>
+
+<table width="150" border="0" cellpadding=0 cellspacing=0>
+ <tr>
+ <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="config-dot"></td>
+ <td nowrap width=134><a href="/nagios/cgi-bin/config.cgi" target="main" onMouseOver="switchdot('config-dot',1)" onMouseOut="switchdot('config-dot',0)" class="NavBarItem">View Config</a></td>
+ </tr>
+</table>
+
+</BODY>
+</HTML>
--- NEW FILE: 10_grouplist.cgi-pathfixes.dpatch ---
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_grouplist.cgi-pathfixes.dpatch by <seanius@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: pathfixes in the grouplist.cgi, side1.html, and side2.html
@DPATCH@
diff -urNad nagios-1.3-cvs.20050402/cgi/grouplist.cgi.in /home/seanius/tmp/dpep.doKNnQ/nagios-1.3-cvs.20050402/cgi/grouplist.cgi.in
--- nagios-1.3-cvs.20050402/cgi/grouplist.cgi.in 2005-04-16 00:45:21.034469999 -0400
+++ /home/seanius/tmp/dpep.doKNnQ/nagios-1.3-cvs.20050402/cgi/grouplist.cgi.in 2005-04-16 00:45:21.115453744 -0400
@@ -35,9 +35,9 @@
N=0
for GRP in $GROUPLIST; do
GRPNAME=`echo $GRP|sed -e 's/ /%2D/g'`
-printf "<tr><td width=13><img src=/nagios/images/greendot.gif"
+printf "<tr><td width=13><img src=images/greendot.gif"
printf " width=13 height=14 name=hostgroup$N-dot></td>\n"
-printf "<td nowrap><a href=/nagios/cgi-bin/status.cgi?hostgroup=$GRPNAME"
+printf "<td nowrap><a href=cgi-bin/status.cgi?hostgroup=$GRPNAME"
printf "&style=detail target=main onMouseOver=switchdot('hostgroup$N-dot',1)"
printf " onMouseOut=switchdot('hostgroup$N-dot',0) class=NavBarItem>"
#printf "$N-dot"
diff -urNad nagios-1.3-cvs.20050402/html/side1.html /home/seanius/tmp/dpep.doKNnQ/nagios-1.3-cvs.20050402/html/side1.html
--- nagios-1.3-cvs.20050402/html/side1.html 2005-04-16 00:45:21.034469999 -0400
+++ /home/seanius/tmp/dpep.doKNnQ/nagios-1.3-cvs.20050402/html/side1.html 2005-04-16 00:46:00.747498854 -0400
@@ -25,9 +25,9 @@
if(parseInt(navigator.appVersion.substring(0,1))>=3){
doton = new Image(13,14);
- doton.src = "/nagios/images/orangedot.gif";
+ doton.src = "images/orangedot.gif";
dotoff = new Image(13,14);
- dotoff.src = "/nagios/images/greendot.gif";
+ dotoff.src = "images/greendot.gif";
}
function switchdot(name,on){
@@ -45,25 +45,25 @@
<table width="150" border="0">
<tr>
<td>
- <div align="center"><a href="http://www.nagios.org" target="_blank"><img src="/nagios/images/sblogo.jpg" border="0" alt="Nagios"></a></div>
+ <div align="center"><a href="http://www.nagios.org" target="_blank"><img src="images/sblogo.jpg" border="0" alt="Nagios"></a></div>
</td>
</tr>
</table>
<table width="150" border="0">
<tr>
- <td><img src="/nagios/images/sbgeneral.png" width="147" height="21" alt="-- General --"></td>
+ <td><img src="images/sbgeneral.png" width="147" height="21" alt="-- General --"></td>
</tr>
</table>
<table width=150 border="0" cellpadding=0 cellspacing=0>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="home-dot"></td>
- <td nowrap width=134><a href="/nagios/main.html" target="main" onMouseOver="switchdot('home-dot',1)" onMouseOut="switchdot('home-dot',0)" class="NavBarItem">Home</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="home-dot"></td>
+ <td nowrap width=134><a href="main.html" target="main" onMouseOver="switchdot('home-dot',1)" onMouseOut="switchdot('home-dot',0)" class="NavBarItem">Home</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="docs-dot"></td>
- <td nowrap><a href="/nagios/docs/index.html" target="main" onMouseOver="switchdot('docs-dot',1)" onMouseOut="switchdot('docs-dot',0)" class="NavBarItem">Documentation</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="docs-dot"></td>
+ <td nowrap><a href="docs/index.html" target="main" onMouseOver="switchdot('docs-dot',1)" onMouseOut="switchdot('docs-dot',0)" class="NavBarItem">Documentation</a></td>
</tr>
<tr>
<td colspan="2" height="10"></td>
@@ -72,18 +72,18 @@
<table width="150" border="0">
<tr>
- <td><img src="/nagios/images/sbmonitor.png" width="147" height="21" alt="-- Monitoring --"></td>
+ <td><img src="images/sbmonitor.png" width="147" height="21" alt="-- Monitoring --"></td>
</tr>
</table>
<table width="150" border="0" cellpadding=0 cellspacing=0>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="tac-dot"></td>
- <td nowrap width=134><a href="/nagios/cgi-bin/tac.cgi" target="main" onMouseOver="switchdot('tac-dot',1)" onMouseOut="switchdot('tac-dot',0)" class="NavBarItem">Tactical Overview</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="tac-dot"></td>
+ <td nowrap width=134><a href="cgi-bin/tac.cgi" target="main" onMouseOver="switchdot('tac-dot',1)" onMouseOut="switchdot('tac-dot',0)" class="NavBarItem">Tactical Overview</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="status-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/status.cgi?host=all" target="main" onMouseOver="switchdot('status-dot',1)" onMouseOut="switchdot('status-dot',0)" class="NavBarItem">Service Detail</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="status-dot"></td>
+ <td nowrap><a href="cgi-bin/status.cgi?host=all" target="main" onMouseOver="switchdot('status-dot',1)" onMouseOut="switchdot('status-dot',0)" class="NavBarItem">Service Detail</a></td>
</tr>
<tr>
<td width=13></td>
diff -urNad nagios-1.3-cvs.20050402/html/side2.html /home/seanius/tmp/dpep.doKNnQ/nagios-1.3-cvs.20050402/html/side2.html
--- nagios-1.3-cvs.20050402/html/side2.html 2005-04-16 00:45:21.035469798 -0400
+++ /home/seanius/tmp/dpep.doKNnQ/nagios-1.3-cvs.20050402/html/side2.html 2005-04-16 00:47:21.777235252 -0400
@@ -2,77 +2,77 @@
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="hoststatus-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail" target="main" onMouseOver="switchdot('hoststatus-dot',1)" onMouseOut="switchdot('hoststatus-dot',0)" class="NavBarItem">Host Detail</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="hoststatus-dot"></td>
+ <td nowrap><a href="cgi-bin/status.cgi?hostgroup=all&style=hostdetail" target="main" onMouseOver="switchdot('hoststatus-dot',1)" onMouseOut="switchdot('hoststatus-dot',0)" class="NavBarItem">Host Detail</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="hgstatus-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/status.cgi?hostgroup=all" target="main" onMouseOver="switchdot('hgstatus-dot',1)" onMouseOut="switchdot('hgstatus-dot',0)" class="NavBarItem">Status Overview</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="hgstatus-dot"></td>
+ <td nowrap><a href="cgi-bin/status.cgi?hostgroup=all" target="main" onMouseOver="switchdot('hgstatus-dot',1)" onMouseOut="switchdot('hgstatus-dot',0)" class="NavBarItem">Status Overview</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="hgstatus2-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/status.cgi?hostgroup=all&style=summary" target="main" onMouseOver="switchdot('hgstatus2-dot',1)" onMouseOut="switchdot('hgstatus2-dot',0)" class="NavBarItem">Status Summary</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="hgstatus2-dot"></td>
+ <td nowrap><a href="cgi-bin/status.cgi?hostgroup=all&style=summary" target="main" onMouseOver="switchdot('hgstatus2-dot',1)" onMouseOut="switchdot('hgstatus2-dot',0)" class="NavBarItem">Status Summary</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="hgstatus3-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid" target="main" onMouseOver="switchdot('hgstatus3-dot',1)" onMouseOut="switchdot('hgstatus3-dot',0)" class="NavBarItem">Status Grid</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="hgstatus3-dot"></td>
+ <td nowrap><a href="cgi-bin/status.cgi?hostgroup=all&style=grid" target="main" onMouseOver="switchdot('hgstatus3-dot',1)" onMouseOut="switchdot('hgstatus3-dot',0)" class="NavBarItem">Status Grid</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="statusmap-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/statusmap.cgi?host=all" target="main" onMouseOver="switchdot('statusmap-dot',1)" onMouseOut="switchdot('statusmap-dot',0)" class="NavBarItem">Status Map</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="statusmap-dot"></td>
+ <td nowrap><a href="cgi-bin/statusmap.cgi?host=all" target="main" onMouseOver="switchdot('statusmap-dot',1)" onMouseOut="switchdot('statusmap-dot',0)" class="NavBarItem">Status Map</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="statuswrl-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/statuswrl.cgi?host=all" target="main" onMouseOver="switchdot('statuswrl-dot',1)" onMouseOut="switchdot('statuswrl-dot',0)" class="NavBarItem">3-D Status Map</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="statuswrl-dot"></td>
+ <td nowrap><a href="cgi-bin/statuswrl.cgi?host=all" target="main" onMouseOver="switchdot('statuswrl-dot',1)" onMouseOut="switchdot('statuswrl-dot',0)" class="NavBarItem">3-D Status Map</a></td>
</tr>
<tr>
<td colspan="2" height="10"></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="svcproblems-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=248" target="main" onMouseOver="switchdot('svcproblems-dot',1)" onMouseOut="switchdot('svcproblems-dot',0)" class="NavBarItem">Service Problems</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="svcproblems-dot"></td>
+ <td nowrap><a href="cgi-bin/status.cgi?host=all&servicestatustypes=248" target="main" onMouseOver="switchdot('svcproblems-dot',1)" onMouseOut="switchdot('svcproblems-dot',0)" class="NavBarItem">Service Problems</a></td>
</tr>
<tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="svcproblems2-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=248&sorttype=2&sortoption=3&noheader" target="_blank" onMouseOver="switchdot('svcproblems2-dot',1)" onMouseOut="switchdot('svcproblems2-dot',0)" class="NavBarItem">Service Problems 2</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="svcproblems2-dot"></td>
+ <td nowrap><a href="cgi-bin/status.cgi?host=all&servicestatustypes=248&sorttype=2&sortoption=3&noheader" target="_blank" onMouseOver="switchdot('svcproblems2-dot',1)" onMouseOut="switchdot('svcproblems2-dot',0)" class="NavBarItem">Service Problems 2</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="hostproblems-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12" target="main" onMouseOver="switchdot('hostproblems-dot',1)" onMouseOut="switchdot('hostproblems-dot',0)" class="NavBarItem">Host Problems</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="hostproblems-dot"></td>
+ <td nowrap><a href="cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12" target="main" onMouseOver="switchdot('hostproblems-dot',1)" onMouseOut="switchdot('hostproblems-dot',0)" class="NavBarItem">Host Problems</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="outages-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/outages.cgi" target="main" onMouseOver="switchdot('outages-dot',1)" onMouseOut="switchdot('outages-dot',0)" class="NavBarItem">Network Outages</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="outages-dot"></td>
+ <td nowrap><a href="cgi-bin/outages.cgi" target="main" onMouseOver="switchdot('outages-dot',1)" onMouseOut="switchdot('outages-dot',0)" class="NavBarItem">Network Outages</a></td>
</tr>
<tr>
<td colspan="2" height="10"></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="comment-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/extinfo.cgi?&type=3" target="main" onMouseOver="switchdot('comment-dot',1)" onMouseOut="switchdot('comment-dot',0)" class="NavBarItem">Comments</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="comment-dot"></td>
+ <td nowrap><a href="cgi-bin/extinfo.cgi?&type=3" target="main" onMouseOver="switchdot('comment-dot',1)" onMouseOut="switchdot('comment-dot',0)" class="NavBarItem">Comments</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="downtime-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/extinfo.cgi?&type=6" target="main" onMouseOver="switchdot('downtime-dot',1)" onMouseOut="switchdot('downtime-dot',0)" class="NavBarItem">Downtime</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="downtime-dot"></td>
+ <td nowrap><a href="cgi-bin/extinfo.cgi?&type=6" target="main" onMouseOver="switchdot('downtime-dot',1)" onMouseOut="switchdot('downtime-dot',0)" class="NavBarItem">Downtime</a></td>
</tr>
<tr>
<td colspan="2" height="10"></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="processinfo-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/extinfo.cgi?&type=0" target="main" onMouseOver="switchdot('processinfo-dot',1)" onMouseOut="switchdot('processinfo-dot',0)" class="NavBarItem">Process Info</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="processinfo-dot"></td>
+ <td nowrap><a href="cgi-bin/extinfo.cgi?&type=0" target="main" onMouseOver="switchdot('processinfo-dot',1)" onMouseOut="switchdot('processinfo-dot',0)" class="NavBarItem">Process Info</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="performance-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/extinfo.cgi?&type=4" target="main" onMouseOver="switchdot('performance-dot',1)" onMouseOut="switchdot('performance-dot',0)" class="NavBarItem">Performance Info</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="performance-dot"></td>
+ <td nowrap><a href="cgi-bin/extinfo.cgi?&type=4" target="main" onMouseOver="switchdot('performance-dot',1)" onMouseOut="switchdot('performance-dot',0)" class="NavBarItem">Performance Info</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="queue-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/extinfo.cgi?&type=7" target="main" onMouseOver="switchdot('queue-dot',1)" onMouseOut="switchdot('queue-dot',0)" class="NavBarItem">Scheduling Queue</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="queue-dot"></td>
+ <td nowrap><a href="cgi-bin/extinfo.cgi?&type=7" target="main" onMouseOver="switchdot('queue-dot',1)" onMouseOut="switchdot('queue-dot',0)" class="NavBarItem">Scheduling Queue</a></td>
</tr>
<tr>
<td colspan="2" height="10"></td>
@@ -81,38 +81,38 @@
<table width="150" border="0">
<tr>
- <td><img src="/nagios/images/sbreport.png" width="147" height="21" alt="-- Reporting --"></td>
+ <td><img src="images/sbreport.png" width="147" height="21" alt="-- Reporting --"></td>
</tr>
</table>
<table width="150" border="0" cellpadding=0 cellspacing=0>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="trends-dot"></td>
- <td nowrap width=134><a href="/nagios/cgi-bin/trends.cgi" target="main" onMouseOver="switchdot('trends-dot',1)" onMouseOut="switchdot('trends-dot',0)" class="NavBarItem">Trends</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="trends-dot"></td>
+ <td nowrap width=134><a href="cgi-bin/trends.cgi" target="main" onMouseOver="switchdot('trends-dot',1)" onMouseOut="switchdot('trends-dot',0)" class="NavBarItem">Trends</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="avail-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/avail.cgi" target="main" onMouseOver="switchdot('avail-dot',1)" onMouseOut="switchdot('avail-dot',0)" class="NavBarItem">Availability</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="avail-dot"></td>
+ <td nowrap><a href="cgi-bin/avail.cgi" target="main" onMouseOver="switchdot('avail-dot',1)" onMouseOut="switchdot('avail-dot',0)" class="NavBarItem">Availability</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="histogram-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/histogram.cgi" target="main" onMouseOver="switchdot('histogram-dot',1)" onMouseOut="switchdot('histogram-dot',0)" class="NavBarItem">Alert Histogram</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="histogram-dot"></td>
+ <td nowrap><a href="cgi-bin/histogram.cgi" target="main" onMouseOver="switchdot('histogram-dot',1)" onMouseOut="switchdot('histogram-dot',0)" class="NavBarItem">Alert Histogram</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="history-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/history.cgi?host=all" target="main" onMouseOver="switchdot('history-dot',1)" onMouseOut="switchdot('history-dot',0)" class="NavBarItem">Alert History</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="history-dot"></td>
+ <td nowrap><a href="cgi-bin/history.cgi?host=all" target="main" onMouseOver="switchdot('history-dot',1)" onMouseOut="switchdot('history-dot',0)" class="NavBarItem">Alert History</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="summary-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/summary.cgi" target="main" onMouseOver="switchdot('summary-dot',1)" onMouseOut="switchdot('summary-dot',0)" class="NavBarItem">Alert Summary</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="summary-dot"></td>
+ <td nowrap><a href="cgi-bin/summary.cgi" target="main" onMouseOver="switchdot('summary-dot',1)" onMouseOut="switchdot('summary-dot',0)" class="NavBarItem">Alert Summary</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="notifications-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/notifications.cgi?contact=all" target="main" onMouseOver="switchdot('notifications-dot',1)" onMouseOut="switchdot('notifications-dot',0)" class="NavBarItem">Notifications</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="notifications-dot"></td>
+ <td nowrap><a href="cgi-bin/notifications.cgi?contact=all" target="main" onMouseOver="switchdot('notifications-dot',1)" onMouseOut="switchdot('notifications-dot',0)" class="NavBarItem">Notifications</a></td>
</tr>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="logfile-dot"></td>
- <td nowrap><a href="/nagios/cgi-bin/showlog.cgi" target="main" onMouseOver="switchdot('logfile-dot',1)" onMouseOut="switchdot('logfile-dot',0)" class="NavBarItem">Event Log</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="logfile-dot"></td>
+ <td nowrap><a href="cgi-bin/showlog.cgi" target="main" onMouseOver="switchdot('logfile-dot',1)" onMouseOut="switchdot('logfile-dot',0)" class="NavBarItem">Event Log</a></td>
</tr>
<tr>
<td colspan="2" height="10"></td>
@@ -122,14 +122,14 @@
<table width="150" border="0">
<tr>
- <td><img src="/nagios/images/sbconfig.png" width="147" height="21" alt="-- Configuration --"></td>
+ <td><img src="images/sbconfig.png" width="147" height="21" alt="-- Configuration --"></td>
</tr>
</table>
<table width="150" border="0" cellpadding=0 cellspacing=0>
<tr>
- <td width=13><img src="/nagios/images/greendot.gif" width="13" height="14" name="config-dot"></td>
- <td nowrap width=134><a href="/nagios/cgi-bin/config.cgi" target="main" onMouseOver="switchdot('config-dot',1)" onMouseOut="switchdot('config-dot',0)" class="NavBarItem">View Config</a></td>
+ <td width=13><img src="images/greendot.gif" width="13" height="14" name="config-dot"></td>
+ <td nowrap width=134><a href="cgi-bin/config.cgi" target="main" onMouseOver="switchdot('config-dot',1)" onMouseOut="switchdot('config-dot',0)" class="NavBarItem">View Config</a></td>
</tr>
</table>