This should give you a friendly error message complaining about the missing MRTG configuration file. Now it is time to create a configuration for MRTG. But before we begin you need to know a few things. Take an opportunity to gather the following information:. For the rest of this document we will be using device We are interested in monitoring traffic, and the CPU load.
The first thing we do in setting up MRTG is making a default config file. Type the following command:. This creates an initial MRTG config file for you. Note that in this file all interfaces of your router will be stored by number. Unfortunately, these numbers are likely to change whenever you reconfigure your router. In order to work around this you can get cfgmaker to produce a configuration which is based on Ip numbers, or even Interface Descriptions.
Check cfgmaker. If you get an error message complaining about no such name or no response , your community name is probably wrong. If you don't know it, try public , that is the default. For the rest of this document we will be using device We are interested in monitoring traffic, and the CPU load.
Let's begin. The first thing we do in setting up MRTG is making a default config file. Type the following command:. This creates an initial MRTG config file for you. Note that in this file all interfaces of your router will be stored by number. Unfortunately, these numbers are likely to change whenever you reconfigure your router.
In order to work around this you can get cfgmaker to produce a configuration which is based on Ip numbers, or even Interface Descriptions. Check cfgmaker. If you get an error message complaining about no such name or no response , your community name is probably wrong. This is the interface speed Default is 10 megabits; for Mbit devices use and so on And that's a very basic MRTG config file.
It is normal to get errors for the first two times you run this command. The errors will alert you about the fact that there have not been any log files in existence before. If you take a look at those web pages they are not very exciting yet.
Our community of experts have been thoroughly vetted for their expertise and industry experience. The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.
What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
All rights reserved. Covered by US Patent. Come for the solution, stay for everything else. Welcome to our community! Now, I'm trying to setup MRTG on a server that is also acting as a router with a public interface and a private interface.
The following is what I get when I attempt to run the update manually. Skipping further queries for Host
0コメント