[Dxspider-support] Mrtg revisited

Dirk Koopman djk at tobit.co.uk
Fri Sep 27 12:06:44 BST 2002


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




More information about the Dxspider-support mailing list