[mrtg] Re: Specifying a range of routers

Amol Sapkal amolsapkal at coolgoose.com
Tue Jan 13 21:28:28 MET 2004


> Hey all, this is my first post; it's good to be on the list. I have a question
> regarding some syntax.
> I am using cfgmaker to specify about 30 snmp devices, since these devices are
> assigned in linear ip order can I specify 1.1.1.1 -> 1.1.1.30  with a range
> command or must i have each individually?
> 
> I can generate a list and direct into cfgmaker, i know, but...
> 
> -Peter

Use a simple perl script which will read the IPs from a list and then run the
./cfgmaker from that script, keeping the IP_as_a_variable in the script.


Regds,
Amol

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list