home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-11-24 | 52.0 KB | 1,665 lines |
- Newsgroups: comp.sources.misc
- From: vikas@jvnc.net (Vikas Aggarwal)
- Subject: v40i156: nocol - Network Monitoring System, Part26/26
- Message-ID: <1993Nov24.164016.2291@sparky.sterling.com>
- X-Md4-Signature: 34e06d6a4960e79103d724562eb72cc8
- Sender: kent@sparky.sterling.com (Kent Landfield)
- Organization: Sterling Software
- Date: Wed, 24 Nov 1993 16:40:16 GMT
- Approved: kent@sparky.sterling.com
-
- Submitted-by: vikas@jvnc.net (Vikas Aggarwal)
- Posting-number: Volume 40, Issue 156
- Archive-name: nocol/part26
- Environment: INET, UNIX
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then feed it
- # into a shell via "sh file" or similar. To overwrite existing files,
- # type "sh file -c".
- # Contents: nocol-3.0/src/COPYRIGHT nocol-3.0/src/HISTORY
- # nocol-3.0/src/PORTING nocol-3.0/src/cmu-snmp/HISTORY
- # nocol-3.0/src/cmu-snmp/HOST nocol-3.0/src/cmu-snmp/Makefile
- # nocol-3.0/src/cmu-snmp/VERSION
- # nocol-3.0/src/cmu-snmp/apps/Makefile
- # nocol-3.0/src/cmu-snmp/apps/kernel.c
- # nocol-3.0/src/cmu-snmp/exclude
- # nocol-3.0/src/cmu-snmp/include/Makefile
- # nocol-3.0/src/cmu-snmp/snmplib/Makefile nocol-3.0/src/doc/Makefile
- # nocol-3.0/src/doc/netmon.1 nocol-3.0/src/eventselect/Makefile
- # nocol-3.0/src/noclog/newtest.c nocol-3.0/src/noclog/noclogd-confg
- # nocol-3.0/src/perlnocol/Makefile
- # nocol-3.0/src/perlnocol/bgpmon-confg
- # nocol-3.0/src/perlnocol/bpmon-confg
- # nocol-3.0/src/perlnocol/mkarmon
- # nocol-3.0/src/perlnocol/modemmon-confg
- # nocol-3.0/src/perlnocol/novellmon-confg
- # nocol-3.0/src/pingmon/README nocol-3.0/src/pingmon/ipnodes
- # nocol-3.0/src/portmon/portmon-confg nocol-3.0/src/support/README
- # nocol-3.0/src/support/mping/Makefile
- # nocol-3.0/src/support/mping/README
- # nocol-3.0/src/support/mping/msummary.out
- # nocol-3.0/src/support/mping/smooth.pl
- # nocol-3.0/src/support/mping/spqr.c
- # nocol-3.0/src/support/mping/t1.pl
- # nocol-3.0/src/support/multiping/Makefile
- # nocol-3.0/src/support/multiping/README
- # nocol-3.0/src/support/multiping/vars.h
- # nocol-3.0/src/tpmon/tpmon-confg nocol-3.0/src/utility/Makefile
- # nocol-3.0/src/utility/display_nocol_datafile.c
- # nocol-3.0/src/utility/myinstall nocol-3.0/src/utility/notifier
- # nocol-3.0/src/utility/show_nocol_struct_sizes.c
- # nocol-3.0/src/version.h
- # Wrapped by kent@sparky on Tue Nov 9 22:22:31 1993
- PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/lbin:$PATH ; export PATH
- echo If this archive is complete, you will see the following message:
- echo ' "shar: End of archive 26 (of 26)."'
- if test -f 'nocol-3.0/src/COPYRIGHT' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/COPYRIGHT'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/COPYRIGHT'\" \(1143 characters\)
- sed "s/^X//" >'nocol-3.0/src/COPYRIGHT' <<'END_OF_FILE'
- X Copyright 1993 JvNCnet, Global Enterprise Services
- X
- X Permission to use, copy, modify and distribute this software and its
- X documentation for any purpose is hereby granted without fee, provided
- X that the above copyright notice appear in all copies and that both
- X that copyright notice and this permission notice appear in supporting
- X documentation, and that the name of JvNCnet or Global Enterprise
- X Services not be used in advertising or publicity pertaining to
- X distribution of the software without specific, written prior
- X permission. Global Enterprise Services makes no representations about
- X the suitability of this software for any purpose. It is provided "as
- X is" without express or implied warranty.
- X
- X GLOBAL ENTERPRISE SERVICES DISCLAIMS ALL WARRANTIES WITH REGARD TO
- X THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
- X FITNESS. IN NO EVENT SHALL GLOBAL ENTERPRISE SERVICES BE LIABLE FOR
- X ANY DAMAGES WHATSOEVER, INCLUDING DAMAGES RESULTING FROM LOSS OF USE,
- X DATA OR PROFITS, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- X OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- X
- END_OF_FILE
- if test 1143 -ne `wc -c <'nocol-3.0/src/COPYRIGHT'`; then
- echo shar: \"'nocol-3.0/src/COPYRIGHT'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/COPYRIGHT'
- fi
- if test -f 'nocol-3.0/src/HISTORY' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/HISTORY'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/HISTORY'\" \(407 characters\)
- sed "s/^X//" >'nocol-3.0/src/HISTORY' <<'END_OF_FILE'
- X HISTORY
- X
- Xnocol v3.0 Nov 1, 1993
- X----------
- X
- XMajor new release with nocol library, cleaner code. Logging, PERL
- Xinterface, genmon, eventselect, portmon. Deleted tsmon from the
- Xdistribution.
- X
- Xnocol v2.0 Jun 18, 1992
- X---------
- X
- XFirst public release
- X
- XThe top level makefile was defining BIN instead of BINDIR. Fixed, and
- Xalso added MFLAGS and MSGSDIR
- X
- XFixed bug in the CMU code in cmu-snmp/snmplib/asn1.c
- X
- END_OF_FILE
- if test 407 -ne `wc -c <'nocol-3.0/src/HISTORY'`; then
- echo shar: \"'nocol-3.0/src/HISTORY'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/HISTORY'
- fi
- if test -f 'nocol-3.0/src/PORTING' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/PORTING'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/PORTING'\" \(721 characters\)
- sed "s/^X//" >'nocol-3.0/src/PORTING' <<'END_OF_FILE'
- XPORTING NOCOL TO MISC PLATFORMS
- X===============================
- X
- XThis file contains possible tips towards compiling NOCOL-v3 on
- Xmisc Unix systems.
- X
- XSolaris2.2
- X----------
- X1. NEEDOBJS = bstring.o random.o ftime.o
- X
- X2. SYSLIBS = -lresolv -lsocket -lnsl (for BSD socket routines)
- X
- X3. RANLIB = touch
- X
- X4. INSTALL = $(SRCDIR)/utility/myinstall
- X
- X
- XHP/UX
- X-----
- X1. NEEDOBJS = bstring.o random.o ftime.o
- X
- X2. SYSLIBS = <nothing>
- X
- X3. RANLIB = touch
- X
- X4. INSTALL = $(SRCDIR)/utility/myinstall
- X
- X5. '-ltermcap' library does not exist so delete it manually from
- X netmon/Makefile.
- X
- X
- XUltrix 4.2
- X---------
- X1. Does not need any NEEDOBJS or SYSLIBS. Delete all from the list.
- X
- X SYSLIBS =
- X
- X
- X
- X -Vikas Aggarwal
- X JvNCnet, GES
- X --------------
- END_OF_FILE
- if test 721 -ne `wc -c <'nocol-3.0/src/PORTING'`; then
- echo shar: \"'nocol-3.0/src/PORTING'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/PORTING'
- fi
- if test -f 'nocol-3.0/src/cmu-snmp/HISTORY' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/cmu-snmp/HISTORY'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/cmu-snmp/HISTORY'\" \(499 characters\)
- sed "s/^X//" >'nocol-3.0/src/cmu-snmp/HISTORY' <<'END_OF_FILE'
- XVersion .91: Changed the ASN type for the types: Counter, Ipaddress, gauge,
- Xtimeticks, and opaque. The SMI defines them as application specific types,
- Xnot ASN_INTEGER and ASN_OCTET_STRING.
- XVersion 1.0 Added snmpnetstat, snmptrap, snmptrapd. Everything runs on a new
- XAPI that has an asynchronous interface. Most old hard-coded limits are either
- Xnon-existent or much larger than necessary. The mib module now gets it's data
- Xby parsing a text file in the same ASN.1 format as is given in RFC1066.
- END_OF_FILE
- if test 499 -ne `wc -c <'nocol-3.0/src/cmu-snmp/HISTORY'`; then
- echo shar: \"'nocol-3.0/src/cmu-snmp/HISTORY'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/cmu-snmp/HISTORY'
- fi
- if test -f 'nocol-3.0/src/cmu-snmp/HOST' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/cmu-snmp/HOST'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/cmu-snmp/HOST'\" \(25 characters\)
- sed "s/^X//" >'nocol-3.0/src/cmu-snmp/HOST' <<'END_OF_FILE'
- Xlancaster.andrew.cmu.edu
- END_OF_FILE
- if test 25 -ne `wc -c <'nocol-3.0/src/cmu-snmp/HOST'`; then
- echo shar: \"'nocol-3.0/src/cmu-snmp/HOST'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/cmu-snmp/HOST'
- fi
- if test -f 'nocol-3.0/src/cmu-snmp/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/cmu-snmp/Makefile'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/cmu-snmp/Makefile'\" \(971 characters\)
- sed "s/^X//" >'nocol-3.0/src/cmu-snmp/Makefile' <<'END_OF_FILE'
- X
- XTARG = bin/snmpget bin/snmpgetnext bin/snmpstatus bin/snmpwalk bin/snmptest bin/snmptrap bin/snmptrapd bin/snmpnetstat bin/snmpmon bin/snmpd
- X
- Xall: makeall
- X
- Xinstall: apps/snmpget apps/snmpgetnext apps/snmpstatus apps/snmpwalk apps/snmptest apps/snmptrap apps/snmptrapd apps/snmpnetstat/snmpnetstat apps/snmpd
- X cp apps/snmpget bin/snmpget
- X cp apps/snmpgetnext bin/snmpgetnext
- X cp apps/snmpstatus bin/snmpstatus
- X cp apps/snmpwalk bin/snmpwalk
- X cp apps/snmptest bin/snmptest
- X cp apps/snmptrap bin/snmptrap
- X cp apps/snmptrapd bin/snmptrapd
- X cp apps/snmpnetstat/snmpnetstat bin/snmpnetstat
- X cp apps/snmpd bin/snmpd
- X
- Xapps/snmpget apps/snmpgetnext apps/snmpstatus apps/snmpwalk apps/snmptest apps/snmptrap apps/snmptrapd apps/snmpnetstat/snmpnetstat apps/snmpmon apps/snmpd: makeall
- X
- Xmakeall:
- X cd snmplib; make all install
- X cd apps; make
- X cd apps/snmpnetstat; make
- X
- Xclean:
- X cd snmplib; make clean
- X cd apps; make clean
- X cd apps/snmpnetstat; make clean
- X cd include; make clean
- X
- X
- END_OF_FILE
- if test 971 -ne `wc -c <'nocol-3.0/src/cmu-snmp/Makefile'`; then
- echo shar: \"'nocol-3.0/src/cmu-snmp/Makefile'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/cmu-snmp/Makefile'
- fi
- if test -f 'nocol-3.0/src/cmu-snmp/VERSION' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/cmu-snmp/VERSION'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/cmu-snmp/VERSION'\" \(5 characters\)
- sed "s/^X//" >'nocol-3.0/src/cmu-snmp/VERSION' <<'END_OF_FILE'
- X1.1b
- END_OF_FILE
- if test 5 -ne `wc -c <'nocol-3.0/src/cmu-snmp/VERSION'`; then
- echo shar: \"'nocol-3.0/src/cmu-snmp/VERSION'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/cmu-snmp/VERSION'
- fi
- if test -f 'nocol-3.0/src/cmu-snmp/apps/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/cmu-snmp/apps/Makefile'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/cmu-snmp/apps/Makefile'\" \(918 characters\)
- sed "s/^X//" >'nocol-3.0/src/cmu-snmp/apps/Makefile' <<'END_OF_FILE'
- X#
- X# Makefile for snmpget, snmpgetnext, snmpwalk, snmpstatus, snmptest snmptrap snmptrapd snmpd
- X#
- XTARG= snmpget snmpgetnext snmpwalk snmpstatus snmptest snmptrap snmptrapd snmpd
- XLIBS= ../lib/libsnmp.a
- XCFLAGS=-g -I../include
- X
- Xall: $(TARG)
- X
- Xsnmpget: snmpget.o ${LIBS}
- X ${CC} -o $@ snmpget.o ${LIBS}
- X
- Xsnmpgetnext: snmpgetnext.o ${LIBS}
- X ${CC} -o $@ snmpgetnext.o ${LIBS}
- X
- Xsnmpwalk: snmpwalk.o ${LIBS}
- X ${CC} -o $@ snmpwalk.o ${LIBS}
- X
- Xsnmpstatus: snmpstatus.o ${LIBS}
- X ${CC} -o $@ snmpstatus.o ${LIBS}
- X
- Xsnmptest: snmptest.o ${LIBS}
- X ${CC} -o $@ snmptest.o ${LIBS}
- X
- Xsnmptrap: snmptrap.o ${LIBS}
- X ${CC} -o $@ snmptrap.o ${LIBS}
- X
- Xsnmptrapd: snmptrapd.o ${LIBS}
- X ${CC} -o $@ snmptrapd.o ${LIBS}
- X
- Xsnmpd: snmpd.o kernel.o ${LIBS} snmp_agent.o snmp_vars.o snmp_var_route.o
- X ${CC} -o $@ snmpd.o kernel.o snmp_agent.o snmp_vars.o snmp_var_route.o ${LIBS}
- X
- Xclean:
- X rm -f *.o ${TARG}
- X
- Xinstall:
- X cp ${TARG} ../bin
- END_OF_FILE
- if test 918 -ne `wc -c <'nocol-3.0/src/cmu-snmp/apps/Makefile'`; then
- echo shar: \"'nocol-3.0/src/cmu-snmp/apps/Makefile'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/cmu-snmp/apps/Makefile'
- fi
- if test -f 'nocol-3.0/src/cmu-snmp/apps/kernel.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/cmu-snmp/apps/kernel.c'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/cmu-snmp/apps/kernel.c'\" \(672 characters\)
- sed "s/^X//" >'nocol-3.0/src/cmu-snmp/apps/kernel.c' <<'END_OF_FILE'
- X
- X#include <sys/types.h>
- X#include <stdio.h>
- X
- Xstatic int kmem;
- Xint swap, mem;
- X
- Xinit_kmem(file)
- X char *file;
- X{
- X kmem = open(file, 0);
- X if (kmem < 0){
- X fprintf(stderr, "cannot open ");
- X perror(file);
- X exit(1);
- X }
- X#ifdef ibm032
- X mem = open("/dev/mem");
- X if (mem < 0){
- X fprintf(stderr, "cannot open ");
- X perror(file);
- X exit(1);
- X }
- X swap = open("/dev/drum");
- X if (swap < 0){
- X fprintf(stderr, "cannot open ");
- X perror(file);
- X exit(1);
- X }
- X#endif
- X}
- X
- X/*
- X * Seek into the kernel for a value.
- X */
- Xoff_t
- Xklseek(base)
- X off_t base;
- X{
- X return (lseek(kmem, base, 0));
- X}
- X
- Xklread(buf, buflen)
- X char *buf;
- X int buflen;
- X{
- X read(kmem, buf, buflen);
- X}
- X
- END_OF_FILE
- if test 672 -ne `wc -c <'nocol-3.0/src/cmu-snmp/apps/kernel.c'`; then
- echo shar: \"'nocol-3.0/src/cmu-snmp/apps/kernel.c'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/cmu-snmp/apps/kernel.c'
- fi
- if test -f 'nocol-3.0/src/cmu-snmp/exclude' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/cmu-snmp/exclude'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/cmu-snmp/exclude'\" \(234 characters\)
- sed "s/^X//" >'nocol-3.0/src/cmu-snmp/exclude' <<'END_OF_FILE'
- Xapps/RCS
- Xapps/snmpget
- Xapps/snmpgetnext
- Xapps/snmpnetstat
- Xapps/snmpnetstat.c
- Xapps/snmpns.c
- Xapps/snmpstatus
- Xapps/snmptest
- Xapps/snmpwalk
- Xman/RCS
- Xsnmplib/OLDRCS
- Xsnmplib/RCS
- Xsnmplib/snmp_if.c
- Xsnmplib/snmp_if.h
- Xkip
- Xexclude
- Xapps/Makefile.new
- END_OF_FILE
- if test 234 -ne `wc -c <'nocol-3.0/src/cmu-snmp/exclude'`; then
- echo shar: \"'nocol-3.0/src/cmu-snmp/exclude'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/cmu-snmp/exclude'
- fi
- if test -f 'nocol-3.0/src/cmu-snmp/include/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/cmu-snmp/include/Makefile'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/cmu-snmp/include/Makefile'\" \(942 characters\)
- sed "s/^X//" >'nocol-3.0/src/cmu-snmp/include/Makefile' <<'END_OF_FILE'
- X#
- X# Makefile for snmplib
- X#
- XTARG= libsnmp.a
- XCSRCS= snmp_client.c snmp.c snmp_auth.c asn1.c mib.c parse.c snmp_api.c
- XOBJS= snmp_client.o snmp.o snmp_auth.o asn1.o mib.o parse.o snmp_api.o
- XCFLAGS=-g
- X
- Xall: $(TARG)
- X
- Xlibsnmp.a: ${OBJS}
- X ar r libsnmp.a ${OBJS}
- X ranlib libsnmp.a
- X
- Xinstall: ../lib/libsnmp.a
- X
- X../lib/libsnmp.a: libsnmp.a
- X cp libsnmp.a ../lib
- X ranlib ../lib/libsnmp.a
- X
- X
- Xlint:
- X lint -nhx $(CSRCS)
- X
- Xclean:
- X rm -f ${OBJS} ${TARG}
- X rm -f ../lib/${TARG}
- X
- Xasn1.o: ./asn1.h
- Xmib.o: ./asn1.h
- Xmib.o: ./snmp_impl.h
- Xmib.o: ./snmp_api.h
- Xmib.o: ./parse.h
- Xparse.o: ./parse.h
- Xsnmp.o: ./asn1.h
- Xsnmp.o: ./snmp.h
- Xsnmp.o: ./snmp_impl.h
- Xsnmp.o: ./mib.h
- Xsnmp_api.o: ./asn1.h
- Xsnmp_api.o: ./snmp.h
- Xsnmp_api.o: ./snmp_impl.h
- Xsnmp_api.o: ./snmp_api.h
- Xsnmp_auth.o: ./asn1.h
- Xsnmp_auth.o: ./snmp.h
- Xsnmp_auth.o: ./snmp_impl.h
- Xsnmp_client.o: ./asn1.h
- Xsnmp_client.o: ./snmp.h
- Xsnmp_client.o: ./snmp_impl.h
- Xsnmp_client.o: ./snmp_api.h
- Xsnmp_client.o: ./snmp_client.h
- X
- END_OF_FILE
- if test 942 -ne `wc -c <'nocol-3.0/src/cmu-snmp/include/Makefile'`; then
- echo shar: \"'nocol-3.0/src/cmu-snmp/include/Makefile'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/cmu-snmp/include/Makefile'
- fi
- if test -f 'nocol-3.0/src/cmu-snmp/snmplib/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/cmu-snmp/snmplib/Makefile'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/cmu-snmp/snmplib/Makefile'\" \(964 characters\)
- sed "s/^X//" >'nocol-3.0/src/cmu-snmp/snmplib/Makefile' <<'END_OF_FILE'
- X#
- X# Makefile for snmplib
- X#
- XTARG= libsnmp.a
- XCSRCS= snmp_client.c snmp.c snmp_auth.c asn1.c mib.c parse.c snmp_api.c
- XOBJS= snmp_client.o snmp.o snmp_auth.o asn1.o mib.o parse.o snmp_api.o
- XCFLAGS= -g
- XRANLIB= ranlib
- X
- Xall: $(TARG)
- X
- Xlibsnmp.a: ${OBJS}
- X ar r libsnmp.a ${OBJS}
- X $(RANLIB) libsnmp.a
- X
- Xinstall: ../lib/libsnmp.a
- X
- X../lib/libsnmp.a: libsnmp.a
- X cp libsnmp.a ../lib
- X $(RANLIB) ../lib/libsnmp.a
- X
- X
- Xlint:
- X lint -nhx $(CSRCS)
- X
- Xclean:
- X rm -f ${OBJS} ${TARG}
- X rm -f ../lib/${TARG}
- X
- Xasn1.o: ./asn1.h
- Xmib.o: ./asn1.h
- Xmib.o: ./snmp_impl.h
- Xmib.o: ./snmp_api.h
- Xmib.o: ./parse.h
- Xparse.o: ./parse.h
- Xsnmp.o: ./asn1.h
- Xsnmp.o: ./snmp.h
- Xsnmp.o: ./snmp_impl.h
- Xsnmp.o: ./mib.h
- Xsnmp_api.o: ./asn1.h
- Xsnmp_api.o: ./snmp.h
- Xsnmp_api.o: ./snmp_impl.h
- Xsnmp_api.o: ./snmp_api.h
- Xsnmp_auth.o: ./asn1.h
- Xsnmp_auth.o: ./snmp.h
- Xsnmp_auth.o: ./snmp_impl.h
- Xsnmp_client.o: ./asn1.h
- Xsnmp_client.o: ./snmp.h
- Xsnmp_client.o: ./snmp_impl.h
- Xsnmp_client.o: ./snmp_api.h
- Xsnmp_client.o: ./snmp_client.h
- X
- END_OF_FILE
- if test 964 -ne `wc -c <'nocol-3.0/src/cmu-snmp/snmplib/Makefile'`; then
- echo shar: \"'nocol-3.0/src/cmu-snmp/snmplib/Makefile'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/cmu-snmp/snmplib/Makefile'
- fi
- if test -f 'nocol-3.0/src/doc/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/doc/Makefile'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/doc/Makefile'\" \(1138 characters\)
- sed "s/^X//" >'nocol-3.0/src/doc/Makefile' <<'END_OF_FILE'
- X# $Header: /home/aggarwal/lsrc/nocol/src/doc/RCS/Makefile,v 1.1 1993/10/30 03:09:12 aggarwal Exp $
- X#
- X# Make for installing the man pages
- X# This installs all the man pages with the same extension
- X
- XMANDIR= /usr/man/mann
- XMANEXT= n
- XMANPAGES1 = nocol.1
- XMANPAGES3 = perlnocol.3 nocol-prog.3
- XMANPAGES8 = eventselect.8 genmon.8 multiping.8 \
- X noclogd.8 nocol-overview.8 nocol-utility.8 nsmon.8 \
- X pingmon.8 portmon.8 tpmon.8 trapmon.8
- X
- Xall:
- X @echo "Building all in 'doc'"
- X
- Xinstall:
- X @echo "Installing in 'doc'"
- X @- [ -d $(MANDIR) ] || mkdir $(MANDIR)
- X# @-for d in $(MANDIR)/man1 $(MANDIR)/man3 $(MANDIR)/man8; do \
- X# [! -d $$d ] && mkdir $$d ;\
- X# done
- X @-for m in $(MANPAGES1); do \
- X $(INSTALL) -c -m 644 $$m $(MANDIR)/`basename $$m 1`$(MANEXT) ;\
- X done
- X @-for m in $(MANPAGES3); do \
- X $(INSTALL) -c -m 644 $$m $(MANDIR)/`basename $$m 3`$(MANEXT) ;\
- X done
- X @-for m in $(MANPAGES8); do \
- X $(INSTALL) -c -m 644 $$m $(MANDIR)/`basename $$m 8`$(MANEXT) ;\
- X done
- X
- Xclean:
- X @echo "Building clean in 'doc'"
- X
- Xrcs:
- X @echo "Extracting RCS revisions in 'doc'"
- X @-for i in $(MANPAGES1) $(MANPAGES3) $(MANPAGES8); do \
- X $(CO) -q $$i ; \
- X done
- END_OF_FILE
- if test 1138 -ne `wc -c <'nocol-3.0/src/doc/Makefile'`; then
- echo shar: \"'nocol-3.0/src/doc/Makefile'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/doc/Makefile'
- fi
- if test -f 'nocol-3.0/src/doc/netmon.1' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/doc/netmon.1'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/doc/netmon.1'\" \(12 characters\)
- sed "s/^X//" >'nocol-3.0/src/doc/netmon.1' <<'END_OF_FILE'
- X.so nocol.1
- END_OF_FILE
- if test 12 -ne `wc -c <'nocol-3.0/src/doc/netmon.1'`; then
- echo shar: \"'nocol-3.0/src/doc/netmon.1'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/doc/netmon.1'
- fi
- if test -f 'nocol-3.0/src/eventselect/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/eventselect/Makefile'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/eventselect/Makefile'\" \(1267 characters\)
- sed "s/^X//" >'nocol-3.0/src/eventselect/Makefile' <<'END_OF_FILE'
- X# $Id: Makefile,v 1.2 1993/10/30 03:12:04 aggarwal Exp $
- X#
- X#
- X#
- X## SET THIS
- X# Directories needed by the Makefile
- XTOP = /usr/nocol
- XSRCDIR = $(TOP)/src
- X
- XBINDIR = $(TOP)/bin
- XETCDIR = $(TOP)/etc
- XINCLUDEDIR = $(SRCDIR)/include
- XLIBDIR = $(SRCDIR)/lib
- X
- XINSTALL = install
- X
- X## SET THIS
- X# Set the various defines for compile time defines:
- X#
- XSYSDEFS =
- X
- X####
- X#### Can leave the rest alone #######
- X####
- X
- X##
- X# The various directories that are needed in the program. Should NOT
- X# have trailing '/'.
- XDIRDEFS = -DETCDIR=\"$(ETCDIR)\"
- X
- X# Compilation definitions
- XCC = cc
- XCDEFS = $(DIRDEFS) $(SYSDEFS)
- XLIBS = -lnocol $(SYSLIBS)
- XCFLAGS = -g -I$(INCLUDEDIR) -I../include -L$(LIBDIR) -L../lib
- X
- XTARG = eventselect
- XOBJECTS = proc_datafile.o eventselect.o
- X
- X$(TARG): $(OBJECTS) Makefile
- X $(CC) $(CFLAGS) $(OBJECTS) $(LIBS) -o $@
- X
- X.c.o:
- X $(CC) $(CFLAGS) -c $(CDEFS) $<
- X
- X## The dependencies in case 'mkdep' not used
- X#
- X$(OBJECTS): $(INCLUDEDIR)/nocol.h
- X
- Xinstall: $(TARG)
- X @[ -d $(TOP) ] || mkdir $(TOP)
- X @[ -d $(ETCDIR) ] || mkdir $(ETCDIR)
- X @[ -d $(BINDIR) ] || mkdir $(BINDIR)
- X $(INSTALL) -c -m 751 $(TARG) $(BINDIR)/
- X
- Xclean:
- X /bin/rm -f $(OBJECTS) $(TARG) *.o core a.out
- X
- Xrcs:
- X @echo "Doing 'rcs' in $(TARG)"
- X @-for i in $(OBJS); do \
- X $(CO) -q `basename $$i .o`.c ;\
- X done
- X
- END_OF_FILE
- if test 1267 -ne `wc -c <'nocol-3.0/src/eventselect/Makefile'`; then
- echo shar: \"'nocol-3.0/src/eventselect/Makefile'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/eventselect/Makefile'
- fi
- if test -f 'nocol-3.0/src/noclog/newtest.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/noclog/newtest.c'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/noclog/newtest.c'\" \(1155 characters\)
- sed "s/^X//" >'nocol-3.0/src/noclog/newtest.c' <<'END_OF_FILE'
- X/* $Header: /home/aggarwal/lsrc/nocol/src/noclog/RCS/newtest.c,v 1.3 1993/10/30 03:45:20 aggarwal Exp $ */
- X
- X/*
- X * $Log: newtest.c,v $
- X * Revision 1.3 1993/10/30 03:45:20 aggarwal
- X * Added perror()
- X *
- X * Revision 1.2 1993/09/18 23:06:03 aggarwal
- X * Added some logging at E_CRITICAL
- X *
- X * Revision 1.1 1993/03/29 21:25:21 wagner
- X * Initial revision
- X *
- X */
- X
- X#include <stdio.h>
- X#include "nocol.h"
- X
- Xint main(argc, argv)
- X int argc;
- X char **argv;
- X{
- X int n, written;
- X EVENT v;
- X
- X strcpy(v.sender, "NewTester");
- X v.mon = 11;
- X v.day = 29;
- X v.hour = 16;
- X v.min = 0;
- X v.severity = E_ERROR;
- X v.loglevel = E_ERROR;
- X v.nocop = 0;
- X strcpy(v.site.name, "There");
- X strcpy(v.site.addr, "You.there.net");
- X strcpy(v.var.name, "Len");
- X v.var.value = 3;
- X v.var.threshold = 0;
- X strcpy(v.var.units, "meters");
- X
- X if (argc > 1)
- X n = atoi(argv[1]);
- X else
- X n = 100;
- X openeventlog();
- X for (written=0; written < n; written++)
- X {
- X v.var.value = written ;
- X if (eventlog(&v) < 0)
- X {
- X perror("eventlog") ;
- X break;
- X }
- X }
- X fprintf(stderr, "DEBUG: %d/%d records written.\n", written, n);
- X
- X v.loglevel = E_CRITICAL ;
- X eventlog(&v);
- X closeeventlog();
- X return(0);
- X}
- END_OF_FILE
- if test 1155 -ne `wc -c <'nocol-3.0/src/noclog/newtest.c'`; then
- echo shar: \"'nocol-3.0/src/noclog/newtest.c'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/noclog/newtest.c'
- fi
- if test -f 'nocol-3.0/src/noclog/noclogd-confg' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/noclog/noclogd-confg'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/noclog/noclogd-confg'\" \(635 characters\)
- sed "s/^X//" >'nocol-3.0/src/noclog/noclogd-confg' <<'END_OF_FILE'
- X## $Id: noclogd-confg,v 1.3 1993/10/11 15:18:33 aggarwal Exp $
- X##
- X## Config file for nocol logging daemon (noclogd)
- X##
- X# The following hosts are permitted to log entries to this daemon:
- X# (NOTE: no hostnames, only IP addresses)
- Xpermithosts 127.0.0.1 128.121.50.2 128.121.50.7
- Xpermithosts 128.121.50.141 128.121.50.143
- X##
- X## Give full pathnames in filenames since the daemon changes dir.
- X##
- X## SENDER LEVEL LOGFILE or PIPEFILE
- X##
- X* critical /nocol/logs/critical
- X* error /nocol/logs/error
- X* warning /nocol/logs/warning
- X* info /nocol/logs/info
- X##
- Xtrapmon info /nocol/logs/traps.info
- X#
- Xpingmon critical |/nocol/etc/beep_oncall
- END_OF_FILE
- if test 635 -ne `wc -c <'nocol-3.0/src/noclog/noclogd-confg'`; then
- echo shar: \"'nocol-3.0/src/noclog/noclogd-confg'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/noclog/noclogd-confg'
- fi
- if test -f 'nocol-3.0/src/perlnocol/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/perlnocol/Makefile'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/perlnocol/Makefile'\" \(437 characters\)
- sed "s/^X//" >'nocol-3.0/src/perlnocol/Makefile' <<'END_OF_FILE'
- X# $Id: Makefile,v 1.1 1993/10/30 03:56:45 aggarwal Exp $
- X#
- X
- XPROGS = armon bgpmon bpmon snmp-modemmon modemmon novellmon nrmon \
- X nocollib.pl rcisco
- X
- Xall:
- X @echo "PERLNOCOL modules"
- X @echo " Edit the following monitors manually and set variables:"
- X @echo " ${PROGS}"
- X
- Xinstall:
- X @echo "Install the PERLNOCOL modules (in `pwd`) manually "
- X @echo "See $(SRCDIR)/perlnocol/README for details"
- X
- Xclean:
- X @/bin/rm -f *.pid a.out core
- X
- END_OF_FILE
- if test 437 -ne `wc -c <'nocol-3.0/src/perlnocol/Makefile'`; then
- echo shar: \"'nocol-3.0/src/perlnocol/Makefile'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/perlnocol/Makefile'
- fi
- if test -f 'nocol-3.0/src/perlnocol/bgpmon-confg' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/perlnocol/bgpmon-confg'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/perlnocol/bgpmon-confg'\" \(195 characters\)
- sed "s/^X//" >'nocol-3.0/src/perlnocol/bgpmon-confg' <<'END_OF_FILE'
- X## Config for BGP monitor
- X#
- X#
- X#
- X## Name Address/DNS name
- X##
- Xnomad nomad-gateway
- Xfenchurch fenchurch-gateway
- Xtrillian trillian-gateway
- Xgoldengate goldengate-gateway
- Xunclesam unclesam-gateway
- X#
- END_OF_FILE
- if test 195 -ne `wc -c <'nocol-3.0/src/perlnocol/bgpmon-confg'`; then
- echo shar: \"'nocol-3.0/src/perlnocol/bgpmon-confg'\" unpacked with wrong size!
- fi
- chmod +x 'nocol-3.0/src/perlnocol/bgpmon-confg'
- # end of 'nocol-3.0/src/perlnocol/bgpmon-confg'
- fi
- if test -f 'nocol-3.0/src/perlnocol/bpmon-confg' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/perlnocol/bpmon-confg'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/perlnocol/bpmon-confg'\" \(176 characters\)
- sed "s/^X//" >'nocol-3.0/src/perlnocol/bpmon-confg' <<'END_OF_FILE'
- X# bpmon configuration
- X# You must configure the ethernet address of the machine
- X# nocol is running on:
- X#
- Xhaddr=080020001123
- X#
- X# hostname ipaddress
- X#
- Xmyhost.abc.edu 130.44.44.44
- END_OF_FILE
- if test 176 -ne `wc -c <'nocol-3.0/src/perlnocol/bpmon-confg'`; then
- echo shar: \"'nocol-3.0/src/perlnocol/bpmon-confg'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/perlnocol/bpmon-confg'
- fi
- if test -f 'nocol-3.0/src/perlnocol/mkarmon' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/perlnocol/mkarmon'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/perlnocol/mkarmon'\" \(921 characters\)
- sed "s/^X//" >'nocol-3.0/src/perlnocol/mkarmon' <<'END_OF_FILE'
- X#! /usr/local/bin/perl
- X# $Header: /home/aggarwal/lsrc/nocol/src/perlnocol/RCS/mkarmon,v 1.1 1993/10/15 18:33:36 aggarwal Exp $
- X#
- X# Author: John Wobus, jmwobus@mailbox.syr.edu
- X#
- X# mkarmon - take output of Cisco "show apple route" command and
- X# create lines suitable for armon configuration file (for NOCOL).
- X#
- X# Sample execution command:
- X# rcisco myrouter mypasswd 'show apple route' | mkarmon
- X#
- X# Example lines:
- X# C Net 50-50 directly connected, Ethernet0, zone GES:Sub50
- X# R Net 52 [1/G] via 50.128, 1 sec, Ethernet0, zone GES:Sub50
- X#
- Xsub doline {
- X if($ready =~ /^[RC] Net (\d+(-\d+)?).*((Ethernet|Serial)\d+)\D.*(zone |Zone: ")(\w\S*(\s+\S+)*)"?\s*(Additional zones: (.*) ?)?$/)
- X {
- X $nets=$1;
- X $interface = $3;
- X $zone=$6;
- X $xzones=$8;
- X $interface =~ s/Ethernet/e/ ; $interface =~ s/Serial/s/ ;
- X $item="$nets\t$interface\t$zone";
- X
- X print STDOUT "$item\n";
- X }
- X}
- X
- X
- Xwhile(<>){chop;$ready=$_;&doline;}
- END_OF_FILE
- if test 921 -ne `wc -c <'nocol-3.0/src/perlnocol/mkarmon'`; then
- echo shar: \"'nocol-3.0/src/perlnocol/mkarmon'\" unpacked with wrong size!
- fi
- chmod +x 'nocol-3.0/src/perlnocol/mkarmon'
- # end of 'nocol-3.0/src/perlnocol/mkarmon'
- fi
- if test -f 'nocol-3.0/src/perlnocol/modemmon-confg' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/perlnocol/modemmon-confg'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/perlnocol/modemmon-confg'\" \(316 characters\)
- sed "s/^X//" >'nocol-3.0/src/perlnocol/modemmon-confg' <<'END_OF_FILE'
- X## Config for modemmon (modem line usage monitor)
- X#
- X# If the number of lines in use equal or exceed the values here, the
- X# severity will be escalated to the level the value indicates.
- X#
- X#
- X## Name Address Warning-#lines Error-#lines Critical-#lines
- X##
- Xmozart 161.58.1.5 7 9 10
- Xringo 192.67.236.1 10 12 15
- END_OF_FILE
- if test 316 -ne `wc -c <'nocol-3.0/src/perlnocol/modemmon-confg'`; then
- echo shar: \"'nocol-3.0/src/perlnocol/modemmon-confg'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/perlnocol/modemmon-confg'
- fi
- if test -f 'nocol-3.0/src/perlnocol/novellmon-confg' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/perlnocol/novellmon-confg'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/perlnocol/novellmon-confg'\" \(139 characters\)
- sed "s/^X//" >'nocol-3.0/src/perlnocol/novellmon-confg' <<'END_OF_FILE'
- X# novellmon configuration
- X#
- X#
- X# A Cisco router from which to steal the info:
- X#
- Xrouter=mycisco
- X#
- X# Server Type
- X#
- XABC 4
- XDEF 4
- XABC 47
- XXYZ 47
- END_OF_FILE
- if test 139 -ne `wc -c <'nocol-3.0/src/perlnocol/novellmon-confg'`; then
- echo shar: \"'nocol-3.0/src/perlnocol/novellmon-confg'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/perlnocol/novellmon-confg'
- fi
- if test -f 'nocol-3.0/src/pingmon/README' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/pingmon/README'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/pingmon/README'\" \(223 characters\)
- sed "s/^X//" >'nocol-3.0/src/pingmon/README' <<'END_OF_FILE'
- XIn case you have a weird 'ping' that does not give output similar to the
- Xone described below, a public domain version of the program is in 'support'.
- X
- XFor IP, you might want to use 'multiping' instead (in the support dir).
- END_OF_FILE
- if test 223 -ne `wc -c <'nocol-3.0/src/pingmon/README'`; then
- echo shar: \"'nocol-3.0/src/pingmon/README'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/pingmon/README'
- fi
- if test -f 'nocol-3.0/src/pingmon/ipnodes' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/pingmon/ipnodes'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/pingmon/ipnodes'\" \(737 characters\)
- sed "s/^X//" >'nocol-3.0/src/pingmon/ipnodes' <<'END_OF_FILE'
- X## Config file for ippingmon.
- X##
- X# Can also mark a site as TEST
- X# POLLINTERVAL is number of seconds between each poll cycle.
- X##
- X
- XPOLLINTERVAL 300
- X
- X# JVNC hosts
- Xnisc 128.121.50.7
- Xtigger 128.121.50.145 test
- Xr2d2 128.121.50.2
- Xmickey 128.121.50.143
- Xminnie 128.121.50.141
- X#
- X# Backbone routers
- Xzaphod-icedtea 130.94.12.249
- Xairport1_eth 130.94.7.1
- Xairport1-zaphod 130.94.6.250
- Xairport1-ocean1 130.94.29.250
- Xairport2_eth 130.94.7.2
- Xairport2-cheese 130.94.35.250
- Xairport3_eth 130.94.7.3
- Xcheesesteak1 130.94.34.250
- Xcheesesteak1 130.94.35.249
- Xcircus_eth 130.94.22.1
- Xcircus-icedtea 130.94.13.250
- Xcircus-preppy 130.94.21.249
- Xcircus-storrs 130.94.22.249
- Xstorrs_eth 130.94.19.1
- Xstorrs-circus 130.94.22.250
- Xiced_tea_eth 130.94.13.1
- END_OF_FILE
- if test 737 -ne `wc -c <'nocol-3.0/src/pingmon/ipnodes'`; then
- echo shar: \"'nocol-3.0/src/pingmon/ipnodes'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/pingmon/ipnodes'
- fi
- if test -f 'nocol-3.0/src/portmon/portmon-confg' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/portmon/portmon-confg'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/portmon/portmon-confg'\" \(817 characters\)
- sed "s/^X//" >'nocol-3.0/src/portmon/portmon-confg' <<'END_OF_FILE'
- X# Config file for portmon nocol monitor
- X#
- X# Order is important... the first substring match will return and NOT
- X# test the remaining strings. Put the high severity tests first.
- X#
- X# Format:
- X# POLLINTERVAL 600
- X# HOST <name> <addr> <variable> <port#> <failseverity> [send-string]
- X# [maxseverity response]
- X# [maxseverity response]
- X# HOST ....
- X#
- X##
- XPOLLINTERVAL 600
- X#
- XHOST tigger 128.121.50.145 NEWSport 119 Critical
- Xinfo posting ok
- X#
- XHOST nisc 128.121.50.7 NEWSport 119 Error
- Xinfo posting ok
- X
- X# for innd. Checking for 'no space' 'expire running' 'bad article file'
- XHOST c3po 192.41.171.5 NEWSport 119 Critical
- Xcritical space
- Xinfo expire
- Xcritical Bad file number writing history file -- throttling
- Xinfo posting ok
- Xinfo no posting
- X#
- XHOST nisc 128.121.50.7 SMTPport 25 Critical helo
- Xinfo 250
- X#
- X
- END_OF_FILE
- if test 817 -ne `wc -c <'nocol-3.0/src/portmon/portmon-confg'`; then
- echo shar: \"'nocol-3.0/src/portmon/portmon-confg'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/portmon/portmon-confg'
- fi
- if test -f 'nocol-3.0/src/support/README' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/support/README'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/support/README'\" \(52 characters\)
- sed "s/^X//" >'nocol-3.0/src/support/README' <<'END_OF_FILE'
- XUSE MULTIPING. mping is here for completeness only.
- END_OF_FILE
- if test 52 -ne `wc -c <'nocol-3.0/src/support/README'`; then
- echo shar: \"'nocol-3.0/src/support/README'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/support/README'
- fi
- if test -f 'nocol-3.0/src/support/mping/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/support/mping/Makefile'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/support/mping/Makefile'\" \(346 characters\)
- sed "s/^X//" >'nocol-3.0/src/support/mping/Makefile' <<'END_OF_FILE'
- XLIBDIR =
- XLIBS =
- XCFLAGS =-g
- X
- XALSO = README Makefile spqr.doc
- XSRCS = $(ALSO) Makefile mping.c msummary msummary.dat spqr.c
- X
- XALL: mping spqr
- X
- Xmping: mping.o
- X cc $(CFLAGS) $(LDFLAGS) mping.o ; mv a.out $@
- X
- Xspqr: spqr.o
- X cc $(CFLAGS) $(LDFLAGS) spqr.o ; mv a.out $@
- X
- Xspqr.tar: $(SRCS)
- X tar cf $@ $(SRCS)
- X
- Xclean:
- X /bin/rm -f *.o core a.out mping spqr
- END_OF_FILE
- if test 346 -ne `wc -c <'nocol-3.0/src/support/mping/Makefile'`; then
- echo shar: \"'nocol-3.0/src/support/mping/Makefile'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/support/mping/Makefile'
- fi
- if test -f 'nocol-3.0/src/support/mping/README' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/support/mping/README'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/support/mping/README'\" \(1117 characters\)
- sed "s/^X//" >'nocol-3.0/src/support/mping/README' <<'END_OF_FILE'
- XSetting up SPQR on your favorite UNIX system
- X--------------------------------------------
- X
- XFirst, you have to get a reasonably modern version of perl up. SPQR
- Xwas developed using Perl 4.0, but I don't think it depends on any
- Xfeatures not present in 3.0. Perl can be obtained using anonymous
- XFTP from:
- X
- X Host: jpl-devvax.jpl.nasa.gov
- X Directory: ~ftp/pub
- X
- XNext you have to build the binary "mping". This was developed on
- Xa Sun SparcStation and hasn't been tested on other environments.
- X"mping" either needs to be SUID root, or run from a process with
- Xroot priviliges.
- X
- XThen you have to create a configuration file, using the included
- X"msummary.dat" as a template. Having created a configuration
- Xfile, you can test mping by:
- X
- X mping [ -v ] < msummary.dat
- X
- XOnce this works, edit the "msummary" Perl script if necessary to
- Xpoint to the location of your perl binary. Then crank up
- X"msummary"!!!.
- X
- X
- XThis will create the file "msummary.out" and update it once every
- X60 seconds. A very simple program to view this file can be
- Xbuilt from the "spqr.c" source. It is intended to run as a
- Xlogon shell for a special user.
- END_OF_FILE
- if test 1117 -ne `wc -c <'nocol-3.0/src/support/mping/README'`; then
- echo shar: \"'nocol-3.0/src/support/mping/README'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/support/mping/README'
- fi
- if test -f 'nocol-3.0/src/support/mping/msummary.out' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/support/mping/msummary.out'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/support/mping/msummary.out'\" \(277 characters\)
- sed "s/^X//" >'nocol-3.0/src/support/mping/msummary.out' <<'END_OF_FILE'
- X 9:59:50 Iter: 1 Cycle: 0 current avg. 5 avg. 15 avg. 60
- XSystem Name IP Address bad RTT bad RTT bad RTT bad RTT RPT
- X------------------ --------------- --- ----- --- ----- --- ----- --- ----- ---
- X0 entries skipped for all-0 error averages
- X
- END_OF_FILE
- if test 277 -ne `wc -c <'nocol-3.0/src/support/mping/msummary.out'`; then
- echo shar: \"'nocol-3.0/src/support/mping/msummary.out'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/support/mping/msummary.out'
- fi
- if test -f 'nocol-3.0/src/support/mping/smooth.pl' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/support/mping/smooth.pl'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/support/mping/smooth.pl'\" \(1106 characters\)
- sed "s/^X//" >'nocol-3.0/src/support/mping/smooth.pl' <<'END_OF_FILE'
- X#! /usr/local/bin/perl
- X
- X
- X
- X#
- X# These values were empiricially arrived at. They differ markedly
- X# from those used in the UNIX kernal to smooth load averages. Those
- X# values result in averages over much longer intervals than the comments
- X# indicate.
- X#
- X# 0.00499999999999999 is the value such that when multiplied by the
- X# maximum valid data value (100) produces a result less than 0.5.
- X# The three values are the 5th, 15th, and 60th roots respectively.
- X#
- X@exp = (
- X 0.3465724216, # 5 intervals [0.0049999999999**(1/5)]
- X 0.7024218302, # 15 intervals [0.0049999999999**(1/15)]
- X 0.9154813473, # 60 intervals [0.0049999999999**(1/60)]
- X
- X);
- X@invexp = (
- X 1.0 - $exp[0],
- X 1.0 - $exp[1],
- X 1.0 - $exp[2],
- X);
- X
- X#
- X# Smooth a value over three intervals, depending on the value
- X# of the @exp array above. Change the averages in-place and
- X# return an array of rounded values.
- X#
- Xsub smooth {
- X local (@tmp);
- X local ($val) = $_[3];
- X local ($i);
- X
- X foreach $i (0 .. 2) {
- X $_[$i] = ($_[$i]*$exp[$i] + $invexp[$i]*$val) ;
- X }
- X
- X # round to nearest whole value
- X @tmp = @_[0..2];
- X foreach (@tmp) { $_ += 0.5; }
- X
- X return @tmp;
- X}
- END_OF_FILE
- if test 1106 -ne `wc -c <'nocol-3.0/src/support/mping/smooth.pl'`; then
- echo shar: \"'nocol-3.0/src/support/mping/smooth.pl'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/support/mping/smooth.pl'
- fi
- if test -f 'nocol-3.0/src/support/mping/spqr.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/support/mping/spqr.c'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/support/mping/spqr.c'\" \(786 characters\)
- sed "s/^X//" >'nocol-3.0/src/support/mping/spqr.c' <<'END_OF_FILE'
- X/* view an output file
- X */
- X#include <stdio.h>
- X#include <sys/types.h>
- X#include <sys/stat.h>
- X
- Xtime_t getModTime();
- Xchar* viewFile = "msummary.out";
- X
- Xmain (argc, argv)
- Xint argc;
- Xchar** argv;
- X{
- X int f;
- X time_t lastDump = 0, modTime;
- X
- X if ((f = open (viewFile, 0)) < 0) {
- X perror (viewFile);
- X exit (1);
- X }
- X
- X for (;;) {
- X modTime = getModTime (f);
- X if (modTime > lastDump) {
- X lastDump = modTime;
- X dumpFile (f, 1);
- X }
- X sleep (10);
- X }
- X}
- X
- Xtime_t
- XgetModTime(f)
- Xint f;
- X{
- X struct stat sbuf;
- X
- X return fstat (f, &sbuf) < 0
- X ? (perror("fstat"), exit (1))
- X : sbuf.st_mtime;
- X}
- X
- XdumpFile (fin, fout)
- Xint fin, fout;
- X{
- X char buf[BUFSIZ];
- X int n;
- X
- X lseek (fin, 0L, 0);
- X while ((n = read (fin, buf, sizeof buf)) > 0) {
- X if (write (fout, buf, n) != n) {
- X perror ("write");
- X exit (1);
- X }
- X }
- X}
- END_OF_FILE
- if test 786 -ne `wc -c <'nocol-3.0/src/support/mping/spqr.c'`; then
- echo shar: \"'nocol-3.0/src/support/mping/spqr.c'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/support/mping/spqr.c'
- fi
- if test -f 'nocol-3.0/src/support/mping/t1.pl' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/support/mping/t1.pl'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/support/mping/t1.pl'\" \(308 characters\)
- sed "s/^X//" >'nocol-3.0/src/support/mping/t1.pl' <<'END_OF_FILE'
- X$fmt = "d12";
- X
- X@ary = (1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233);
- X$dat1 = 1.0;
- X$dat2 = 2.2;
- X$dat3 = 3.3;
- X$v = pack ($fmt, $dat1, $dat2, $dat3, @ary);
- X@tv = unpack ($fmt, $v);
- X
- Xprint "check of tv = (@tv)\n";
- X
- X$db{"foo"} = $v;
- X
- X$v1 = $db{"foo"};
- X
- X@tv1 = unpack ($fmt, $v1);
- Xprint "check of tv1 = (@tv1)\n";
- END_OF_FILE
- if test 308 -ne `wc -c <'nocol-3.0/src/support/mping/t1.pl'`; then
- echo shar: \"'nocol-3.0/src/support/mping/t1.pl'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/support/mping/t1.pl'
- fi
- if test -f 'nocol-3.0/src/support/multiping/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/support/multiping/Makefile'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/support/multiping/Makefile'\" \(413 characters\)
- sed "s/^X//" >'nocol-3.0/src/support/multiping/Makefile' <<'END_OF_FILE'
- X# $Header: /home/aggarwal/lsrc/nocol/src/support/multiping/RCS/Makefile,v 1.2 1993/10/31 05:04:06 aggarwal Exp $
- X#
- XCFLAGS = -g
- X
- Xall: multiping
- X
- Xclean:
- X rm -f a.out core *.o multiping
- X
- Xmultiping: multiping.o pingmisc.o
- X $(CC) $(CFLAGS) -o multiping multiping.o pingmisc.o
- X
- Xinstall: multiping
- X chown root multiping ; chmod 4711 multiping
- X
- Xmultiping.o: multiping.c multiping.h vars.h
- Xpingmisc.o: multiping.h vars.h
- END_OF_FILE
- if test 413 -ne `wc -c <'nocol-3.0/src/support/multiping/Makefile'`; then
- echo shar: \"'nocol-3.0/src/support/multiping/Makefile'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/support/multiping/Makefile'
- fi
- if test -f 'nocol-3.0/src/support/multiping/README' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/support/multiping/README'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/support/multiping/README'\" \(101 characters\)
- sed "s/^X//" >'nocol-3.0/src/support/multiping/README' <<'END_OF_FILE'
- XThis version of ping can ping multiple sites at the same time
- X(upto 128). Use -t for tabular output.
- END_OF_FILE
- if test 101 -ne `wc -c <'nocol-3.0/src/support/multiping/README'`; then
- echo shar: \"'nocol-3.0/src/support/multiping/README'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/support/multiping/README'
- fi
- if test -f 'nocol-3.0/src/support/multiping/vars.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/support/multiping/vars.h'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/support/multiping/vars.h'\" \(272 characters\)
- sed "s/^X//" >'nocol-3.0/src/support/multiping/vars.h' <<'END_OF_FILE'
- X/*
- X * vars.h -- global variables for multiping
- X */
- X
- X#ifdef GLOBALS
- X#define EXTERN
- X#else
- X#define EXTERN extern
- X#endif
- X
- XEXTERN int numsites; /* # of sites being polled */
- XEXTERN int datalen; /* data length */
- XEXTERN destrec *dest[MAXREMOTE]; /* remote sites to ping */
- END_OF_FILE
- if test 272 -ne `wc -c <'nocol-3.0/src/support/multiping/vars.h'`; then
- echo shar: \"'nocol-3.0/src/support/multiping/vars.h'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/support/multiping/vars.h'
- fi
- if test -f 'nocol-3.0/src/tpmon/tpmon-confg' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/tpmon/tpmon-confg'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/tpmon/tpmon-confg'\" \(661 characters\)
- sed "s/^X//" >'nocol-3.0/src/tpmon/tpmon-confg' <<'END_OF_FILE'
- X# $Id: tpmon-confg,v 1.2 1992/06/12 21:13:38 aggarwal Exp $
- X#
- X# Config file for 'tpmon' - throughput monitor
- X#
- X# The program connects to the discard port (port 9) of the listed machines
- X# and transfers data for 30 seconds to measure the thruput. It then sleeps
- X# for POLLINTERVAL seconds.
- X# Sleep for 2 hours between polls
- X
- XPOLLINTERVAL 7200
- X
- X
- X# If the thruput (in bits per second) falls below the threshold, it raises
- X# the severity to WARNING level. you can use the 'tptest' program to see
- X# the typical thruput to a site.
- X#
- X# <hostname> <ip address> <threshold in Kbps> [TEST]
- X#
- X
- Xnisc 128.121.50.7 2000
- Xbonehead 128.121.50.140 2000
- Xrutgers 128.6.7.38 100
- END_OF_FILE
- if test 661 -ne `wc -c <'nocol-3.0/src/tpmon/tpmon-confg'`; then
- echo shar: \"'nocol-3.0/src/tpmon/tpmon-confg'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/tpmon/tpmon-confg'
- fi
- if test -f 'nocol-3.0/src/utility/Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/utility/Makefile'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/utility/Makefile'\" \(820 characters\)
- sed "s/^X//" >'nocol-3.0/src/utility/Makefile' <<'END_OF_FILE'
- X# $Id: Makefile,v 1.2 1993/10/30 03:31:59 aggarwal Exp $
- X
- X## To compile all the 'misc' utility programs for nocol
- X#
- XTOP = /usr/nocol
- XSRCDIR = $(TOP)/src
- X
- XBINDIR = $(TOP)/bin
- XETCDIR = $(TOP)/etc
- XINCLUDEDIR = $(SRCDIR)/include
- XLIBDIR = $(SRCDIR)/lib
- X
- XINSTALL = install
- X
- XPROGS = display_nocol_datafile
- XOBJS = display_nocol_datafile.o
- XINCLUDES = nocol.h
- X
- XCC = cc
- XCFLAGS= -g -I$(INCLUDEDIR) -L$(LIBDIR) -I../include -L../lib
- XCDEFS= -DTEST
- XLIBS = -lnocol $(SYSLIBS)
- X
- Xall: $(PROGS)
- X
- X$(PROGS): $(OBJS)
- X $(CC) $(CFLAGS) $@.o $(LIBS) -o $@
- X
- X.c.o:
- X $(CC) -c $(CFLAGS) $(CDEFS) $<
- X
- Xinstall: $(PROGS)
- X $(INSTALL) -c -m 751 $(PROGS) $(BINDIR)/
- X - for f in keepalive_monitors notifier ; do \
- X [ -f $(BINDIR)/$$f ] || $(INSTALL) -c -m 751 $$f $(BINDIR)/ ; \
- X done
- X
- Xclean:
- X /bin/rm -f $(PROGS) core *.o
- END_OF_FILE
- if test 820 -ne `wc -c <'nocol-3.0/src/utility/Makefile'`; then
- echo shar: \"'nocol-3.0/src/utility/Makefile'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/utility/Makefile'
- fi
- if test -f 'nocol-3.0/src/utility/display_nocol_datafile.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/utility/display_nocol_datafile.c'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/utility/display_nocol_datafile.c'\" \(893 characters\)
- sed "s/^X//" >'nocol-3.0/src/utility/display_nocol_datafile.c' <<'END_OF_FILE'
- X/*+
- X** $Header: /home/aggarwal/lsrc/nocol/src/utility/RCS/display_nocol_datafile.c,v 1.4 1993/10/19 17:06:37 aggarwal Exp $
- X**/
- X
- X/*+
- X** This module displays the NOCOL EVENT structure.
- X**/
- X
- X#include "nocol.h"
- X
- X#include <stdio.h>
- X#include <sys/file.h>
- X
- Xmain(ac, av)
- X char **av ;
- X int ac ;
- X{
- X while (--ac)
- X display_nocol_datafile(*++av) ;
- X}
- X
- X
- Xdisplay_nocol_datafile(file)
- X char *file;
- X{
- X EVENT v;
- X int bufsize, fd;
- X
- X if ( (fd = open (file, O_RDONLY)) < 0)
- X {
- X fprintf (stderr, "Error in opening file %s\n", file);
- X perror((char *) NULL);
- X return (1);
- X }
- X fprintf (stdout, "::::: %s ::::\n\n", file);
- X
- X while ((bufsize=read (fd, (char *)&v, sizeof(v))) == sizeof(v))
- X printf("%s\n", (char *)event_to_logstr(&v));
- X
- X if (bufsize != 0) /* Error */
- X fprintf (stderr, "Invalid data in %s\n", file);
- X
- X} /* end: display_nocol_datafile */
- END_OF_FILE
- if test 893 -ne `wc -c <'nocol-3.0/src/utility/display_nocol_datafile.c'`; then
- echo shar: \"'nocol-3.0/src/utility/display_nocol_datafile.c'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/utility/display_nocol_datafile.c'
- fi
- if test -f 'nocol-3.0/src/utility/myinstall' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/utility/myinstall'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/utility/myinstall'\" \(792 characters\)
- sed "s/^X//" >'nocol-3.0/src/utility/myinstall' <<'END_OF_FILE'
- X#!/bin/sh
- X
- X## Alternate for the old 'install' program which could understand the
- X# good old syntax- 'install -c -m <mode> file file file dest
- X# Dunno why these OS folks had to change things so drastically!!
- X#
- X# -vikas@jvnc.net Oct 1993
- X#
- X
- XMODE=755
- X
- X# I run the check for '-m' twice in case its been specified after -c option
- X#
- Xif [ "$1" = "-m" ]; then
- X MODE=$2
- X shift ; shift
- Xfi
- Xif [ "$1" = "-c" ]; then
- X shift ; # ignore
- Xfi
- Xif [ "$1" = "-m" ]; then
- X MODE=$2
- X shift ; shift
- Xfi
- X
- X###
- X###
- Xif [ $# -eq 0 ]; then
- X echo "Nothing to install"
- X exit 1
- Xfi
- X
- Xwhile [ $# -gt 1 ]
- Xdo
- X FILES="$FILES $1"
- X shift
- Xdone
- X
- XDEST=$1
- X
- Xecho "myinstall: Installing $FILES to $DEST"
- X
- Xcp $FILES $DEST
- Xif [ -d "$DEST" ]; then
- X ( cd "$DEST" ; chmod $MODE $FILES )
- Xelif [ -f "$DEST" ]; then
- X chmod $MODE $DEST
- Xfi
- END_OF_FILE
- if test 792 -ne `wc -c <'nocol-3.0/src/utility/myinstall'`; then
- echo shar: \"'nocol-3.0/src/utility/myinstall'\" unpacked with wrong size!
- fi
- chmod +x 'nocol-3.0/src/utility/myinstall'
- # end of 'nocol-3.0/src/utility/myinstall'
- fi
- if test -f 'nocol-3.0/src/utility/notifier' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/utility/notifier'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/utility/notifier'\" \(894 characters\)
- sed "s/^X//" >'nocol-3.0/src/utility/notifier' <<'END_OF_FILE'
- X#!/bin/csh -f
- X#
- X# $Header: /home/aggarwal/lsrc/nocol/src/utility/RCS/notifier,v 1.1 1993/10/15 13:41:48 aggarwal Exp $
- X#
- X# program to notify when site is down (in pingmon) for extended period
- X# of time in NOCOL.
- X#
- X# -vikas@jvnc.net, Oct 1993
- X#
- Xset TEMP = "/tmp/notifier.$$"
- Xset PROG = /nocol/bin/eventselect
- X
- Xset DATA = "/nocol/data/ippingmon-output"
- Xset TO2 = "vikas@jvnc.net waters@jvnc.net"
- Xset TO3 = "vikas@jvnc.net waters@jvnc.net marcus@jvnc.net"
- X
- Xif ( ! -x ${PROG} ) exit 1
- X
- X${PROG} -v critical -f +10800 -t +7200 ${DATA} > ${TEMP}
- X
- Xif ( -z ${TEMP} ) then
- X /bin/rm -f ${TEMP}
- Xelse
- X cat ${TEMP} | /usr/ucb/mail -s "Sites down for 2-3 hours" ${TO2}
- X /bin/rm -f ${TEMP}
- Xendif
- X
- X##
- X##
- X${PROG} -v critical -f +14400 -t +10800 ${DATA} > ${TEMP}
- X
- Xif ( -z ${TEMP} ) then
- X /bin/rm -f ${TEMP}
- Xelse
- X cat ${TEMP} | /usr/ucb/mail -s "Sites down for 3-4 hours" ${TO3}
- X /bin/rm -f ${TEMP}
- Xendif
- X
- END_OF_FILE
- if test 894 -ne `wc -c <'nocol-3.0/src/utility/notifier'`; then
- echo shar: \"'nocol-3.0/src/utility/notifier'\" unpacked with wrong size!
- fi
- chmod +x 'nocol-3.0/src/utility/notifier'
- # end of 'nocol-3.0/src/utility/notifier'
- fi
- if test -f 'nocol-3.0/src/utility/show_nocol_struct_sizes.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/utility/show_nocol_struct_sizes.c'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/utility/show_nocol_struct_sizes.c'\" \(341 characters\)
- sed "s/^X//" >'nocol-3.0/src/utility/show_nocol_struct_sizes.c' <<'END_OF_FILE'
- X#include "../include/nocol.h"
- X
- Xmain()
- X{
- X EVENT v;
- X
- X printf("sender: %d, site= %d, var= %d, mon= %d %d %d %d, severity= %d %d, nocop= %d, total= %d\n",
- X sizeof v.sender, sizeof v.site, sizeof v.var,
- X sizeof v.mon, sizeof v.day, sizeof v.hour, sizeof v.min,
- X sizeof v.severity, sizeof v.loglevel, sizeof v.nocop, sizeof v) ;
- X}
- END_OF_FILE
- if test 341 -ne `wc -c <'nocol-3.0/src/utility/show_nocol_struct_sizes.c'`; then
- echo shar: \"'nocol-3.0/src/utility/show_nocol_struct_sizes.c'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/utility/show_nocol_struct_sizes.c'
- fi
- if test -f 'nocol-3.0/src/version.h' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'nocol-3.0/src/version.h'\"
- else
- echo shar: Extracting \"'nocol-3.0/src/version.h'\" \(1293 characters\)
- sed "s/^X//" >'nocol-3.0/src/version.h' <<'END_OF_FILE'
- X/*
- X * $Id: version.h,v 3.0 1993/10/30 00:07:44 aggarwal Exp $
- X */
- X
- X/*
- X Copyright 1993 JvNCnet, Global Enterprise Services
- X
- X Permission to use, copy, modify and distribute this software and its
- X documentation for any purpose is hereby granted without fee, provided
- X that the above copyright notice appear in all copies and that both
- X that copyright notice and this permission notice appear in supporting
- X documentation, and that the name of JvNCnet or Global Enterprise
- X Services not be used in advertising or publicity pertaining to
- X distribution of the software without specific, written prior
- X permission. Global Enterprise Services makes no representations about
- X the suitability of this software for any purpose. It is provided "as
- X is" without express or implied warranty.
- X
- X GLOBAL ENTERPRISE SERVICES DISCLAIMS ALL WARRANTIES WITH REGARD TO
- X THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
- X FITNESS. IN NO EVENT SHALL GLOBAL ENTERPRISE SERVICES BE LIABLE FOR
- X ANY DAMAGES WHATSOEVER, INCLUDING DAMAGES RESULTING FROM LOSS OF USE,
- X DATA OR PROFITS, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- X OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- X*/
- X
- X#ifndef _NOCOLVERSION_
- X static char version[] = "$Revision: 3.0 $" ;
- X#endif
- END_OF_FILE
- if test 1293 -ne `wc -c <'nocol-3.0/src/version.h'`; then
- echo shar: \"'nocol-3.0/src/version.h'\" unpacked with wrong size!
- fi
- # end of 'nocol-3.0/src/version.h'
- fi
- echo shar: End of archive 26 \(of 26\).
- cp /dev/null ark26isdone
- MISSING=""
- for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ; do
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked all 26 archives.
- rm -f ark[1-9]isdone ark[1-9][0-9]isdone
- else
- echo You still must unpack the following archives:
- echo " " ${MISSING}
- fi
- exit 0
- exit 0 # Just in case...
-