mrtg for windows - multiple .cfg files

Posted on 2007-07-31
Last Modified: 2009-04-05
I have an installation of MRTG on a Windows machine, not using RRDtool and cgi.  I've attempted to create multiple .cfg files, however mrtg only recognizes the configs inside the main mrtg.cfg file.

Rather than create one large mrtg.cfg file, is there a way to tell mrtg for windows to look at all .cfg files inside the bin directory of my mrtg installation?  I'd rather have seperate configs instead of one large mrtg.cfg file.

Is this possible?
Question by:JWeb Admin
    1 Comment
    LVL 10

    Accepted Solution

    To my knowledge, there isn't a way to load and run multiple config files in the manner you want. However, if you don't have memory constraints, you can run multiple instances of MRTG that each call different config files. For example:

    perl d:\mrtg-2.9.29\bin\mrtg d:\mrtg-2.9.29\cfgs\routers.cfg
    perl d:\mrtg-2.9.29\bin\mrtg d:\mrtg-2.9.29\cfgs\switches.cfg

    ... will run two instances of MRTG monitoring routers and switches from different configs.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
    Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now