How does cfgmaker create MRTG configuration files?

Cfgmaker creates MRTG configuration files based on information pulled from a router or another SNMP manageable device. Community is the community name of the device you want to create a configuration for. If not specified, it defaults to ‘ public ‘; you might want to try this first if you do not know the community name of a device.

What are the configuration options for MRTG?

The runtime behaviour of MRTG is governed by a configuration file. Run-of-the-mill configuration files can be generated with cfgmaker. (Check cfgmaker ). But for more elaborate configurations some hand-tuning is required. This document describes all the configuration options understood by the mrtg software.

What protocol does cfgmaker use to resolve the target address?

If the target is a numeric address, the protocol depends on the type of address. If the target is a hostname, cfgmaker will try to resolve the name first to an IPv6 address then to an IPv4 address. IPv6 numeric addresses must be specified between square braces.

Why is MRTG warning me about older data files that exist?

MRTG is warning you about older data files that it tries to move, but those data files do not yet exist. If you run the program twice more, it should no longer report errors. After running the mrtg command, you will be able to find PNG files and HTML files in /usr/local/apache/htdocs/mrtg.

Can MRTG access the interface data files of a network?

This tells MRTG to name interface data files by the IP address of the interface rather than the SNMP index number. Under this system, you can add or remove boards, and MRTG will still be able to access the appropriate data. You can even move a network to a new interface and have no problem.

How to install MRTG on a server?

The first step is to install MRTG on the server you will be displaying the graphs from (usually for a small setup a webserver). This can be done one of the following ways: The next step after installing MRTG is to create a config file, this is done using cfgmaker, which is included in the MRTG installation:

You Might Also Like