diff -Nur nocol-4.2/Configure nocol-4.2.1/Configure
--- nocol-4.2/Configure Fri Jul 31 13:58:37 1998
+++ nocol-4.2.1/Configure Wed Aug 19 18:51:28 1998
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Header: /home/vikas/src/nocol/RCS/Configure,v 1.5 1998/07/31 17:58:25 vikas Exp $
+# $Header: /home/vikas/src/nocol/RCS/Configure,v 1.6 1998/08/19 22:51:10 vikas Exp $
#
# Configure script for nocol
#
@@ -171,7 +171,7 @@
ls /usr/lib/libresolv* >/dev/null 2>&1
if [ $? = 1 ]; then
ls /lib/libresolv* >/dev/null 2>&1
- if [ $? = 1]; then
+ if [ $? = 1 ]; then
ls /usr/lib/libbind* >/dev/null 2>&1
if [ $? = 1 ]; then LIBRESOLV="" ; else LIBRESOLV="-lbind" ; fi
fi
diff -Nur nocol-4.2/HISTORY nocol-4.2.1/HISTORY
--- nocol-4.2/HISTORY Wed Jul 29 12:38:41 1998
+++ nocol-4.2.1/HISTORY Fri Aug 28 00:24:09 1998
@@ -1,5 +1,10 @@
HISTORY FOR NOCOL
+nocol v4.2.1 Aug 1998
+------------
+
+ (see Release notes in html/release.html)
+
nocol v4.2 Jul 1998
----------
diff -Nur nocol-4.2/INSTALL nocol-4.2.1/INSTALL
--- nocol-4.2/INSTALL Fri Jul 31 13:36:45 1998
+++ nocol-4.2.1/INSTALL Thu Aug 27 23:26:39 1998
@@ -1,4 +1,4 @@
-## $Id: INSTALL,v 4.2 1998/07/31 17:36:37 vikas Exp $
+## $Id: INSTALL,v 4.3 1998/08/28 03:26:31 vikas Exp $
INSTALLATION INSTRUCTIONS FOR 'NOCOL' v4.2
==========================================
@@ -104,6 +104,9 @@
REMEMBER that the monitors log events to noclogd only when the state
of the event CHANGES. So nothing might be logged to noclogd if all
the sites remain at the same state (up/down) and threshold level.
+
+ You can check logging using the perl script 'testlog' under
+ perlnocol.
10. You can add user 'nocol' to your password file to allow anyone to
log in as user 'nocol' and see the state of the network. A typical
diff -Nur nocol-4.2/Makefile nocol-4.2.1/Makefile
--- nocol-4.2/Makefile Fri Jul 31 21:06:17 1998
+++ nocol-4.2.1/Makefile Fri Aug 28 00:58:09 1998
@@ -1,5 +1,5 @@
#
-# $Id$
+# $Id: Makefile.dist,v 1.1 1998/08/28 03:27:01 vikas Exp $
#
# To make a distribution 'tar' image, do
# make -f Makefile.mid tar
diff -Nur nocol-4.2/Makefile.dist nocol-4.2.1/Makefile.dist
--- nocol-4.2/Makefile.dist Fri Jul 31 13:23:10 1998
+++ nocol-4.2.1/Makefile.dist Thu Aug 27 23:27:12 1998
@@ -1,5 +1,5 @@
#
-# $Id$
+# $Id: Makefile.dist,v 1.1 1998/08/28 03:27:01 vikas Exp $
#
# To make a distribution 'tar' image, do
# make -f Makefile.mid tar
diff -Nur nocol-4.2/Makefile.mid nocol-4.2.1/Makefile.mid
--- nocol-4.2/Makefile.mid Fri Jul 31 21:05:47 1998
+++ nocol-4.2.1/Makefile.mid Thu Aug 27 23:22:38 1998
@@ -1,4 +1,4 @@
-# $Header: /home/vikas/src/nocol/RCS/Makefile.mid,v 1.2 1998/08/01 01:05:32 vikas Exp $
+# $Header: /home/vikas/src/nocol/RCS/Makefile.mid,v 1.2 1998/08/01 01:05:32 vikas Exp vikas $
#
# Makefile for 'nocol'. This file simply calls on other Makefiles in
# the subdirectories to do all the work. All the definitions are used
@@ -7,7 +7,7 @@
# To 'make' for only one program, use
# make "SRCS=trapmon" [install|clean]
#
-REV = "4.2"
+REV = "4.2.1"
package=@package@
OS=@OS@
diff -Nur nocol-4.2/doc/Makefile.mid nocol-4.2.1/doc/Makefile.mid
--- nocol-4.2/doc/Makefile.mid Wed Mar 12 09:35:29 1997
+++ nocol-4.2.1/doc/Makefile.mid Thu Aug 27 23:28:12 1998
@@ -1,4 +1,4 @@
-# $Header: /home/vikas/netmgt/nocol/src/doc/RCS/Makefile,v 1.3 1994/11/29 17:53:19 vikas Exp $
+# $Header: /home/vikas/src/nocol/doc/RCS/Makefile.mid,v 1.1 1998/08/28 03:28:09 vikas Exp $
#
# Make for installing the man pages
# This installs all the man pages with the same extension
diff -Nur nocol-4.2/doc/netconsole.1 nocol-4.2.1/doc/netconsole.1
--- nocol-4.2/doc/netconsole.1 Tue Nov 29 15:13:11 1994
+++ nocol-4.2.1/doc/netconsole.1 Thu Aug 13 11:57:21 1998
@@ -1,10 +1,11 @@
-.\" $Header: /home/vikas/netmgt/nocol/src/doc/RCS/netconsole.1,v 1.10 1994/11/29 20:12:56 vikas Exp $
+.\" $Header: /home/vikas/src/nocol/doc/RCS/netconsole.1,v 1.11 1998/08/13 15:55:40 vikas Exp $
.\"
.TH NETCONSOLE 1 "May 1994"
.SH NAME
nocol \- Curses display agent for the NOCOL (
.I Network Operation Center OnLine
) network monitoring package.
+.\" --------------------------------------------
.SH SYNOPSIS
.B netconsole
[
@@ -22,6 +23,7 @@
This program displays NOCOL format events by parsing all the datafiles in
the NOCOL data directory (or alternate directory specified).
+.\" --------------------------------------------
.SH OPTIONS
.TP
.B \-e
@@ -52,6 +54,13 @@
in a predefined
.I data
directory.
+.LP
+The default display severity level is Critical. However, you can set your
+shell environment variable
+.B NOCOL_SEVERITY
+to one of Critical, Error, Warning, Info to set your desired severity
+level.
+.\" --------------------------------------------
.SH DESCRIPTION
.LP
.B netconsole
@@ -144,6 +153,7 @@
or
.I informational.
+.\" --------------------------------------------
.SH RUN TIME OPTIONS
.LP
.I netconsole
@@ -233,13 +243,6 @@
.TP
.B q
to quit from the program.
-.\" --------------------------------------------
-.SH ACCESS
-.LP
-A sample of this program can be seen by logging onto
-.B nocol.jvnc.net
-as user
-.B nocol.
.\" --------------------------------------------
.SH AUTHOR
Vikas Aggarwal, vikas@navya.com
diff -Nur nocol-4.2/html/faq.html nocol-4.2.1/html/faq.html
--- nocol-4.2/html/faq.html Thu Jul 30 20:12:01 1998
+++ nocol-4.2.1/html/faq.html Thu Aug 27 22:49:37 1998
@@ -1,13 +1,13 @@
-
+
multiping requires a raw socket, and needs to be installed
+ suid root. You probably did not run make root while
+ installing nocol. Check the ownership and permission of this program-
+ it must show mode -rwsr-x--x with owner root. If
+ not, do the following:
+
NOCOL currently uses the CMU SNMP software which does not implement
@@ -150,11 +172,19 @@
goes critical, but also detect when the device comes back up.
In order to avoid false alarms (and prevent operators from getting
+ into the habit of wait-and-it-will-go-away), NOCOL will escalate any
+ events severity gradually. If you want to get paged or notified as
+ soon as a site or variable changes, you can watch it at the
+ Warning level instead of the Critical level.
+
This software is currently maintained by
Vikas Aggarwal. Numerous
authors have made contributions which have been added to the package.
diff -Nur nocol-4.2/html/index.html nocol-4.2.1/html/index.html
--- nocol-4.2/html/index.html Thu Jul 30 20:12:02 1998
+++ nocol-4.2.1/html/index.html Thu Aug 27 22:59:43 1998
@@ -1,28 +1,31 @@
-
+
-
- NOCOL/SNIPS Home Page
+
+
+ NOCOL SNIPS Home Page
-
+
- unique site visitors
+ unique site visitors & downloads
+
+ Current Version 4.2.1
+
NOCOL/SNIPS is a system and network monitoring software
that runs on
Unix systems and can poll network and system devices. It is
@@ -55,22 +58,31 @@
BGP peers
SNMP variables
Data throughput
+ Click here to see a sample of the web
+ interface.
+
+ nocol-users@navya.com is a mailing list for general discussion
+ of nocol. Click here
+ to subscribe to this mailing list (send subscribe in the
+ BODY of your email).
+
keepalive_monitors: fixed bug while restarting dead processes.
+
nocollib.pl: local($logfd) bug in perl5 ? Causing eventlog
+ to fail.
+
portmon.c: removed goto which was causing core dumps with
+ certain compilers.
+
netconsole: now looks at NOCOL_SEVERITY environment variable for
+ default level while starting up.
+
Removed various goto's in code to avoid possible compiler bugs.
+
bgpmon: New enhanced version (completely rewritten)
+
notifier.pl: New possible alternative to notifier.
+
crontab.nocol: Run notifier.pl every 10 minutes instead of 1 ?.
+
Configure: bug in test for libresolv.
+
hostmon- new clients for Irix 6, fixed AIX, FreeBSD 2.2.x.
+
webnocol.cgi: Was not printing out deny message on insufficient
+ privleges.
+
genweb.pl: Compact html output for Info mode. Can customize the
+ fontsize and updates in User view (userViewUpdates, tfontsize)
+
nsmon: Sitename (from config file) is displayed in netconsole
+ instead of the domain being monitored (removed feature added in v4.2)
+ since this is more flexible.
+
+
nocol v4.2 Jul 1998
New monitors: apcmon, ntpmon, syslogmon, radiusmon
@@ -66,7 +90,7 @@
Fixed bug in the CMU code in cmu-snmp/snmplib/asn1.c
+EOT2
+
+ foreach $field (@fields)
+ {
+ $field =~ s@\/@ \/@g ; # split words onto two separate lines
+ print <
+ $field
+
+EOT2a
+ } # foreach $field
+ print "
\n";
- # Print header and the form buttons to select the severity.
+ print <
+
+
+
+
+EOT2b
+
+ } # endif $lvl eq Info
+
+ close (OUTPUT);
+ open ($lvl, ">>$webdir/${lvl}.html"); # open new filehandle for each file
+} # end foreach($lvl)
+
+############## End writing out the prologue
+
+## write out all the html files together so that we dont have to make
+# 4 passes over each data file. The files have already been reopened with
+# new file handles.
+
+foreach $dfile (@dfiles) # process each data file one at a time
+{
+ open (INPUT, "< $datadir/$dfile") || die "cannot open $dfile";
+ # print STDERR "Opened $dfile\n" if $ldebug;
+ # process log file line by line
+ $i = 1; # index required by nocollib readevent()
+ while (&readevent (INPUT, $i)) {
+ ## clean up the sitename, etc.
+ # $sitename{$i} =~ tr/a-zA-Z0-9._\-\(\)//cd;
+ $sitename{$i} =~ tr/\000//d;
+ $siteaddr{$i} =~ tr/\000//d;
+ $varname{$i} =~ tr/\000//d;
+
+ $update = $updates{"$sitename{$i}:$siteaddr{$i}:$varname{$i}"};
+ #if ($update eq "") {$update = $updates{"$sitename{$i}:$siteaddr{i}"}; }
+ #if ($update eq "") {$update = $updates{"$sitename{$i}"}; }
+
+ # If device is no longer critical, remove its status information
+ if (($severity{$i} > 1) && $update) {
+ &remove_updates_entry($sitename{$i}, $siteaddr{$i}, $varname{$i});
+ }
+
+ foreach $lvl (@levels) # write out the row to each file in turn
+ {
+ if ( $severity{$i} <= $ilevels{$lvl} )
+ {
+ select $lvl; # default for print statements
+ &print_row($i, $lvl);
+ ++$cnt{$lvl} ;
+ }
+ }
+ # $i++; # need not update
+ } # end of processing one log file
+ close INPUT;
+} # end foreach($dfile), process next log file
+
+################### finally write out the footer
+foreach $lvl (@levels)
+{
+ select($lvl);
+ if ($compactInfo && ($lvl eq "Info")) {
+ print "\n\n";
+ }
+ else {
+ # Print a helpful message if there's nothing wrong
+ if ($cnt{$lvl} == 1) {
+ print "
\n";
+ print "
The Network is healthy!
";
+ print "
\n";
+ }
+
+ print "
\n"; # vertical space
+ print "
\n";
+ }
+
+ &write_msgs; # stuff from msgs directory
+ if ($newevents{$lvl} > 0) {
+ if ($sound) {
+ print "