#
#
# $Header: /v/noc/src/CVSROOT/snmpstat/intro/README_e.txt,v 1.2 1999/08/19 13:15:50 alex Exp $
#
This is R-1-2-e revision of the SNMPSTAT monitoring system,
first collected and debugged with the normal installation procedure.

This release was checked and debugged on the FreeBSD and Solaris 2.6/SPARC,
and snmp monitor
(not this installation procedure) on the Sun OS. There is some unidentified
problems with the Solaris 2.6 regarding of CC revision
(we used 'gcc' withouth the problems).

The future plans:
- to change starting WWW window;
- to merge RELCOM and RELARN revisions, this means the priority of service
should be the standard feature of the monitored objects;
- To improve LINKS data base. This revision was collected with the simple
and bad-designed LINKS data base, for example the list of operators who can
edit information cards is embedded into the file. This is because we have a few
LINKS data bases but those which use the modern DBA are not easy to incorporate
into the distribution package. Sorry. Through this LINKS version can be
easily modified to your own existing data base, by direct editing links.pll and other
cgi files.

Read _English.txt_ file first.


How to install:

(1) Create user 'monitor' and group 'monitor' in your UNIX system;

(2) Create directory /p/stat with owner/group monitor;

(3) Install the source three into /p/stat/src (not important but it was
the configuration I have here);

(4) Cd to the home of src/snmpstat, and type
 make L=.e i-sun5 - for Sun SOLARIS

or
 make L=.e i-fbsd - for FreeBSD

 To clean you can say 'make binclean' any time and repeat again;
We recommend to edit Makefile and set L=.e here to fix your language
as English. Don't use L=.e option (and comment L=.e line in Makefile) to
fix your language as Russion.

(6) Check if 'snmpstatd' was compiled and installed into /p/stat/bin;
modify 'snmpstatd/Makefile' or 'snmpstatd/Makefile.sun5' if necessary and repeat again;

(7) Check httpd startups and configs:
 /p/stat/httpd/bin/STARTUP
Edit this file if necessary.

(8) Check http configuration in
 /p/stat/httpd/conf/*

There is a lot of different httpd daemons and we could not write universal config file,
edit and modify it as you wish.

(9) Edit (and re-create if necessary) config file
 /p/stat/Poll.conf

Use DIFFERENT directory names for the different monitoring objects (the second field
in the INTERFACE lines).

(10) Start up the system:
 /p/stat/bin/rc.snmpstat

Add if necessary this to the system 'rc' file.

(11) Add to the cron for the monitor daily call of
 /p/stat/bin/daily

(12) Check if 'snmpstatd' is running and update
 /p/stat/STAT/ifsum

every 10 - 60 secs). Check if /p/stat/WWW/bin/mon_daemon is running and
update /p/stat/WWW/OUT/* files every 20 seconds.

(13) Try WWW:

 http://your_address:8100/

Use user: admin Passwd:

To stop the system, kill all 'httpd', 'mon_daemon' and 'snmpstatd' running as
the 'monitor' user. Don't run a few 'mon_daemon' or 'snmpstatd' daemons because
it cause extra load of your server.

You can edit the list of users by ADMIN button ('super' group allow
to remove/add any users, 'admin' group allow to add/delete non-privileged
users).

It's recommended to found Netscape-3 or install the modern Netscape-4 revision
for the work with WWW monitor; but you can use IE-4 as well. We recommend you to
have 'MIDI' plugin installed on your system.


Alexei Roudnev, alex@relcom.EU.net, (+7 095) 194-19-95
