Here, we'll discuss mrtg . The mrtg program uses SNMP data to automatically generate reports on a web page with cleanly labeled graphs. You can give supervisors, managers, and coworkers convenient access to performance data without giving them server access. It keeps records over a whole year, so you can get a good idea of real-life trends. You can run mrtg as a daemon, but it is traditionally a cron job run every five minutes.
Every mrtg call requires a config file.
You can use the included cfgmaker tool to generate a default configuration for measuring network throughput on interfaces. The cfgmaker tool will make SNMP queries of the device and generate a configuration file. If you look through the created file, you'll see that cfgmaker has thrown up a configuration for every single interface on the machine. The loopback interface, and any down interfaces, are commented out. Before you can use this configuration, you need to add a WorkDir directive to the config file.