[Dxspider-support] Mrtg revisited

Ruben Navarro Huedo eb5esx at eb5esx.ampr.org
Fri Sep 27 22:28:12 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

can i reload Mrtg.pm without shutdown Cluster?

El Vie 27 Sep 2002 23:06, Dirk Koopman escribió:
> ln -s /usr/local/bin/mrtg /usr/bin
>
> On Fri, 27 Sep 2002 23:00:48 +0200
>
> Ruben Navarro Huedo <eb5esx at eb5esx.ampr.org> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Have a look at this:
> >
> > [sysop at linux perl]$ whoami
> > sysop
> > [sysop at linux perl]$ ls -l /usr/local/bin/mrtg
> > - -rwxr-xr-x    1 root     users       68871 sep 26 22:59
> > /usr/local/bin/mrtg[sysop at linux perl]$ mrtg
> > Usage: mrtg <config-file>
> >
> > mrtg-2.9.22 is the Multi Router Traffic Grapher.
> >
> > If you want to know more about this tool, you might want
> > to read the docs. They came together with mrtg!
> >
> > Home: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/
> >
> > [sysop at linux perl]$ set | grep PATH
> > PATH=/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/lo
> > cal/bin:.:/usr/local/sbin:/home/sysop/bin[sysop at linux perl]$
> >
> > I think all is OK, but if we don't edit Mrtg.pm spider doesn't find
> > it.
> >
> > Thank's.
> >
> > El Vie 27 Sep 2002 13:06, Dirk Koopman escribió:
> > > You really should not do this. This is actually a PATH problem. It
> > > means that /usr/local/bin is not in the path for the user that the
> > > node is running as (you are *not* running as root *are* *you*!!!).
> > >
> > > Change your path to include /usr/local/bin and it should work as it
> > > was originally.
> > >
> > > Dirk
> > >
> > > On Fri, 27 Sep 2002 01:33:06 +0200
> > >
> > > Ruben Navarro Huedo <eb5esx at eb5esx.ampr.org> wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > Running very well...
> > > > i only had to edit Mrtg.pm to add path to my mrtg exec:
> > > > return `/usr/local/bin/mrtg $self->{cfg}`;
> > > >
> > > > Now running 100% ok.
> > > >
> > > > You can visit it at:
> > > > http://ea5elx.sytes.net/stats/
> > > >
> > > > Thank's Dirk :-)
> > > >
> > > > El Jue 26 Sep 2002 13:32, Dirk Koopman escribió:
> > > > > PS
> > > > >
> > > > > The URL is actually: http://gb7djk.dxcluster.org/mrtg/stats.html
> > > > >
> > > > > and you will need to run 'indexmaker', after you have done one
> > > > > mrtg update, (you can do this as a dxcluster command by typing
> > > > > 'mrtg all') in order to get the actual index page with all the
> > > > > graphs on it. The top of the tree if you will.
> > > > >
> > > > > In /spider/html/mrtg I do:-
> > > > >
> > > > > indexmaker --output stats.html --columns=1 --title "MRTG
> > > > > statistics for GB7DJK" ../../mrtg/mrtg.cfg
> > > > >
> > > > > (all on one line)
> > > > >
> > > > > Dirk G1TLH
> > > > >
> > > > >  On Thu, 26 Sep 2002 12:23:42 +0100
> > > > >
> > > > > Dirk Koopman <djk at tobit.co.uk> wrote:
> > > > > > In a fit of enthusiam over the last couple of evenings I have
> > > > > > encorporated MRTG statistics into DXSpider. The result is now
> > > > > > available in cvs (you will need to do a cvz -z3 update -d to
> > > > > > get it all).
> > > > > >
> > > > > > This is currently available only for unix/linux systems.
> > > > > >
> > > > > > You will also need to install a copy of MRTG
> > > > > > (http://people.ee.ethz.ch/~oetiker/webtools/mrtg) either from
> > > > > > the website or using the package that seems to come with most
> > > > > > distros these days.
> > > > > >
> > > > > > When you have cvsed copy the image files from MRTG (probably
> > > > > > in/var/www/html/mrtg) to /spider/html/mrtg.
> > > > > >
> > > > > > To get everything, then put the following into your dxspider
> > > > > > crontab:-
> > > > > >
> > > > > > 00,05,10,15,20,25,30,35,40,45,50,55 * * * * run_cmd('mrtg
> > > > > > all')
> > > > > >
> > > > > > You can select what you want by using some or all of the
> > > > > > keywords in this list: totalusers, totalspots, hfvhf, wwv, wcy
> > > > > >
> > > > > > In time I shall include single graphs for each of the bands as
> > > > > > well.
> > > > > >
> > > > > > You can see an example of the results by looking at:
> > > > > >
> > > > > > http://gb7djk.dxcluster.org
> > > > > >
> > > > > > Dirk G1TLH
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > Dxspider-support mailing list
> > > > > > Dxspider-support at dxcluster.org
> > > > > > http://www.tobit.co.uk/mailman/listinfo/dxspider-support
> > > > >
> > > > > _______________________________________________
> > > > > Dxspider-support mailing list
> > > > > Dxspider-support at dxcluster.org
> > > > > http://www.tobit.co.uk/mailman/listinfo/dxspider-support
> > > >
> > > > - --
> > > > You can find my public key here:
> > > > http://pgp.rediris.es:11371/pks/lookup?op=get&search=0x03B7CCDF
> > > > Linux Registered User 68452 (Nov/97)
> > > > Ruben Navarro Huedo
> > > > http://www.cabodesantapola.org
> > > > eb5esx at eb5esx.ampr.org
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: GnuPG v1.0.6 (GNU/Linux)
> > > > Comment: For info see http://www.gnupg.org
> > > >
> > > > iD8DBQE9k5ky0S5G8AO3zN8RAlhWAJ4o5dTNeMDOYA+XSjqWWdO9OhoaewCgrW36
> > > > aDkA3bLJzvm+qm2vV5fGJ+A=
> > > > =bglP
> > > > -----END PGP SIGNATURE-----
> > > >
> > > >
> > > > _______________________________________________
> > > > Dxspider-support mailing list
> > > > Dxspider-support at dxcluster.org
> > > > http://www.tobit.co.uk/mailman/listinfo/dxspider-support
> > >
> > > _______________________________________________
> > > Dxspider-support mailing list
> > > Dxspider-support at dxcluster.org
> > > http://www.tobit.co.uk/mailman/listinfo/dxspider-support
> >
> > - --
> > You can find my public key here:
> > http://pgp.rediris.es:11371/pks/lookup?op=get&search=0x03B7CCDF
> > Linux Registered User 68452 (Nov/97)
> > Ruben Navarro Huedo
> > http://www.cabodesantapola.org
> > eb5esx at eb5esx.ampr.org
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.0.6 (GNU/Linux)
> > Comment: For info see http://www.gnupg.org
> >
> > iD8DBQE9lMcB0S5G8AO3zN8RAqu2AJ9U/Il2nl8RSyeI/MOJQs0Awk0KTgCgu8Ys
> > Fhr5fvDBvIsqjEP99lhV0ks=
> > =/tZS
> > -----END PGP SIGNATURE-----
> >
> >
> > _______________________________________________
> > Dxspider-support mailing list
> > Dxspider-support at dxcluster.org
> > http://www.tobit.co.uk/mailman/listinfo/dxspider-support
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at dxcluster.org
> http://www.tobit.co.uk/mailman/listinfo/dxspider-support

- -- 
You can find my public key here:  
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0x03B7CCDF
Linux Registered User 68452 (Nov/97)
Ruben Navarro Huedo
http://www.cabodesantapola.org
eb5esx at eb5esx.ampr.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9lM1s0S5G8AO3zN8RAvSTAJ9LmofN+eyeGszJjOKB4c8fs0jcBwCeKgmF
OW8gPQJnvZCqs3RHMGRtyMY=
=K7ds
-----END PGP SIGNATURE-----





More information about the Dxspider-support mailing list