Jensen, Mark wrote:

I must say I am not as up to date on this stuff, but it used to make the cgi and HTML files, then I would run indexmaker to merge the HTML into one file etc. I am on a windows server platform. I can make the cgi files myself but the perl cfgmaker used to build them for me or I thought they did. I also used to see the cfgmaker run in the cmd window, but it doesn't now so I may have broke something. Or am I completely bonkers on this?
*From:* Lyle Giese [mailto:[email protected]]
*Sent:* Wednesday, October 20, 2010 9:45 AM
*To:* Jensen, Mark
*Subject:* Re: [mrtg] Issue with cfgmaker

Jensen, Mark wrote:

When I run the perl cfgmaker [email protected] <mailto:[email protected]> --global "WorkDir: c:\mrtghtml" --output filename.cfg, it runs but I see no output to the screen nor does it build the cgi files, what is wrong with the cfgmaker? Is there a way to fix this or do I need to re install everything? I am using rrdtool etc. I sure could use some help on this, thank you.

------------------------------------------------------------------------


_______________________________________________
mrtg mailing list
[email protected] <mailto:[email protected]>
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
cfgmaker does not make any cgi files. It creates config files for MRTG to use to query your targets and place the data in the rrd databases.

I don't use windows for mrtg, so am not 100% certain on command line format, but try

perl -c cfgmaker

This will at lest verify that cfgmaker is visible to perl and if it seems to be a valid perl script.

In rrd mode, mrtg does not make any html files or graphs. You need a front end for that. I recommend routers2 for that purpose.

Lyle Giese
LCR Computer Services, Inc.

------------------------------------------------------------------------

There are two modes to MRTG.  1) native 2)rrd

You stated you are now using rrd databases. In native mode, yes mrtg did more, but using alot more CPU and was therefore limited as to how many devices it scan. In rrd mode, all MRTG does in grab the data and put it in databases. Indexmaker was the tool to make your html/cgi files in native mode(I think, I use rrd and routers2 now).

Lyle
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to