--- /dev/null
+# ---------------------------------------------------------------------------
+# Generic SPONG settings, specifies where files are kept, etc...
+# ---------------------------------------------------------------------------
+
+$SPONGSLEEP = 300;
+$SPONGSERVER = "spong-server.aci.alltel.com";
+$SPONGDB = "/usr/local/spong/www/database";
+$SPONGTMP = "/usr/local/spong/www/tmp";
+$SPONG_UPDATE_PORT = 1998;
+$SPONG_QUERY_PORT = 1999;
+$SPONG_BB_UPDATE_PORT = 1984;
+
+$WWWGIFS = "/spong/gifs";
+$WWWHTML = "/usr/local/spong/www/html";
+$WWWSPONG = "http://spong-server.aci.alltel.com/cgi-bin/www-spong";
+$WWWACK = "http://spong-server.aci.alltel.com/cgi-bin/www-spong-ack";
+$WWWCONTACT = "http://spong-server.aci.alltel.com/spong/page.cgi";
+
+# Customized link(s) that can be added to the Spong Web displays
+$WWW_ACTIONBAR_CUSTOM =
+ "<a href=\"http://main-ops.dummy.com:1400/ldapsearch?query=cn $name " .
+ "ou=Inventory o=Dummy Inc o=My State o=US\">Machine Info</a>";
+
+
+$WWW_USE_IMAGES = 0;
+
+$WWW_COLOR{"red"} = "#cc0000";
+$WWW_COLOR{"yellow"} = "#ffff00";
+$WWW_COLOR{"green"} = "#339900";
+$WWW_COLOR{"purple"} = "#990099";
+$WWW_COLOR{"blue"} = "#0000ff";
+
+@WWW_REFRESH_ALLOW = ( '.*' );
+@WWW_REFRESH_DENY = ( );
+
+# ---------------------------------------------------------------------------
+# Thresholds, season to taste. These can be overridden on a host by host
+# case in a spong.conf.<hostname> file.
+# ---------------------------------------------------------------------------
+
+$CHECKS = 'disk cpu processes logs'; # The client checks to run
+
+$MAILQWARN = 80;
+$MAILQCRIT = 100;
+
+@DFIGNORE = ( "cd\d", "cdrom", ":" ); # List of raw fs's to ignore (regex)
+$DFWARN{"ALL"} = 90; # Size to warn (yellow) on
+$DFCRIT{"ALL"} = 95; # Size to panic (red) on
+$DFWARN{"/usr"} = 95; # Some specifics...
+$DFCRIT{"/usr"} = 98;
+$DFWARN{"page"} = 50;
+$DFCRIT{"page"} = 80;
+
+$CPUCRIT = 5.0; # Panic at load avg of 5.0
+$CPUWARN = 3.0; # Warn at load avg of 3.0
+
+@PROCSWARN = ("xntpd");
+@PROCSCRIT = ("sendmail","httpd","mysqld","stidserver");
+
+# $LOGWARN{"/var/log/messages"} = [ "WARNING" ];
+# $LOGCRIT{"/var/log/messages"} = [ "NOTICE" ];
+
+# New Logmon configure syntax.
+# The Syntax is must more complex that the old code, but it is inifinity more
+# configurable.
+#
+# The top level varable ($LOGCHECKS) is a list of anonymous hashes
+# (i.e. $LOGCHECKS is list of references to hashes).
+#
+# $LOGCHECKS = [ {hash}, {hash}, ];
+#
+# Each hash look like the following:
+#
+# { logfile =>'/var/adm/messages',
+# checks => [
+# { pattern =>'WARNING:(.*)', # Perl RegExp to look fo
+# status =>'red', # Color to report 'green',
+# # 'yellow',or 'red'
+# duration =>60, # Number of minutes to report
+# # events
+# text =>'WARNING: $1', # Detail text to display. You
+# # can use position var from
+# # the regexp in the pattern
+# },
+# { pattern =>'SU\s+(\S+)',
+# status =>'yellow',
+# duration =>10,
+# text =>'SU to user $1',
+# id =>'SU', # The id field is optional. It
+# # is used to assign an internal
+# # key to events. Normally the
+# # the text field is used as the
+# # key. The is field can used to
+# # collapse multiple events to 1.
+# },
+
+$LOGCHECKS = [ { 'logfile' => '/var/log/messages',
+ 'checks' => [ { pattern=>'WARNING:(.*)',
+ status=> 'red',
+ duration=>60,
+ text=>'WARNING: $1',
+ },
+ ],
+ }
+];
+
+# ---------------------------------------------------------------------------
+# More configuration information - these variables are for the spong-network
+# program, where the ones above are for the spong-client programs.
+# ---------------------------------------------------------------------------
+
+$HTTPDOCS{"ALL"} = [ "/index.html" ];
+$HTTPPORT{"ALL"} = 80;
+
+# $HTTPDOCS{"sprite.its.uiowa.edu"} = [ "/index.html" ];
+
+# ---------------------------------------------------------------------------
+# Just a little more configuration information - these variables are for
+# the spong-message program.
+# ---------------------------------------------------------------------------
+
+$SEND_MESSAGE = "RED-CHANGE"; # Can be RED, or CHANGE
+ # or RED-CHANGE or NONE;
+$MESSAGES_PER_HOUR = 5;
+$IDENT_MESSAGES_PER_HOUR = 3;
+
+1; # I'm a file that gets included in perl code - leave this 1 here...
+
+# ---------------------------------------------------------------------------
+# OS Specific variables. A few external programs are used by spong-client,
+# spong-network, and spong-message. Chances are these differ from OS to OS.
+# A couple of things to watch for.
+#
+# $DF Your df command should output %used as the first column with a '%'
+# $PS You really want you ps command to return sorted via CPU usage
+# $PING Make sure your ping command only pings a finite number of times
+# ---------------------------------------------------------------------------
+
+$DF = "/usr/bin/df";
+$LSPS = "/etc/lsps -s";
+$UPTIME = "/usr/bin/uptime";
+$PS = "/usr/bin/ps -eF \"pcpu time vsz pid ruser args\" | /usr/bin/sort -r";
+$GREP = "/usr/bin/egrep";
+$PING = "/usr/sbin/ping -n -c 2 HOST";
+$TRACEROUTE = "/usr/bin/traceroute";
+$SENDMAIL = "/usr/sbin/sendmail -t";
+$SENDMAILMQ = "/usr/sbin/sendmail -bp";
+$RPCINFO = "/usr/bin/rpcinfo -u";
+
+1; # I'm a file that gets included in perl code - leave this 1 here...
+