<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 12 (filtered medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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 bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:12.0pt;color:#1F497D'>No. Interface 3
is not commented out. That section refers to 192.191.191.21_3<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:#1F497D'>### Interface 3
>> Descr: '3' | Name: '3' | Ip: '' | Eth: '00-0d-9d-b5-13-7d' ###<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:#1F497D'>Target[192.191.191.21_3]:
3:public@192.191.191.21:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:#1F497D'>SetEnv[192.191.191.21_3]:
MRTG_INT_IP="" MRTG_INT_DESCR="3"<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:#1F497D'>But like I
mentioned there aren’t any 192.191.191.21_3 files.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:#1F497D'>Some of the interfaces
are commented out. Approximately half are. I’m guessing, those were not
active when the config file was created. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;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";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>
mrtg-bounces+mgideon=newstarfresh.com@lists.oetiker.ch
[mailto:mrtg-bounces+mgideon=newstarfresh.com@lists.oetiker.ch] <b>On Behalf Of
</b>Lyle Giese<br>
<b>Sent:</b> Wednesday, March 17, 2010 4:25 PM<br>
<b>Cc:</b> mrtg@lists.oetiker.ch<br>
<b>Subject:</b> Re: [mrtg] Can't add any devices with cfgmaker<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Mike Gideon wrote: <o:p></o:p></p>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>Thanks Lyle,</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>I did “cfgmaker --output
/var/www/mrtg/192.191.191.21.cfg <a href="mailto:public@192.191.191.21">public@192.191.191.21</a></span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'>”</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
and got the cfg file. When I run indexmaker on it “indexmaker /var/www/mrtg/192.191.191.21.cfg
> /var/www/mrtg/index2.html”</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>I get a page, but that has problems. It looks like it tried
to create a graph for each interface it found. It looks as if it tried to
create a page /var/www/mrtg/192.191.191.21_3.html, and 192.191.191.21_6.html
etc etc, but there aren’t any 192.191.191.21_#.html files anywhere. The
hyperlink looks right <a href="http://myserver/mrtg/">http://myserver/mrtg/</a></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>192.191.191.21_3.html. </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>Does it appear like I still don’t have the cfgmaker right or
is it something with indexmaker?</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> </span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Are
there # symbols at the front of those lines in the config files?<br>
<br>
<o:p></o:p></span></p>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>What is a good way to organize many devices? I was
thinking of building a cfg directory under the mrtg. It looks like each device
will have many associated html files and that could get complicated. Then
perhaps one master page with a link to all the individual pages I’ve made with
indexmaker. What did you do?</span><o:p></o:p></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> </span></b><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>No,
use rrdtool and Routers2.cgi and stop rebuilding those .png files every 5 minutes.
Huge waste of CPU cycles and severely limits the number of devices you can
monitor using mrtg.<br>
<br>
Lyle<br>
<br>
<br>
<o:p></o:p></span></p>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> </span></b><o:p></o:p></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> </span></b><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'><br>
<b>Subject:</b> Re: [mrtg] Can't add any devices with cfgmaker</span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>Mike Gideon wrote: <o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>I just installed MRTG on
Ubuntu. </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>It seems to be working fine.
I added my local linux with</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>Cfgmaker public@localhost
> /etc/mrtg.cfg</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>That is running just fine,
updating every 5 minutes like it is supposed to. I want to add more
devices now but I get an error. I try </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>Cfgmaker <a
href="mailto:public@192.191.191.21">public@192.191.191.21</a> >
/etc/mrtgtry2.cfg</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>It runs a bit then tells me</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>--base: Get Device Info on <a
href="mailto:public@/etc/mrtgtry2.cfg:">public@/etc/mrtgtry2.cfg:</a></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>Error:</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'> can't resolve
"/etc/mrtgtry2.cfg" to IP address</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'> at /usr/share/perl5/SNMP_util.pm
line 426</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>SNMPWALK Problem for <a
href="mailto:public@/etc/mrtgtry2.cfg::::::v4only">public@/etc/mrtgtry2.cfg::::::v4only</a></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'> at /usr/bin/cfgmaker
line 861</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>WARNING: Skipping <a
href="mailto:public@/etc/mrtgtry2.cfg:">public@/etc/mrtgtry2.cfg:</a> as no
info could be retrieved</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>I can run snmpwalk and get
info back:</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>snmpwalk -Os -c public -v 1
192.191.191.21 system</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>sysDescr.0 = STRING: ProCurve
J4899A Switch 2650, revision H.10.83, ROM H.08.02 (/sw/code/build/fish(mkfs))</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>sysObjectID.0 = OID:
enterprises.11.2.3.7.11.29</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>sysUpTime.0 = Timeticks:
(1094649276) 126 days, 16:41:32.76</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>sysContact.0 = STRING: </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>sysName.0 = STRING: ProCurve
2650</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>sysLocation.0 = STRING:
Server Room</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>sysServices.0 = INTEGER: 74</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>Cfgmaker seems to want to replace
the IP addr of the device with the –output. </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>Am I doing something simple
wrong?</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'>Thanks in advance.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt'> </span><o:p></o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'>Try:<br>
<br>
cfgmaker <a href="mailto:public@192.191.191.21">public@192.191.191.21</a>
-output=/etc/mrtgtry2.cfg<br>
<br>
cfgmaker thinks the second part is a second device to poll.<br>
<br>
Lyle Giese<br>
LCR Computer Services, Inc.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>
</div>
</body>
</html>