<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Mike Gideon wrote:
<blockquote
cite="mid:DF09AD870C03E34282E88D241388E8164B44F2@nsmail2.newstarfresh.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<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;}
/* 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:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@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]-->
<div class="Section1">
<p class="MsoNormal"><span style="font-size: 10pt;">I just installed
MRTG on
Ubuntu. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">It seems to be
working fine.
I added my local linux with<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">Cfgmaker
public@localhost
> /etc/mrtg.cfg<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">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 <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">Cfgmaker <a
moz-do-not-send="true" href="mailto:public@192.191.191.21">public@192.191.191.21</a>
>
/etc/mrtgtry2.cfg<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">It runs a bit
then tells me<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">--base: Get
Device Info on
<a class="moz-txt-link-abbreviated" href="mailto:public@/etc/mrtgtry2.cfg:">public@/etc/mrtgtry2.cfg:</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">Error:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"> can't resolve
"/etc/mrtgtry2.cfg" to IP address<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"> at
/usr/share/perl5/SNMP_util.pm line 426<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">SNMPWALK Problem
for
<a class="moz-txt-link-abbreviated" href="mailto:public@/etc/mrtgtry2.cfg::::::v4only">public@/etc/mrtgtry2.cfg::::::v4only</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"> at
/usr/bin/cfgmaker
line 861<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">WARNING: Skipping
<a class="moz-txt-link-abbreviated" href="mailto:public@/etc/mrtgtry2.cfg:">public@/etc/mrtgtry2.cfg:</a> as no info could be retrieved<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">I can run
snmpwalk and get
info back:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">snmpwalk -Os -c
public -v 1
192.191.191.21 system<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">sysDescr.0 =
STRING: ProCurve
J4899A Switch 2650, revision H.10.83, ROM H.08.02
(/sw/code/build/fish(mkfs))<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">sysObjectID.0 =
OID: enterprises.11.2.3.7.11.29<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">sysUpTime.0 =
Timeticks:
(1094649276) 126 days, 16:41:32.76<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">sysContact.0 =
STRING: <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">sysName.0 =
STRING: ProCurve
2650<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">sysLocation.0 =
STRING: Server
Room<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">sysServices.0 =
INTEGER: 74<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">Cfgmaker seems to
want to
replace the IP addr of the device with the –output. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">Am I doing
something simple
wrong?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">Thanks in advance.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"><o:p> </o:p></span></p>
</div>
</blockquote>
Try:<br>
<br>
cfgmaker <a class="moz-txt-link-abbreviated" 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.<br>
<br>
</body>
</html>