[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mrtg
Subject:    [mrtg] 5000 devices to monitor with 4 different metrics
From:       Rick Silacci <rick () velociter ! net>
Date:       2015-04-30 17:48:43
Message-ID: A056EA2F870AA84C9358C81276D941A003F498 () vwdc ! vw ! local
[Download RAW message or body]

I already have one configuration file graphing network traffic for 5000 dev=
ices.  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.1=
9.3.2.2.65.0:Canopy@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]: &nbsp;

LegendI[10.10.5.5colorcode]: &nbsp;In:

LegendO[10.10.5.5colorcode]: &nbsp;Out:



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




[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Arial",sans-serif;
	font-weight:bold;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Arial",sans-serif;
	color:windowtext;
	font-weight:bold;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Arial",sans-serif;
	font-weight:bold;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" \
vlink="#954F72"><div class=WordSection1><p class=MsoNormal><b><span \
style='font-size:10.0pt;font-family:"Arial",sans-serif'>I already have one \
configuration file graphing network traffic for 5000 devices.&nbsp; I have 3 more \
metrics to add.&nbsp; This is what one of the configuration files looks like for one \
of the 3 metrics:<o:p></o:p></span></b></p><p class=MsoNormal><b><span \
style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p>&nbsp;</o:p></span></b></p><p \
class=MsoNormal><b><span \
style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p>&nbsp;</o:p></span></b></p><p \
class=MsoPlainText>#Color Code 209 <o:p></o:p></p><p \
class=MsoPlainText>Target[10.10.5.5colorcode]: \
1.3.6.1.4.1.161.19.3.2.2.65.0&amp;1.3.6.1.4.1.161.19.3.2.2.65.0:Canopy@10.10.5.5:161::::2<o:p></o:p></p><p \
class=MsoPlainText>Directory[10.10.5.5colorcode]: 10.10.5.5<o:p></o:p></p><p \
class=MsoPlainText>MaxBytes[10.10.5.5colorcode]: 100000<o:p></o:p></p><p \
class=MsoPlainText>Title[10.10.5.5colorcode]: Color Code<o:p></o:p></p><p \
class=MsoPlainText>PageTop[10.10.5.5colorcode]:&lt;H1&gt;Color \
Code&lt;/H1&gt;<o:p></o:p></p><p class=MsoPlainText>Options[10.10.5.5colorcode]: \
gauge, growright, secondmean<o:p></o:p></p><p \
class=MsoPlainText>YLegend[10.10.5.5colorcode]: Color Code<o:p></o:p></p><p \
class=MsoPlainText>ShortLegend[10.10.5.5colorcode]: &amp;nbsp;<o:p></o:p></p><p \
class=MsoPlainText>LegendI[10.10.5.5colorcode]: &amp;nbsp;In:<o:p></o:p></p><p \
class=MsoPlainText>LegendO[10.10.5.5colorcode]: &amp;nbsp;Out:<o:p></o:p></p><p \
class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Obviously this is for \
one device.&nbsp; I have to apply this to IP&#8217;s ranging from 10.10.1.1 through \
10.10.20.254, roughly 5000 IP&#8217;s.&nbsp; Is there a way to automate this so I \
don&#8217;t have to create a separate configuration file for each \
device?<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p \
class=MsoNormal><b><span \
style='font-size:10.0pt;font-family:"Arial",sans-serif'><o:p>&nbsp;</o:p></span></b></p></div></body></html>




_______________________________________________
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

--===============0627557405261781230==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic