[mrtg] ERROR: Line 8 in CFG file does not make sense-INDEXMAKER

Harry John irvine.harris at gmail.com
Thu Jul 5 20:40:00 CEST 2007


ERROR: Line 8 ( WorkDir: /var/www/html/mrtg) in CFG file
(/var/www/html/mrtg/core/switch1.cfg) does not make sense
yes what ever work directory i specify it shows this error.

when i dont specify a work dir it shows no work directory.
well i'll try this again

thanks !
harry



On 7/5/07, Henrik Jacobsson <henke.jacobsson at gmail.com> wrote:
>
> I got the same issue when I used indexmaker...
>
> Look at the bottom of your config, there's guaranteed a WorkDir:
> statement there =)
>
> //henke
>
> Harry John skrev:
> >
> >     Hello everybody,
> >
> >     I've just installed MRTG on a centos 4.5 and it just gave me the
> >     local output on http://localhost/mrtg
> >
> >      Now to add a swich to view it statisctics, i did
> >     /usr/local/mrtg-2/bin/cfgmaker communityname at router1
> >     >/var/www/html/mrtg/core/switch1.cfg
> >     and it succesfully created a .cfg
> >
> >     i edited my router1.cfg workdirectory as /var/www/html/switches
> >     To create a page I did Indexmaker like :
> >     /usr/local/mrtg-2/bin/indexmaker
> >     /var/www/html/mrtg/switchswitch1.html>
> >     /var/www/html/mrtg/core/switch1.cfg
> >
> >     and it gives : ERROR: Line 8 ( WorkDir: /var/www/html/mrtg) in CFG
> >     file (/var/www/html/mrtg/core/switch1.cfg) does not make sense
> >
> >     I tried doing workdirectory as /var/www/html/mrtg/switch aslo and
> >     several other options but does'nt seem to work well.
> >
> >
> >     now i copied some stuff from mrtg.cfg to like runas daemon , HTML
> >     formating stuff, Stat and then I was able to generate switch1.html
> >     i ran
> >     env LANG=C /usr/local/mrtg-2/bin/mrtg
> >     /var/www/html/mrtg/core/switch1.cfg
> >     and was able to get the results.
> >
> >     but do i need to copy these fields (HTML formating stuff, Stat...)
> >      each time i add a new machine to view the services?
> >     where  have i gone wrong?
> >
> >     Thanks in advance
> >     Harris
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > mrtg mailing list
> > mrtg at lists.oetiker.ch
> > https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070705/a7994063/attachment.html 


More information about the mrtg mailing list