<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{font-family:"Arial Black"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
span.EmailStyle17
{font-family:"Arial",sans-serif;
color:windowtext;
font-weight:bold}
.MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" lang="EN-US" link="#0563C1" vlink="#954F72">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">The recommended Best Practice is to have a separate cfg file for each device, for ease of management and to air your chosen web frontend.<br>
<br>
You can then link them together using a 'master' CFG file, that uses the Include: directive to include all the components together, and run MRTG (possibly in daemon mode) against that master file.<br>
<br>
When you make changes to your cfg files, you can touch the master.cfg, which will cause MRTG to re-read it in if necessary.<br>
<br>
The latest MRTG will support wildcard-based Include directives, which makes things much easier.<br>
<br>
We monitor over 40,000 metrics in our MRTG setup; we use a distributed Gearman-based scheduler, and the MRTG instances NFS mount the cfg filesystem and use a network-based rrdcached to hold the databases centrally (note - this requires rrdtool 1.4trunk or 1.5beta
for MRTG to be able to create rrd files over rrdcached). Then a single centralised Routers2 instance reads the rrd files.<br>
<br>
Steve<br>
<br>
Steve<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><strong>Steve Shipway</strong></div>
<div style="font-family:Tahoma; font-size:13px">University of Auckland ITS</div>
<div style="font-family:Tahoma; font-size:13px"><em>UNIX Systems Design Lead</em></div>
<div style="font-family:Tahoma; font-size:13px"><a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a></div>
<div style="font-family:Tahoma; font-size:13px">Ph: +64 9 373 7599 ext 86487</div>
<div style="font-family:Tahoma; font-size:13px"><em></em> </div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF368457"><font color="#000000" size="2" face="Tahoma"><b>From:</b> mrtg [mrtg-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch] on behalf of Rick Silacci [rick@velociter.net]<br>
<b>Sent:</b> Saturday, 14 March 2015 7:48 a.m.<br>
<b>To:</b> mrtg@lists.oetiker.ch<br>
<b>Subject:</b> [mrtg] Monitoring multiple devices with MRTG<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Arial",sans-serif">Is there a way to do this without making a separate cfg file? I have 2000 devices I need to monitor.</span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Arial",sans-serif"> </span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Arial",sans-serif">Thanks</span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Arial",sans-serif"> </span></b></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Arial Black",sans-serif">Rick Silacci</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Arial Black",sans-serif">Velociter Wireless</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Arial Black",sans-serif">209.838.1221 x107</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Arial Black",sans-serif"><img id="Picture_x0020_1" src="cid:image001.jpg@01D05D83.A28C0A50" alt="VWTwitter" height="99" width="99"></span></p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</body>
</html>