<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 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Arial Black";
panose-1:2 11 10 4 2 1 2 2 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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Arial","sans-serif";
color:windowtext;
font-weight:bold;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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"><span style="color:#1F497D">Not sure about this. I have 60 devices in MRTG, still using the default storage technique. Each device is in its own .cfg file, and has its own subdirectory under /var/www/mrtg.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">My /etc/cron.d/mrtg has:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">LANG=C<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">MAILTO=""<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">0-59/5 * * * * root bash -c "ls /etc/mrtg/*.cfg | xargs -l /usr/bin/mrtg"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I let Apache generate an automatic directory listing of /var/www/mrtg.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I use indexmaker to generate a separate index.html in each subdirectory for each .cfg file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I am sure it would be more efficient to use rrdtool, but I have not seen the need. I could also use multiple cron jobs (get some parallelism), but since the mrtg run completes within five minutes again I have
not seen the need.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">YMMV.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Wrolf<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> mrtg [mailto:mrtg-bounces+wrolf.courtney=mtahq.org@lists.oetiker.ch]
<b>On Behalf Of </b>McDonald, Dan<br>
<b>Sent:</b> Tuesday, March 17, 2015 3:51 PM<br>
<b>To:</b> mrtg@lists.oetiker.ch<br>
<b>Subject:</b> Re: [mrtg] Adding devices to mrtg.cfg<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">Indexmaker doesn't scale. Switch to rrdtool as the backend and routers2.cgi as the front end if you are polling more than a dozen or so devices.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black"><o:p> </o:p></span></p>
</div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">Rick Silacci <<a href="mailto:rick@velociter.net">rick@velociter.net</a>><br>
<b>Date: </b>Tuesday, March 17, 2015 at 2:30 PM<br>
<b>To: </b>"<a href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a>" <<a href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a>><br>
<b>Subject: </b>[mrtg] Adding devices to mrtg.cfg<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black"><o:p> </o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE">
<div>
<div>
<p class="MsoNormal"><span style="color:black">I'm only able to add 5 IP's. Indexmaker is not creating the html file for anything after that. Also, now when I open any of the html file I get this:<br>
<br>
WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).<br>
<a href="mailto:pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.jsm:25:14">pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.jsm:25:14</a><br>
pbs<@resource://unity/observer.js:38:71<br>
<a href="mailto:Observer.prototype.observe@resource://unity/observer.js:77:24">Observer.prototype.observe@resource://unity/observer.js:77:24</a><br>
@chrome://browser/content/content.js:35:5<br>
<a href="mailto:addTab@chrome://browser/content/tabbrowser.xml:1654:13">addTab@chrome://browser/content/tabbrowser.xml:1654:13</a><br>
<a href="mailto:loadOneTab@chrome://browser/content/tabbrowser.xml:1385:23">loadOneTab@chrome://browser/content/tabbrowser.xml:1385:23</a><br>
<a href="mailto:openLinkIn@chrome://browser/content/utilityOverlay.js:331:14">openLinkIn@chrome://browser/content/utilityOverlay.js:331:14</a><br>
<a href="mailto:openUILinkIn@chrome://browser/content/utilityOverlay.js:200:3">openUILinkIn@chrome://browser/content/utilityOverlay.js:200:3</a><br>
<a href="mailto:BrowserOpenTab@chrome://browser/content/browser.js:11213:3">BrowserOpenTab@chrome://browser/content/browser.js:11213:3</a><br>
<a href="mailto:BrowserOpenNewTabOrWindow@chrome://browser/content/browser.js:16738:5">BrowserOpenNewTabOrWindow@chrome://browser/content/browser.js:16738:5</a><br>
<a href="mailto:oncommand@chrome://browser/content/browser.xul:1:1">oncommand@chrome://browser/content/browser.xul:1:1</a><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"> </span></b><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial Black","sans-serif";color:black">Rick Silacci</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial Black","sans-serif";color:black">Velociter Wireless</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial Black","sans-serif";color:black">1525 Second Street</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial Black","sans-serif";color:black">Escalon, CA</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial Black","sans-serif";color:black">O 209.838.1221</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial Black","sans-serif";color:black">F 209.838.1800</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial Black","sans-serif";color:black"><img border="0" width="99" height="99" id="Picture_x0020_1" src="cid:image001.jpg@01D06155.326727C0" alt="VWTwitter"></span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>