From 5ffc92eac2a7a2d9d8c26d4440f567dc474c4671 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Tue, 2 Nov 1999 18:15:05 +0000 Subject: [PATCH] Initial import --- config/spong.conf.freebsd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 config/spong.conf.freebsd diff --git a/config/spong.conf.freebsd b/config/spong.conf.freebsd new file mode 100755 index 0000000..f41fd88 --- /dev/null +++ b/config/spong.conf.freebsd @@ -0,0 +1,22 @@ +# --------------------------------------------------------------------------- +# 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 +# and since some ping command want args after the host, put the +# word HOST where you need the host to be in your ping command +# --------------------------------------------------------------------------- + +$DF = "/bin/df"; +$UPTIME = "/usr/bin/uptime | head -1"; # Uptime behaves weirdly +$PS = "/bin/ps -ax"; +$GREP = "/usr/bin/grep"; +$PING = "/sbin/ping -c 2 HOST"; +$TRACEROUTE = "/usr/sbin/traceroute"; +$SENDMAIL = "/usr/sbin/sendmail -t"; +$MAILQ = "/usr/sbin/sendmail -bp"; + +1; # I'm a file that gets included in perl code - leave this 1 here... -- 2.30.2