# ---------------------------------------------------------------------------
# Generic SPONG settings, specifies where files are kept, etc...
# ---------------------------------------------------------------------------
-# $Id: spong.conf.in,v 1.5 2005/09/27 16:22:43 willamowius Exp $
+# $Id: spong.conf.in,v 1.6 2005/11/15 12:38:22 scriptkiller Exp $
$SPONGSLEEP = 300; # Sleep time between check cycles. Depreciated
# Set to 0 to disable
# Number of frames to use in Web Displays
-$WWWFRAMES = 3; # Can be 2 or 3, defaults to 2
+# 1: display only data
+# 2: display GROUPS- or HOST-View in left frame, display data
+# in right frame
+# 3: same as 2 but also including a title-frame on top of the others
+$WWWFRAMES = 3; # Can be 1, 2 or 3, defaults to 2
+
+# This specifies where main content is displayed.
+# Only useful if you use spong with $WWWFRAMES set to 1 and
+# have spong embedded in some other web-based system.
+# Set this to "right" if you don't use this feature!
+$WWW_MAIN_DISPLAY_FRAME = "right";
+
# Title Frame Size (if $WWWFRAMES = 3) (In HTML Frame size specs)
$WWW_TITLE_SIZE = "40";
$WWWGIFS = "/spong/gifs"; # URL to www/gifs dir
$WWWDOCS = "/spong/docs"; # URL to www/docs dir
-$WWWHTML = "@@WWWDIR@@/html"; # File path to SPONG/www dir
+$WWWHTML = "@@WWWDIR@@/html"; # File path to SPONG/www dir
$WWWSPONG = "/cgi-bin/www-spong"; # URL path to www-spong program
$WWWACK = "/cgi-bin/www-spong-ack"; # URL path to www-spong-ack pgm
# Customizable action bar of Title Frame (only if $WWWFRAMES = 3)
$WWW_TITLE_ACTIONBAR = ' <b>Extended ActionBar: </b> ' .
-' <a href="/spong-rrd/index.html">Spong RRD Charts</a> ' .
-' || <a href="/cgi-bin/sysquery.pl?target=showall">System Summaries</a>';
+' <a href="/spong-rrd/index.html" target="right">Spong RRD Charts</a> ' .
+' || <a href="/cgi-bin/sysquery.pl?target=showall" target="right">System Summaries</a>';
# This is the default of the www-spong CGI program. Possible values are
# 'GROUPS' or 'HOSTS'
$WWW_TITLE_COLOR = "#9999ff"; # Background color for table title cells
$WWW_CELL_COLOR = "#cccccc"; # Background color for table detail cells
+# Set to 1 if you want to use images in output
$WWW_USE_IMAGES = 0;
$WWW_COLOR{"red"} = "#cc0000";