[mrtg] 5000 devices to monitor with 4 different metrics

Rick Silacci rick at velociter.net
Thu Apr 30 19:48:43 CEST 2015


I already have one configuration file graphing network traffic for 5000 devices.  I have 3 more metrics to add.  This is what one of the configuration files looks like for one of the 3 metrics:



#Color Code 209

Target[10.10.5.5colorcode]: 1.3.6.1.4.1.161.19.3.2.2.65.0&1.3.6.1.4.1.161.19.3.2.2.65.0:Canopy at 10.10.5.5:161::::2

Directory[10.10.5.5colorcode]: 10.10.5.5

MaxBytes[10.10.5.5colorcode]: 100000

Title[10.10.5.5colorcode]: Color Code

PageTop[10.10.5.5colorcode]:<H1>Color Code</H1>

Options[10.10.5.5colorcode]: gauge, growright, secondmean

YLegend[10.10.5.5colorcode]: Color Code

ShortLegend[10.10.5.5colorcode]:  

LegendI[10.10.5.5colorcode]:  In:

LegendO[10.10.5.5colorcode]:  Out:



Obviously this is for one device.  I have to apply this to IP's ranging from 10.10.1.1 through 10.10.20.254, roughly 5000 IP's.  Is there a way to automate this so I don't have to create a separate configuration file for each device?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20150430/5e68b277/attachment.html>


More information about the mrtg mailing list