]> git.etc.gen.nz Git - spong.git/commitdiff
Added spong-cleanup parameters to file.
authorcvs <cvs>
Tue, 7 Dec 1999 07:18:52 +0000 (07:18 +0000)
committercvs <cvs>
Tue, 7 Dec 1999 07:18:52 +0000 (07:18 +0000)
config/spong.conf

index f59b893a9a9195c0d2701bb25d46bde2443a0be9..1aa588dcd683351fcd032e4fe4e1ad95a071f9cc 100755 (executable)
@@ -21,7 +21,6 @@ $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";
@@ -33,6 +32,17 @@ $WWW_COLOR{"blue"}   = "#0000ff";
 @WWW_REFRESH_ALLOW = ( '.*' );
 @WWW_REFRESH_DENY  = (  );
 
+# ---------------------------------------------------------------------------
+# spong-cleanup parameters
+# ---------------------------------------------------------------------------
+
+$SPONG_ARCHIVE = "/usr/local/spong/www/archives";  # Where to put the old
+                                                   # history entries
+
+$OLD_SERVICE   = 3;  # How many days to keep stale status reported before
+                     # removal
+$OLD_HISTORY   = 7;  # How many days of history to keep for each host
+
 # ---------------------------------------------------------------------------
 # Thresholds, season to taste.  These can be overridden on a host by host
 # case in a spong.conf.<hostname> file.
@@ -146,6 +156,7 @@ $TRACEROUTE = "/usr/bin/traceroute";
 $SENDMAIL   = "/usr/sbin/sendmail -t";
 $SENDMAILMQ = "/usr/sbin/sendmail -bp";
 $RPCINFO    = "/usr/bin/rpcinfo -u";
+$NTPDATE    = "/usr/sbin/ntpdate -q";
 
 1;  # I'm a file that gets included in perl code - leave this 1 here...