If you are running MRTG in Native mode (no RRDTool) then each run of MRTG will update the .log files, and produce the .html and .png/.gif image files.
If you are running MRTG in RRDTool mode, then each run will update the .rrd files ONLY. You then need to obtain a CGI script from somewhere (either Routers2.cgi, 14all.cgi or mrtg-rrd.cgi) and install it, and then this CGI will generate the graph images on demand. MRTG does not create the CGI scripts itself. Obtain Routers2 from www.steveshipway.org/software<http://www.steveshipway.org/software> unpack it and run the install.pl script to install and configure (but I'm a bit biased in recommending it...) Steve ________________________________ Steve Shipway ITS Unix Services Design Lead University of Auckland, New Zealand Floor 1, 58 Symonds Street, Auckland Phone: +64 (0)9 3737599 ext 86487 DDI: +64 (0)9 924 6487 Mobile: +64 (0)21 753 189 Email: [email protected]<mailto:[email protected]> P Please consider the environment before printing this e-mail From: [email protected] [mailto:[email protected]] On Behalf Of Jensen, Mark Sent: Friday, 15 October 2010 6:42 a.m. To: mrtg Subject: [mrtg] Editing a .cfg creating the cgi etc Hello all, I am using mrtg to monitor a couple switch ports on different switches in my network. I have a .cfg file already made and working for this but I need to edit it and change a couple interfaces. If I edit the cfg how do I get these changes to propagate into the cgi and png files? I tried to do a perl mrtg necsystem.cfg this hangs and no output is seen. Is there any type of doc for doing this?
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
