# ---------------------------------------------------------------------------
# Generic SPONG settings, specifies where files are kept, etc...
# ---------------------------------------------------------------------------
+# $Id: spong.conf.in,v 1.1 2000/10/09 04:46:41 sljohnson Exp $
$SPONGSLEEP = 300; # Sleep time between check cycles. Depreciated
# $SPONGSLEEP{'spong-server'} = 120; # values to override the 'DEFAULT'
# $SPONGSLEEP{'spong-client'} = 300; # with the named program
-$SPONGSERVER = "@@VSERVER@@";
+$SPONGSERVER = "@@SPONGSERVER@@";
$SPONGDB = "@@DBDIR@@";
$SPONGTMP = "@@TMPDIR@@";
$SPONG_UPDATE_PORT = 1998;
# Set to show long host names on Host Summary web display
$WWW_FQDN = 1;
-$WWWGIFS = "/www/gifs";
-$WWWHTML = "@@WWWDIR@@/html";
-$WWWSPONG = "http://@@VSERVER@@/cgi-bin/www-spong";
-$WWWACK = "http://@@VSERVER@@/cgi-bin/www-spong-ack";
-$WWWCONTACT = "http://@@VSERVER@@/spong/page.cgi";
+$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
+$WWWSPONG = "/cgi-bin/www-spong"; # URL path to www-spong program
+$WWWACK = "/cgi-bin/www-spong-ack"; # URL path to www-spong-ack pgm
+
+$WAPSPONG = "/cgi-bin/wap-spong"; # URL path to wap-spong pgm
+ # BETA version of this feature
+
+#$WWWCONTACT = "/spong/page.cgi"; # This CGI script is not provided. See
+ # the admin-guide for more infomation
# Customized link(s) that can be added to the Host Display (right frame)
# $WWW_ACTIONBAR_CUSTOM =
' || <a href="/cgi-bin/sysquery.pl?target=showall">System Summaries</a>';
# This is the default of the www-spong CGI program. Possible values are
-# 'GROUPS' or 'HOST'
+# 'GROUPS' or 'HOSTS'
$WWW_DEFAULT_VIEW = "GROUPS";
# Date and time format strings. These are strftime() format variables
@WWW_REFRESH_DENY = ( );
# You should not have to changes these settings
-$SERVICELISTFIX = 0; # Set his if host not displaying service status'
+$SERVICELISTFIX = 0; # Set this if host not displaying service status
$HOSTGROUPALL = 0; # Set this to include the ALL group on Group Web
# displays
# $LOGCRIT{"/var/log/messages"} = [ "NOTICE" ];
# New Logmon configure syntax.
-# The Syntax is must more complex that the old code, but it is inifinity more
+# The Syntax is much more complex than the old code, but it is inifinity more
# configurable.
#
# The top level varable ($LOGCHECKS) is a list of anonymous hashes
$HTTPDOCS{"ALL"} = [ "/index.html" ];
$HTTPPORT{"ALL"} = 80;
-# $HTTPDOCS{"sprite.its.uiowa.edu"} = [ "/index.html" ];
+# $HTTPDOCS{"www3.example.com"} = [ "/index.html" ];
# URL's for for http check. These configuations use HTTP 1.1 for testing.
# The '_HOST_' string is replaced by the hostname as defined in spong.hosts.
# The 'DEFAULT' entry is used for testing all hosts if not overriden.
$HTTPURLS{"DEFAULT"} = [ "http://_HOST_/" ];
-$HHTPURLS{"aptest.my-inc.com"} = [ "http://_HOST_/",
+$HTTPURLS{"aptest.my-inc.com"} = [ "http://_HOST_/",
"http://webtest.my-inc.com:8080/login.php3",
"http://_HOST_:8000/newapp/register.html",
];
=over
-=item spong.conf
+=item spong.hosts
%HUMANS = (
'unix-staff' => { 'name' => 'Midrange On-call Staff',
'email' => 'its-unix@school.edu'
},
- 'edhill' => { 'name' => 'Ed Hill',
- 'email' => 'ed-hill@school.edu',
+ 'georgew' => { 'name' => 'George Wilson',
+ 'email' => 'georgew@school.edu',
'skytel' => '1234567' },
);
%HOSTS = (
- 'strobe.weeg.school.edu' => { services => 'ftp smtp http',
+ 'grad.cs.school.edu' => { services => 'ftp smtp http',
'down' => ["*:05:30-06:30",
"0:00:00-04:00" ] },
$MESSAGING_RULES = [
- { hosts => [ 'strobe.weeg.school.edu' ],
+ { hosts => [ 'gard.cs.school.edu' ],
contacts => [ 'unix-staff'],
},
{ hosts => ['www.school.edu'],
- contacts => [ 'edhill:email',
- { rcpt=>'edhill:skytel', repeat=>900, }, ]
+ contacts => [ 'georgew:email',
+ { rcpt=>'georgew:skytel', repeat=>900, }, ]
},
];