From: Michael Arndt Date: Tue, 15 Nov 2005 12:38:22 +0000 (+0000) Subject: added new features to config-file X-Git-Tag: spong-2_8_0-beta3~2 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8a264d6ea1195734ada8736073d3a8200da9976;p=spong.git added new features to config-file --- diff --git a/config/spong.conf.in b/config/spong.conf.in index 48b8db8..4554c9a 100644 --- a/config/spong.conf.in +++ b/config/spong.conf.in @@ -1,7 +1,7 @@ # --------------------------------------------------------------------------- # 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 @@ -31,7 +31,18 @@ $SPONG_SERVER_ALARM = 10; # Timeout for spong-server connection in seconds # 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"; @@ -41,7 +52,7 @@ $WWW_FQDN = 1; $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 @@ -65,8 +76,8 @@ $WWW_PROB_ACTIONBAR = $WWW_ACTIONBAR_CUSTOM; # Default to Host Display # Customizable action bar of Title Frame (only if $WWWFRAMES = 3) $WWW_TITLE_ACTIONBAR = ' Extended ActionBar: ' . -' Spong RRD Charts ' . -' || System Summaries'; +' Spong RRD Charts ' . +' || System Summaries'; # This is the default of the www-spong CGI program. Possible values are # 'GROUPS' or 'HOSTS' @@ -81,6 +92,7 @@ $DATETIMEFMT = "%c"; # scalar localtime() format $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";