Let me start by stating very clearly that I am NOT a programmer. I run MRTG on Windows.
I have been using MRTG for years to monitor switches, routers and other devices. The one thing I have always wanted to work was the ability to define multiple Global WorkDirs. The documentation, since the first version I ever used, has shown the following example ---- cfgmaker --global "WorkDir: /home/tobi" \ --global "Options[_]: growright,bits" \ --ifref=descr \ --ifdesc=alias \ [EMAIL PROTECTED] \ [EMAIL PROTECTED] \ --global "Options[_]: growright" \ --ifref=name \ --ifdesc=descr \ [EMAIL PROTECTED] \ --ifdesc=name \ [EMAIL PROTECTED] > mrtg.cfg seeming to indicate that Global Options can be initiated multiple times - and thus leading me to believe that Global Workdir should work the same way. However, my feebile attempt to utilize more than one WorkDir fails. While both entries appear in the generated config file, all graphs are created and/ or updated in the last defined directory. Cfgmaker --global "WorkDir: D:\InetPub\MySite.com\County\Buildings\Courthouse\Routers" --global "Options[_]: growright,bits" --subdirs HOSTNAME --community mystring --ifref ip --ifdesc descr --if-template D:\MRTG\bin\TrafficTmplate.txt Router-1 -->MANY MORE ROUTERS<-- --global "WorkDir: D:\InetPub\MySite.com\County\Buildings\Courthouse \Switches" --ifref descr Switch-1 -->MANY MORE SWITCHES<-- --output D:\MRTG\bin\County_Traffic.cfg Should I expect my syntax to create 2 directories, and place the graphs in them both? Kerry L. Kriegel Racine County WAN Specialist 730 Wisconsin Avenue Racine, Wisconsin 53403 262.636.3653 Phone 262.636.3805 FAX -------------------------------------------------------------------------------------------------------------------- This email and any attachments are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you received this message in error, you may not review, use, copy or disclose the message or any attachments. If you have received this message in error, please advise the sender by a reply email and delete the message. Thank you. The County of Racine does not endorse any opinions, conclusions or other information contained within this email and any attachments that does not pertain to official business. -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi