From d5b02489578c572db25cec44f501343003ff7116 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Tue, 7 Nov 2000 06:10:58 +0000 Subject: [PATCH] adding missing $RPCINFO command and added -s to solaris ping --- config/spong.conf.bsdi | 3 ++- config/spong.conf.freebsd | 3 ++- config/spong.conf.hpux | 3 ++- config/spong.conf.irix | 3 ++- config/spong.conf.linux | 3 ++- config/spong.conf.osf1 | 3 ++- config/spong.conf.solaris | 5 +++-- 7 files changed, 15 insertions(+), 8 deletions(-) diff --git a/config/spong.conf.bsdi b/config/spong.conf.bsdi index 6c466a5..f2a6f59 100755 --- a/config/spong.conf.bsdi +++ b/config/spong.conf.bsdi @@ -9,7 +9,7 @@ # 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 # --------------------------------------------------------------------------- -# $Id: spong.conf.bsdi,v 1.4 2000/10/16 13:58:48 sljohnson Exp $ +# $Id: spong.conf.bsdi,v 1.5 2000/11/07 06:10:58 sljohnson Exp $ $DF = "/bin/df"; $UPTIME = "/usr/bin/uptime"; @@ -21,5 +21,6 @@ $SENDMAIL = "/usr/sbin/sendmail -t"; $MAILQ = "/usr/sbin/sendmail -bp"; $NTPDATE = "/usr/sbin/ntpdate -q"; $DNSCMD = "/usr/bin/nslookup"; +$RPCINFO = "/usr/sbin/rpcinfo -u"; 1; # I'm a file that gets included in perl code - leave this 1 here... diff --git a/config/spong.conf.freebsd b/config/spong.conf.freebsd index 37ac06d..fbd1b0f 100755 --- a/config/spong.conf.freebsd +++ b/config/spong.conf.freebsd @@ -9,7 +9,7 @@ # 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 # --------------------------------------------------------------------------- -# $Id: spong.conf.freebsd,v 1.4 2000/10/16 13:58:48 sljohnson Exp $ +# $Id: spong.conf.freebsd,v 1.5 2000/11/07 06:10:58 sljohnson Exp $ $DF = "/bin/df"; $UPTIME = "/usr/bin/uptime | head -1"; # Uptime behaves weirdly @@ -21,5 +21,6 @@ $SENDMAIL = "/usr/sbin/sendmail -t"; $MAILQ = "/usr/sbin/sendmail -bp"; $NTPDATE = "/usr/sbin/ntpdate -q"; $DNSCMD = "/usr/bin/nslookup"; +$RPCINFO = "/usr/sbin/rpcinfo -u"; 1; # I'm a file that gets included in perl code - leave this 1 here... diff --git a/config/spong.conf.hpux b/config/spong.conf.hpux index 7dcd0e4..b328351 100755 --- a/config/spong.conf.hpux +++ b/config/spong.conf.hpux @@ -9,7 +9,7 @@ # 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 # --------------------------------------------------------------------------- -# $Id: spong.conf.hpux,v 1.4 2000/10/16 13:58:48 sljohnson Exp $ +# $Id: spong.conf.hpux,v 1.5 2000/11/07 06:10:58 sljohnson Exp $ $DF = "/usr/bin/bdf"; $UPTIME = "/usr/bin/uptime"; @@ -21,5 +21,6 @@ $SENDMAIL = "/usr/lib/sendmail -t"; $MAILQ = "/usr/lib/sendmail -bp"; $NTPDATE = "/usr/sbin/ntpdate -q"; $DNSCMD = "/usr/bin/nslookup"; +$RPCINFO = "/usr/sbin/rpcinfo -u"; 1; # I'm a file that gets included in perl code - leave this 1 here... diff --git a/config/spong.conf.irix b/config/spong.conf.irix index 510e0f8..f44c062 100755 --- a/config/spong.conf.irix +++ b/config/spong.conf.irix @@ -9,7 +9,7 @@ # 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 # --------------------------------------------------------------------------- -# $Id: spong.conf.irix,v 1.4 2000/10/16 13:58:48 sljohnson Exp $ +# $Id: spong.conf.irix,v 1.5 2000/11/07 06:10:58 sljohnson Exp $ $DF = "/bin/df -P"; $UPTIME = "/usr/bsd/uptime"; @@ -21,5 +21,6 @@ $SENDMAIL = "/usr/lib/sendmail -t"; $MAILQ = "/usr/lib/sendmail -bp"; $NTPDATE = "/usr/sbin/ntpdate -q"; $DNSCMD = "/usr/bin/nslookup"; +$RPCINFO = "/usr/sbin/rpcinfo -u"; 1; # I'm a file that gets included in perl code - leave this 1 here... diff --git a/config/spong.conf.linux b/config/spong.conf.linux index 753897d..37f4851 100755 --- a/config/spong.conf.linux +++ b/config/spong.conf.linux @@ -9,7 +9,7 @@ # 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 # --------------------------------------------------------------------------- -# $Id: spong.conf.linux,v 1.4 2000/10/16 13:58:48 sljohnson Exp $ +# $Id: spong.conf.linux,v 1.5 2000/11/07 06:10:58 sljohnson Exp $ $DF = "/bin/df"; $UPTIME = "/usr/bin/uptime"; @@ -21,6 +21,7 @@ $SENDMAIL = "/usr/sbin/sendmail -t"; $MAILQ = "/usr/sbin/sendmail -bp"; $NTPDATE = "/usr/sbin/ntpdate -q"; $DNSCMD = "/usr/bin/nslookup"; +$RPCINFO = "/usr/sbin/rpcinfo -u"; undef $LSPS; diff --git a/config/spong.conf.osf1 b/config/spong.conf.osf1 index 8bedbe3..9578c13 100755 --- a/config/spong.conf.osf1 +++ b/config/spong.conf.osf1 @@ -7,7 +7,7 @@ # $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 # --------------------------------------------------------------------------- -# $Id: spong.conf.osf1,v 1.5 2000/10/16 13:58:48 sljohnson Exp $ +# $Id: spong.conf.osf1,v 1.6 2000/11/07 06:10:58 sljohnson Exp $ $DF = "/usr/bin/df"; $UPTIME = "/usr/ucb/uptime"; # Use berkely uptime, @@ -21,6 +21,7 @@ $MAILQ = "/usr/lib/sendmail -bp"; $RPCINFO = "/usr/sbin/rpcinfo -u"; $NTPDATE = "/usr/sbin/ntpdate -q"; $DNSCMD = "/usr/bin/nslookup"; +$RPCINFO = "/usr/sbin/rpcinfo -u"; undef $LSPS; diff --git a/config/spong.conf.solaris b/config/spong.conf.solaris index 3a35f83..b234cc4 100755 --- a/config/spong.conf.solaris +++ b/config/spong.conf.solaris @@ -9,18 +9,19 @@ # 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 # --------------------------------------------------------------------------- -# $Id: spong.conf.solaris,v 1.4 2000/10/16 13:58:48 sljohnson Exp $ +# $Id: spong.conf.solaris,v 1.5 2000/11/07 06:10:58 sljohnson Exp $ $DF = "/usr/ucb/df"; $UPTIME = "/usr/bin/uptime"; $PS = "/usr/bin/ps -ef"; $GREP = "/usr/bin/grep"; -$PING = "/usr/sbin/ping -n HOST 1024 2"; +$PING = "/usr/sbin/ping -s -n HOST 1024 2"; $TRACEROUTE = "/usr/bin/traceroute"; $SENDMAIL = "/usr/lib/sendmail -t"; $MAILQ = "/usr/lib/sendmail -bp"; $NTPDATE = "/usr/sbin/ntpdate -q"; $DNSCMD = "/usr/bin/nslookup"; +$RPCINFO = "/usr/sbin/rpcinfo -u"; undef $LSPS; -- 2.30.2