diff options
author | agc <agc> | 1998-07-24 13:36:52 +0000 |
---|---|---|
committer | agc <agc> | 1998-07-24 13:36:52 +0000 |
commit | 347ce9f574bc3af132d3ddc79f6c6a66a81f5017 (patch) | |
tree | b2147119d68edb47dcdc8f445fd582b80e65efa2 | |
parent | d94d672a601cce83e0a0c2a4e54f78377c575848 (diff) | |
download | pkgsrc-347ce9f574bc3af132d3ddc79f6c6a66a81f5017.tar.gz |
Initial import of nocol-4.2b6, "an extensible network and system
monitoring utility" into the NetBSD packages collection.
-rw-r--r-- | net/nocol/Makefile | 25 | ||||
-rw-r--r-- | net/nocol/files/answers | 11 | ||||
-rw-r--r-- | net/nocol/files/md5 | 1 | ||||
-rw-r--r-- | net/nocol/patches/patch-aa | 16 | ||||
-rw-r--r-- | net/nocol/patches/patch-ab | 23 | ||||
-rw-r--r-- | net/nocol/patches/patch-ac | 10 | ||||
-rw-r--r-- | net/nocol/pkg/COMMENT | 1 | ||||
-rw-r--r-- | net/nocol/pkg/DESCR | 103 | ||||
-rw-r--r-- | net/nocol/pkg/PLIST | 92 |
9 files changed, 282 insertions, 0 deletions
diff --git a/net/nocol/Makefile b/net/nocol/Makefile new file mode 100644 index 00000000000..c11af9c8336 --- /dev/null +++ b/net/nocol/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 1998/07/24 13:36:52 agc Exp $ +# + +DISTNAME= nocol-4.2beta6 +PKGNAME= nocol-4.2b6 +CATEGORIES= net +MASTER_SITES= ftp://ftp.navya.com/pub/vikas/ + +MAINTAINER= packages@netbsd.org + +USE_PERL= yes + +INSTALL_TARGET= install root + +.ifndef FQDN +FQDN!= /usr/sbin/host `/bin/hostname` | /usr/bin/awk '{ print $$1; exit }' +.endif + +post-patch: + @${SED} -e 's|@prefix@|${PREFIX}|g' -e 's|@FQDN@|${FQDN}|g' ${FILESDIR}/answers > ${WRKSRC}/answers + +do-configure: + (cd ${WRKSRC}; ./Configure < answers) + +.include "../../mk/bsd.pkg.mk" diff --git a/net/nocol/files/answers b/net/nocol/files/answers new file mode 100644 index 00000000000..bedf6374ce6 --- /dev/null +++ b/net/nocol/files/answers @@ -0,0 +1,11 @@ +@prefix@ +@prefix@/man/mann +n +@FQDN@ +/usr/bin/mail +root@@FQDN@ +root@@FQDN@ +cc +-O +yacc +@prefix@/bin/perl diff --git a/net/nocol/files/md5 b/net/nocol/files/md5 new file mode 100644 index 00000000000..6fffcff8da2 --- /dev/null +++ b/net/nocol/files/md5 @@ -0,0 +1 @@ +MD5 (nocol-4.2beta6.tar.gz) = de6a07b6c5cb84f6ab38c8f75d201b04 diff --git a/net/nocol/patches/patch-aa b/net/nocol/patches/patch-aa new file mode 100644 index 00000000000..02c1b4d2500 --- /dev/null +++ b/net/nocol/patches/patch-aa @@ -0,0 +1,16 @@ +--- Makefile.head 1998/07/23 14:17:28 1.1 ++++ Makefile.head 1998/07/23 14:21:04 +@@ -37,11 +37,13 @@ + # DATADIR where datafiles for monitoring programs are created + # MSGSDIR for message files that the nocol display shows in + # in the 'messages' sub-window ++# EXAMPLESDIR directory in which to store example files + BINDIR= $(ROOTDIR)/bin + ETCDIR= $(ROOTDIR)/etc + PIDDIR= $(ROOTDIR)/run + DATADIR= $(ROOTDIR)/data + MSGSDIR= $(ROOTDIR)/msgs ++EXAMPLESDIR= ${ROOTDIR}/share/examples/nocol + + ## + # NOCOL specific definitions: diff --git a/net/nocol/patches/patch-ab b/net/nocol/patches/patch-ab new file mode 100644 index 00000000000..f423f2a6c64 --- /dev/null +++ b/net/nocol/patches/patch-ab @@ -0,0 +1,23 @@ +--- Makefile.mid.orig Thu Dec 18 04:19:01 1997 ++++ Makefile.mid Thu Jul 23 15:41:03 1998 +@@ -64,7 +64,7 @@ + -[ -d $(DATADIR) ] || mkdir $(DATADIR) + -[ -d $(ETCDIR) ] || mkdir $(ETCDIR) + -[ -d $(PIDDIR) ] || mkdir $(PIDDIR) +- -[ -d $(ETCDIR)/samples ] || mkdir $(ETCDIR)/samples ++ -[ -d $(EXAMPLESDIR) ] || mkdir -p $(EXAMPLESDIR) + -[ -d $(BINDIR) ] || mkdir $(BINDIR) + -[ -d $(MSGSDIR) ] || mkdir $(MSGSDIR) + @[ -d $(ROOTDIR) ] && [ -d $(DATADIR) ] && [ -d $(ETCDIR) ] \ +@@ -80,9 +80,9 @@ + ( echo "" ; echo "MAKING IN $$i" ; echo "----------" ; cd $$i ; \ + make $(MFLAGS) install ; ) ;\ + done +- @echo "Installing sample config files under $(ETCDIR)/samples/..." ++ @echo "Installing sample config files under $(EXAMPLESDIR)/..." + @-for i in */*-confg; do \ +- $(INSTALL) -m 444 -c $$i $(ETCDIR)/samples/ ;\ ++ $(INSTALL) -m 444 -c $$i $(EXAMPLESDIR)/ ;\ + done + @echo "" ; echo " NOW su AND DO A make root " + diff --git a/net/nocol/patches/patch-ac b/net/nocol/patches/patch-ac new file mode 100644 index 00000000000..10999404283 --- /dev/null +++ b/net/nocol/patches/patch-ac @@ -0,0 +1,10 @@ +--- Makefile.tail 1998/07/23 14:17:28 1.1 ++++ Makefile.tail 1998/07/23 14:22:07 +@@ -14,6 +14,7 @@ + @[ -d $(BINDIR) ] || mkdir $(BINDIR) + @[ -d $(DATADIR) ] || mkdir $(DATADIR) + @[ -d $(MSGSDIR) ] || mkdir $(MSGSDIR) ++ @[ -d $(EXAMPLESDIR) ] || mkdir -p $(EXAMPLESDIR) + + depend: + mkdep $(CFLAGS) `echo $(OBJS) | sed 's/\.o[ $]+/\.c/g'` diff --git a/net/nocol/pkg/COMMENT b/net/nocol/pkg/COMMENT new file mode 100644 index 00000000000..27702f8c9ef --- /dev/null +++ b/net/nocol/pkg/COMMENT @@ -0,0 +1 @@ +An extensible network and system monitoring utility. diff --git a/net/nocol/pkg/DESCR b/net/nocol/pkg/DESCR new file mode 100644 index 00000000000..ea05667704a --- /dev/null +++ b/net/nocol/pkg/DESCR @@ -0,0 +1,103 @@ +This document is taken from: + +Header: /home/vikas/src/nocol/RCS/README,v 4.0 1994/11/29 20:21:33 vikas Exp vikas + +README for NOCOL/NetConsole v4.2 +=========================== + +NOCOL/NetConsole (Network Operation Center On-Line) is a network monitoring +package that runs on Unix platforms and is capable of monitoring network and +system variables such as ICMP or RPC reachability, RMON variables, +nameservers, ethernet load, port reachability, host performance, SNMP traps, +modem line usage, appletalk & novell routes/services, BGP peers, syslog +files, etc. The software is extensible and new monitors can be added easily. + +The software consists of a number of individual, standalone monitoring agents +that poll the various network and system parameters and put it into a common +data format. All the monitors have a common display and postprocessing +interface (such as logging, notification, etc.). The design allows running +just one set of monitoring agents and *any* number of display agents, and all +of the displays see the same consistent set of data. Additionally, each event +is assigned a severity (determined by comparing against user defined threshold +values) which is gradually escalated, thus preventing false alarms and a +customized priority notification based on the severity. There are four +severity levels ranging from Critical thru Info, and each event typically +steps through each one of these severities until it reaches its maximum +allowed level. + +The display uses UNIX 'curses' screen management and can thus run on a large +variety of terminals. The user running the display can select the minimum +display severity- only events above this minimum severity level are displayed. + +A Web interface has also been added which uses the HTML REFRESH meta tag for +displaying the nocol events. + +To date, the various monitoring agents developed are: + + - IP ICMP monitor (using IP 'multiping') + - OSI reachability monitor (using OSI ping) + - RPC portmapper monitor (using 'rpcping') + - Ethernet load (bandwidth & pps) + - TCP port monitor + - Unix host performance (disks, memory, swap, load, nfs, collisions) + - SNMP variables monitor (RMON, Cisco router, terminal server) + - TCP data throughput monitor + - Nameserver (named) + - SNMP traps + - Syslog logfile monitor (for specified patterns) + - NTP stratum of hosts (Network Time Protocol) + - UPS (APC) battery level monitor + - Usage of terminal server modem lines (busy lines) + - Appletalk route monitor (for cisco routers) + - Novell service monitor + - BGP peer status + +A PERL interface is available for developing additional monitors in the PERL +programming language (it is fairly easy to add additional monitors to the +package). + +The logging daemon can be interfaced with a paging program such as +'sendpage' (ftp://ftp.net.ohio-state.edu/pub/pagers/). + +New features in v4.2 are: +------------------------ + + - Unix syslog file monitor (match any specified regular expression) + - NTP (Network Time Protocol) stratum monitor + - 'mailmon' merged in with 'hostmon-client' + - 'nsmon' can monitor multiple domains + - 'apcmon' for monitoring APC Smart UPS's + - 'ciscomon' for monitoring Cisco router specific parameters + - Web interface for displaying events (www/webnocol) + +New features in v4.0 were: + + - Unix host performance monitor (distributed client) + - SNMP variables monitor + - Ethernet load and packet rate monitor. + - 'rpcpingmon' for checking status of RPC on hosts. + - 'logstats' for generating reports from the log file. + - Major rewrite of large portions of the code. + +New features in v3.0 were: + + - Logging facility (similar to syslogd) + - Perl interface + - TCP port monitor + - Perl appletalk, Novell, BGP, modem line monitors. + + +Has been compiled on Solaris2.2, SunOS4.1.1, Ultrix4.2, BSDI/386. Linux. + +The software is freely available on the Internet from: + http://www.netplex-tech.com/software/nocol or + ftp://ftp.navya.com/pub/vikas/nocol.tar.gz + +Please send a message to 'nocol-users-request@navya.com' to be added to the +'nocol-users' mailing list for updates and bug fixes. Mail comments and +bugs to 'vikas@navya.com'. + + Vikas Aggarwal + (vikas@navya.com) + Jan 1997 + -------- diff --git a/net/nocol/pkg/PLIST b/net/nocol/pkg/PLIST new file mode 100644 index 00000000000..1254c403b2d --- /dev/null +++ b/net/nocol/pkg/PLIST @@ -0,0 +1,92 @@ +@comment $NetBSD: PLIST,v 1.1 1998/07/24 13:36:53 agc Exp $ +bin/snmpwalk +bin/eventselect +bin/etherload +bin/genmon +bin/netconsole +bin/noclogd +bin/nsmon +bin/ntpmon +bin/hostmon-osclients/hostmon-client +bin/hostmon-osclients/hostmon-client.aix +bin/hostmon-osclients/hostmon-client.bsdi +bin/hostmon-osclients/hostmon-client.hpux +bin/hostmon-osclients/hostmon-client.irix5 +bin/hostmon-osclients/hostmon-client.linux +bin/hostmon-osclients/hostmon-client.osf1 +bin/hostmon-osclients/hostmon-client.seds +bin/hostmon-osclients/hostmon-client.solaris2 +bin/hostmon-osclients/hostmon-client.sunos4 +bin/hostmon-osclients/hostmon-client.ultrix +bin/hostmon-osclients/newsys.sh +bin/apcmon +bin/armon +bin/bgpmon +bin/bpmon +bin/ciscomon +bin/modemmon +bin/novellmon +bin/nrmon +bin/nocollib.pl +bin/hostmon +bin/snmpmon +bin/snmpmon-client +bin/syslogmon +bin/xntpdmon +bin/rcisco +bin/ippingmon +bin/osipingmon +bin/rpcpingmon +bin/portmon +bin/tpmon +bin/trapmon +bin/display_nocol_datafile +bin/keepalive_monitors +bin/notifier +bin/log-maint +bin/logstats +bin/crontab.nocol +bin/webnocol.pl +bin/webnocol.html +bin/multiping +bin/rpcping +man/mann/netconsole.n +man/mann/perlnocol.n +man/mann/nocol-prog.n +man/mann/etherload.n +man/mann/eventselect.n +man/mann/genmon.n +man/mann/multiping.n +man/mann/noclogd.n +man/mann/nocol-overview.n +man/mann/nocol-utility.n +man/mann/nsmon.n +man/mann/pingmon.n +man/mann/portmon.n +man/mann/tpmon.n +man/mann/trapmon.n +share/examples/nocol/etherload-confg +share/examples/nocol/noclogd-confg +share/examples/nocol/nsmon-confg +share/examples/nocol/ntpmon-confg +share/examples/nocol/apcmon-confg +share/examples/nocol/armon-confg +share/examples/nocol/bgpmon-confg +share/examples/nocol/bpmon-confg +share/examples/nocol/hostmon-confg +share/examples/nocol/modemmon-confg +share/examples/nocol/novellmon-confg +share/examples/nocol/snmpmon-client-confg +share/examples/nocol/snmpmon-confg +share/examples/nocol/syslogmon-confg +share/examples/nocol/ippingmon-confg +share/examples/nocol/rpcpingmon-confg +share/examples/nocol/portmon-confg +share/examples/nocol/tpmon-confg +etc/netconsole-help +etc/mibII.txt +@dirrm bin/hostmon-osclients +@dirrm data +@dirrm share/examples/nocol +@dirrm run +@dirrm msgs |