On Tue, 26 Jul 2005, "rueh hänä" wrote:
there are slides which have examples on how to write your own monitor
script for mon:
ftp://ftp.kernel.org/pub/software/admin/mon/
get "mon-talk-0.4.tar.gz"
Thx a lot
There is one thing.. What does mon-talk exactly do? I dont find any readme's
or descriptions. Only index of sites with the tar.gz's
well, what you'll want to do is paste that url into your browser window
and right click mon-talk-0.4.tar.gz, then select "save as" to download
it. once you get it, untar it by doing "tar zxf mon-talk-0.4.tar.gz".
that will create a directory called mon-talk-0.4, in which you will find
a file named README. its contents are the following:
$ProjectVersion: 0.4 $
$ProjectDate: Wed, 26 Feb 2003 10:33:01 -0500 $
this is a presentation i've given on mon.
to build the postscript and pdf from these sources you will need
troff/groff, dia (http://www.lysator.liu.se/~alla/dia/), and
ghostscript. simply type "make" and it should all happen for you.
well, luckily you won't need to run make to rebuild the postscript and
pdf, since the pdf and postscript version of the presentation are
already there:
(0) uplift /home/trockij/build/mon-talk-0.4 $ ls -l
total 504
-rw-r--r-- 1 trockij trockij 45148 Feb 26 2003 architecture.dia
-rw-r--r-- 1 trockij trockij 18508 Feb 26 2003 architecture.eps
-rw-r--r-- 1 trockij trockij 2770 Feb 26 2003 foils.howto
-rw-r--r-- 1 trockij trockij 23943 Feb 26 2003 hierarchical.dia
-rw-r--r-- 1 trockij trockij 14528 Feb 26 2003 hierarchical.eps
-rw-r--r-- 1 trockij trockij 599 Feb 26 2003 Makefile
-rw-r--r-- 1 trockij trockij 26080 Feb 26 2003 mon-syslog.dia
-rw-r--r-- 1 trockij trockij 14134 Feb 26 2003 mon-syslog.eps
-rw-r--r-- 1 trockij trockij 200096 Feb 26 2003 mon-talk.pdf
^^^^^^^^^^^^
this is an adobe acrobat pdf file. you'll need a pdf viewer if you want
to read it. if you're viewing this from a relatively modern unix system
(redhat/suse/whatever would work just fine), you could use xpdf or
ghostview. try one of these commands:
xpdf mon-talk.pdf
or
ghostview mon-talk.pdf
the pdf viewer from adobe works well, too. if you don't have it
already, you can download it from here:
http://www.adobe.com/products/acrobat/readstep2.html
in a previous mail i suggested you have a look at this "mon talk" thing
because it has a couple slides which explain quite clearly how to go
about writing your own monitor plug-in for mon. this begins on page 24,
so start there.
also, the manual page for mon has additional detail on what mon expects
from the monitor programs. see doc/mon.8 in the main mon tarball, the
section titled "monitor programs".
_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon