[mrtg] Different SNMP community

Daniel McDonald dan.mcdonald at austinenergy.com
Tue May 10 16:58:38 CEST 2011




On 5/10/11 9:37 AM, "Mark Zhang" <mark.l.zhang at live.com> wrote:

> How to create a cfg include several different SNMP community equipment? Is it
> possible? 

Certainly.
The usual way is to run cfgmaker for each device and store the configs
separately, with Include: directives to pull all of the configs into a
single structure.

However, cfgmaker allows for multiple hosts to be specified on the command
line.  A simple syntax like:
Cfgmaker --output router1.cfg string1 at router1 --output router2.cfg
string2 at router2 --output router3.cfg string3 at router3
is available to generate three configurations with one command.


-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281



More information about the mrtg mailing list