new interface setup

Jon Schwendemann <[email protected]> Tue, 13 Feb 2018 17:51:05 +0000
Newsgroups gmane.network.mrtg.user
Message-ID <[email protected]>
--===============1274294921054472235==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_B710E5FB61F52E41A828624C546A98E3011AB527D2dag2cordlocal_"

--_000_B710E5FB61F52E41A828624C546A98E3011AB527D2dag2cordlocal_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

So, I've been working on a new inferface. Trying to use currently working i=
nterface cgfmaker. When running my command, I get this:

NMPopen failed: Received usmStatsWrongDigests.0 Report-PDU with value 10 du=
ring synchronization
at /usr/bin/../lib64/mrtg2/Net_SNMP_util.pm line 1548
                Net_SNMP_util::snmpopen('public@***.***.***.***:::::3:v4onl=
y', 0, 'ARRAY(*********)') called at /usr/bin/../lib64/mrtg2/Net_SNMP_util.=
pm line 1656
                Net_SNMP_util::snmpwalk_flg('public@***.***.***.***:::::3:v=
4only', undef, 'HASH(*********)', 1.3.6.1.2.1.1) called at /usr/bin/../lib6=
4/mrtg2/Net_SNMP_util.pm line 766
                Net_SNMP_util::snmpwalk('public@***.***.***.***:::::3:v4onl=
y', 'HASH(*********)', 1.3.6.1.2.1.1) called at /usr/bin/cfgmaker line 950
                main::DeviceInfo('public@***.***.***.***:::::3', 'HASH(****=
*****)', 'HASH(*********)') called at /usr/bin/cfgmaker line 137
                main::main() called at /usr/bin/cfgmaker line 155
SNMPWALK Problem for public@***.***.***.***:::::3:v4only at /usr/bin/cfgmak=
er line 950
WARNING: Skipping public@***.***.***.***:::::3 as no info could be retrieve=
d

Edited for sensitive info.

Command being run is this:

/usr/bin/cfgmaker --global "WorkDir: /var/www/mrtg/alias" --enablesnmpv3 --=
username=3Dusername --authpassword=3Dpassword --contextengineid=3D******** =
--snmp-options=3D:::::3 --global "Options[_]: bits,growright" --global "Wit=
hPeak[_]: ymwd" --ifdesc=3Dalias --output /etc/mrtg/mrtg_alias.cfg ***.***.=
***.***

Do I have to modify a file on my mrtg server, before I can run this command=
, or is it a config issue between the device and my command?

--_000_B710E5FB61F52E41A828624C546A98E3011AB527D2dag2cordlocal_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"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;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.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=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">So, I&#8217;ve been working on a new inferface. Tryi=
ng to use currently working interface cgfmaker. When running my command, I =
get this:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">NMPopen failed: Received usmStatsWrongDigests.0 Repo=
rt-PDU with value 10 during synchronization<o:p></o:p></p>
<p class=3D"MsoNormal">at /usr/bin/../lib64/mrtg2/Net_SNMP_util.pm line 154=
8<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Net_SNMP_util::snmpopen('public@***.=
***.***.***:::::3:v4only', 0, 'ARRAY(*********)') called at /usr/bin/../lib=
64/mrtg2/Net_SNMP_util.pm line 1656<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Net_SNMP_util::snmpwalk_flg('public@=
***.***.***.***:::::3:v4only', undef, 'HASH(*********)', 1.3.6.1.2.1.1) cal=
led at /usr/bin/../lib64/mrtg2/Net_SNMP_util.pm line 766<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Net_SNMP_util::snmpwalk('public@***.=
***.***.***:::::3:v4only', 'HASH(*********)', 1.3.6.1.2.1.1) called at /usr=
/bin/cfgmaker line 950<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; main::DeviceInfo('public@***.***.***=
.***:::::3', 'HASH(*********)', 'HASH(*********)') called at /usr/bin/cfgma=
ker line 137<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; main::main() called at /usr/bin/cfgm=
aker line 155<o:p></o:p></p>
<p class=3D"MsoNormal">SNMPWALK Problem for public@***.***.***.***:::::3:v4=
only at /usr/bin/cfgmaker line 950<o:p></o:p></p>
<p class=3D"MsoNormal">WARNING: Skipping public@***.***.***.***:::::3 as no=
 info could be retrieved<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Edited for sensitive info.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Command being run is this:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">/usr/bin/cfgmaker --global &quot;WorkDir: /var/www/m=
rtg/alias&quot; --enablesnmpv3 --username=3Dusername --authpassword=3Dpassw=
ord --contextengineid=3D******** --snmp-options=3D:::::3 --global &quot;Opt=
ions[_]: bits,growright&quot; --global &quot;WithPeak[_]: ymwd&quot; --ifde=
sc=3Dalias
 --output /etc/mrtg/mrtg_alias.cfg ***.***.***.***<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Do I have to modify a file on my mrtg server, before=
 I can run this command, or is it a config issue between the device and my =
command?<o:p></o:p></p>
</div>
</body>
</html>

--_000_B710E5FB61F52E41A828624C546A98E3011AB527D2dag2cordlocal_--


--===============1274294921054472235==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

--===============1274294921054472235==--