[mrtg] Re: SNMP timeout

Darryl Kegg Darryl.kegg at thehortongroup.com
Tue Oct 29 15:41:20 MET 2002


Jerry,

	Does this only work with RRDTool installed or can I use it with
plain MRTG?  I had a problem similar to Steve's about 3 months ago for my
~500 targets and had to write a small search & replace program, I would love
to use this method going forward as I add more devices.

Thanks,

Darryl


-----Original Message-----
From: Jerry Heidtke [mailto:jheidtke at fmlh.edu] 
Sent: Tuesday, October 29, 2002 8:33 AM
To: 'Steve Godfrey'; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: SNMP timeout


The way I do it is to have every config file start with a line that says:

Include: d:\mrtgcfg\cfg\template\global-options.cfg

Then my global-options.cfg has the global settings I want applied to every
target:

Refresh: 300
RunAsDaemon: No
PathAdd: d:\rrdtool\
LogFormat: rrdtool
IconDir: http://mrtg/
HtmlDir: d:\mrtgdata\images
ImageDir: d:\mrtgdata\images
SnmpOptions: timeout => 1, retries => 2, backoff => 1
NoSpaceChar: ~

To change the snmp timeout for my ~10,000 targets takes one edit...

Of course, this doesn't solve your immediate problem, but you might want to
consider something like this for the future. 

Jerry

-----Original Message-----
From: Steve Godfrey [mailto:Steve_godfrey at bristol-city.gov.uk]
Sent: Tuesday, October 29, 2002 8:19 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] SNMP timeout



 I want to change the SNMP timeout for all my targets (about 2000 in all) is
there a way I can do this with the mrtg script rather than editing every
config file?

--
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


Confidentiality Notice: This e-mail message, including any attachments, is 
for the sole use of the intended recipient(s) and may contain confidential 
and privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited.  If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.


--
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

--
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