• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1042
  • Last Modified:

mrtg for windows - multiple .cfg files

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?
0
JWeb Admin
Asked:
JWeb Admin
1 Solution
 
stsonlineCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now