On Tue, 19 Feb 2002, bernard LAMBERT wrote:

> I have downloaded the gz file , unzip and tar file somewhere and i got
> file and directories.
> 
> I have read INSTALL file , and i dont undestard how install mon. I don't
> see usual setup or install script ?

you must be hoping there is more to it than the directions in the INSTALL
file indicate. really, there isn't. you untar it to the place you want
to keep it, install the required perl modules, and that's about it.

here's how i set it up on our mon servers:

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda1              2064208   1310104    649248  67% /
/dev/sda3             14520240   5741508   8041148  42% /export/home

: mon-bd2 /export/home/mon$; ls -l
total 48
drwxrwsr-x   2 mon      mon          4096 Jan 18  2001 RCS/
drwxrwsr-x   2 mon      mon          4096 Jul 27  2001 alert.d/
lrwxrwxrwx   1 trockij  mon            12 Sep  8 06:59 cur -> mon-0.99.2-5/
drwxrwsr-x   4 mon      mon          4096 Jan 10 09:44 etc/
-r-xr-xr-x   1 mon      mon          1919 Jan 18  2001 install*
drwxrwsr-x   2 mon      mon          4096 Feb  2 04:39 log.d/
drwxrwxr-x  11 mon      mon          4096 Jan 18  2001 mon-0.38.21/
drwxrwsr-x  11 mon      mon          4096 Jul 23  2001 mon-0.38.22-32/
drwxr-sr-x  11 trockij  mon          4096 Aug 19  2001 mon-0.99.1/
drwxr-sr-x  11 trockij  mon          4096 Dec 18 03:20 mon-0.99.2-5/
drwxrwsr-x   2 mon      mon          4096 Feb  9 22:06 mon.d/
drwxrwsr-x   2 mon      mon          4096 Jul 23  2001 reboot.d/
drwxrwsr-x   2 mon      mon          4096 Nov 16 13:16 state.d/

"cur" is a symlink to the version we're running. the untarred files
(mon-0.99.2-5 in this case) are exactly as they come in the
distribution, with no changes whatsoever.

all the other directories, such as "alert.d", "mon.d", "log.d",
"reboot.d", "state.d", and "etc" are the site-specific things which
remain the same from version to version, and they override what comes
with the distribution if necessary.

all the configs are kept in "etc":

: mon-bd2 /export/home/mon$; ls -l etc
total 60
drwxrwsr-x   2 mon      mon          4096 Nov 28 14:40 RCS/
-r--r--r--   1 mon      mon          1306 Feb 18 11:39 auth.cf
-rw-r--r--   1 mon      mon         12988 Feb 21  2001 mon-test.m4
-rw-r--r--   1 root     mon         28274 Feb 18 11:39 mon.m4
drwxrwsr-x   2 mon      mon          4096 Jan 17 10:05 monshow/
-rw-rw-r--   1 mon      mon           248 Feb 18 11:39 monusers.cf

so, there you have it. this is not required for an installation, but this
layout helps you easily transition from one version of mon to the next.


Reply via email to