[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mrtg
Subject:    Re: [mrtg] MRTG and SNMPv3
From:       "Rau, Rodger" <RRau () leviton ! com>
Date:       2015-09-23 19:39:07
Message-ID: 7fce59b9cebd428f9f47db8b091a5b53 () W2CKEXMB1 ! leviton ! inc
[Download RAW message or body]

Got it working on Linux. Thank you all!

Rodger Rau
Senior Network Engineer, Information Management
T: 631 812-6181 | F: 631 812-6330
Leviton Manufacturing Co., Inc.
www.leviton.com | rrau@leviton.com

From: mrtg [mailto:mrtg-bounces+rrau=leviton.com@lists.oetiker.ch] On Behalf Of \
                McDonald, Daniel (Dan)
Sent: Wednesday, September 23, 2015 2:21 PM
To: Wm. Josiah Erikson; mrtg@lists.oetiker.ch
Subject: Re: [mrtg] MRTG and SNMPv3

You probably also need perl-Crypt-Rijndael, if you are using AES privacy credentials.

From: mrtg <mrtg-bounces+dan.mcdonald=austinenergy.com@lists.oetiker.ch<mailto:mrtg-bounces+dan.mcdonald=austinenergy.com@lists.oetiker.ch>> \
on behalf of "Wm. Josiah Erikson" \
                <wjerikson@hampshire.edu<mailto:wjerikson@hampshire.edu>>
Date: Wednesday, September 23, 2015 at 9:35 AM
To: "mrtg@lists.oetiker.ch<mailto:mrtg@lists.oetiker.ch>" \
                <mrtg@lists.oetiker.ch<mailto:mrtg@lists.oetiker.ch>>
Subject: Re: [mrtg] MRTG and SNMPv3

Rodger,
    Either enable the CentOS Base Repo ( edit /etc/yum.repos.d/CentOS-Base.repo and \
enable it), where that package lives, or download and install it manually from here \
(or any number of other rpmfind-like services):

http://rpm.pbone.net/index.php3/stat/4/idpl/29075690/dir/centos_7/com/perl-Crypt-DES-2.05-20.el7.x86_64.rpm.html


    -Josiah

On 9/23/15 10:08 AM, Rau, Rodger wrote:
I did do that..however, I get the following error:

Error: Package: perl-Net-SNMP-6.0.1-7.e17.noarch (epel)
                                Requires: perl (Crypt::DES)
You could try using -skip-broken to work around the problem
You could try running: rpm -Va -nofiles -nodigest

Then I try: #yum install perl-Crypt-DES
No package available


Rodger Rau
Senior Network Engineer, Information Management
T: 631 812-6181 | F: 631 812-6330
Leviton Manufacturing Co., Inc.
www.leviton.com<http://www.leviton.com>| rrau@leviton.com<mailto:rrau@leviton.com>


From: mrtg [mailto:mrtg-bounces+rrau=leviton.com@lists.oetiker.ch] On Behalf Of Wm. \
                Josiah Erikson
Sent: Wednesday, September 23, 2015 9:52 AM
To: mrtg@lists.oetiker.ch<mailto:mrtg@lists.oetiker.ch>
Subject: Re: [mrtg] MRTG and SNMPv3

Well, you have to install the SNMP v3 libraries. I don't know about Windows, but on \
                RHEL 7 it should be as simple as "yum install net-snmp-perl", I \
                think.
    -Josiah


On 9/23/15 9:38 AM, Rau, Rodger wrote:
Need some help.  Configuring MRTG for the first time.  Have MRTG (v2.17.4) installed \
on a Windows 2012 Server with ActivePerl (v5.20.2) and Net-SNMP (v5.5.0).  I used \
cfgmaker for a base config file and added all my routers.  I am able to capture data \
from all but the ones that require SNMPv3.

I am running the following command:
E:\mrtg-2.17.4\bin>perl cfgmaker --global "WorkDir: e:\mrtg" --output mrtg.cfg \
--enablesnmpv3 --username=AdminUser --authpassword=authpassword --authproto=sha \
--privpassword=privpassword --privprotocol=aes --snmp-options=:::::3 \
--contextengineid=0 AdminUser@xxx.xxx.xxx.xxx<mailto:AdminUser@xxx.xxx.xxx.xxx>

I get the following error:
WARNING: SNMP V3 libraries not found, SNMP V3 disabled. Falling back to V2c. \
reverting to snmpV2c for router \
AdminUser@xxx.xxx.xxx.xxx:::::3<mailto:AdminUser@xxx.xxx.xxx.xxxd:::::3>

I tested this on a Linux server (RHEL7) as well and get the same error.


Rodger Rau
Senior Network Engineer, Information Management
T: 631 812-6181 | F: 631 812-6330

Leviton Manufacturing Co., Inc.
201 North Service Road., Melville, NY 11747
www.leviton.com<http://www.leviton.com> | rrau@leviton.com<mailto:rrau@leviton.com>

Stay Connected with FREE Leviton Mobile Apps: \
www.leviton.com/apps<http://www.leviton.com/apps>





_______________________________________________

mrtg mailing list

mrtg@lists.oetiker.ch<mailto:mrtg@lists.oetiker.ch>

https://lists.oetiker.ch/cgi-bin/listinfo/mrtg




--

Wm. Josiah Erikson

Assistant Director of IT, Infrastructure Group

System Administrator, School of CS

Hampshire College

Amherst, MA 01002

(413) 559-6091



--

Wm. Josiah Erikson

Assistant Director of IT, Infrastructure Group

System Administrator, School of CS

Hampshire College

Amherst, MA 01002

(413) 559-6091


[Attachment #3 (text/html)]

<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:x="urn:schemas-microsoft-com:office:excel" \
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 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;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
	{font-family:"Times New Roman \,serif";
	panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Menlo;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
/* 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:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;
	color:black;}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.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">Got it working on Linux. Thank you \
all!<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="color:#1F497D"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><b>Rodger \
Rau</b><br> <span style="font-size:9.0pt">Senior Network Engineer, Information \
Management<br> <b>T: </b>631 812-6181<b> | F: </b>631 812-6330<br>
</span><b><span style="font-size:10.0pt;color:#001D68">Leviton Manufacturing Co., \
Inc.</span></b><span style="font-size:10.0pt;color:#001D68"><br> </span><span \
style="font-size:9.0pt">www.leviton.com <b>| </b>rrau@leviton.com<br> <br>
</span><span style="color:#1F497D"><o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span \
style="color:windowtext"> mrtg \
[mailto:mrtg-bounces&#43;rrau=leviton.com@lists.oetiker.ch] <b>On Behalf Of \
</b>McDonald, Daniel (Dan)<br> <b>Sent:</b> Wednesday, September 23, 2015 2:21 PM<br>
<b>To:</b> Wm. Josiah Erikson; mrtg@lists.oetiker.ch<br>
<b>Subject:</b> Re: [mrtg] MRTG and SNMPv3<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt">You probably also \
need&nbsp;</span><span \
style="font-size:8.5pt;font-family:&quot;Menlo&quot;,serif">perl-Crypt-Rijndael, if \
you are using AES privacy credentials.</span><span \
style="font-size:10.5pt"><o:p></o:p></span></p> </div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt"><o:p>&nbsp;</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>From: </b>mrtg &lt;<a \
href="mailto:mrtg-bounces&#43;dan.mcdonald=austinenergy.com@lists.oetiker.ch">mrtg-bounces&#43;dan.mcdonald=austinenergy.com@lists.oetiker.ch</a>&gt; \
on behalf of &quot;Wm. Josiah Erikson&quot; &lt;<a \
href="mailto:wjerikson@hampshire.edu">wjerikson@hampshire.edu</a>&gt;<br> <b>Date: \
</b>Wednesday, September 23, 2015 at 9:35 AM<br> <b>To: </b>&quot;<a \
href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a>&quot; &lt;<a \
href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a>&gt;<br> <b>Subject: \
</b>Re: [mrtg] MRTG and SNMPv3<o:p></o:p></p> </div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt"><o:p>&nbsp;</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" style="margin-bottom:12.0pt"><span \
style="font-size:10.5pt">Rodger,<br> &nbsp;&nbsp;&nbsp; Either enable the CentOS Base \
Repo ( edit /etc/yum.repos.d/CentOS-Base.repo and enable it), where that package \
lives, or download and install it manually from here (or any number of other \
rpmfind-like services):<br> <br>
<a href="http://rpm.pbone.net/index.php3/stat/4/idpl/29075690/dir/centos_7/com/perl-Cr \
ypt-DES-2.05-20.el7.x86_64.rpm.html">http://rpm.pbone.net/index.php3/stat/4/idpl/29075690/dir/centos_7/com/perl-Crypt-DES-2.05-20.el7.x86_64.rpm.html</a><br>
 <br>
&nbsp;&nbsp;&nbsp; -Josiah<br>
<br>
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt">On 9/23/15 10:08 AM, Rau, Rodger \
wrote:<o:p></o:p></span></p> </div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:#1F497D">I did do that..however, I get the \
following error:</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D">&nbsp;</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D">Error: Package: perl-Net-SNMP-6.0.1-7.e17.noarch \
(epel)</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs \
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Requires: perl (Crypt::DES)</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D">You could try using &#8211;skip-broken to work around the \
problem</span><o:p></o:p></p> <p class="MsoNormal"><span style="color:#1F497D">You \
could try running: rpm &#8211;Va &#8211;nofiles &#8211;nodigest</span><o:p></o:p></p> \
<p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p> <p \
class="MsoNormal"><span style="color:#1F497D">Then I try: #yum install \
perl-Crypt-DES</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D">No package available</span><o:p></o:p></p> <p \
class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p> <p \
class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p> <p \
class="MsoNormal"><b>Rodger Rau</b><br> <span style="font-size:9.0pt">Senior Network \
Engineer, Information Management<br> <b>T: </b>631 812-6181<b> | F: </b>631 \
812-6330<br> </span><b><span style="font-size:10.0pt;color:#001D68">Leviton \
Manufacturing Co., Inc.</span></b><span style="font-size:10.0pt;color:#001D68"><br> \
</span><span style="font-size:9.0pt"><a \
href="http://www.leviton.com">www.leviton.com</a><b>| </b><a \
href="mailto:rrau@leviton.com">rrau@leviton.com</a><br> <br>
<br>
</span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span \
style="color:windowtext"> mrtg [<a \
href="mailto:mrtg-bounces&#43;rrau=leviton.com@lists.oetiker.ch">mailto:mrtg-bounces&#43;rrau=leviton.com@lists.oetiker.ch</a>]
 <b>On Behalf Of </b>Wm. Josiah Erikson<br>
<b>Sent:</b> Wednesday, September 23, 2015 9:52 AM<br>
<b>To:</b> <a href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a><br>
<b>Subject:</b> Re: [mrtg] MRTG and SNMPv3</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Well, you have to install the SNMP \
v3 libraries. I don't know about Windows, but on RHEL 7 it should be as simple as \
&quot;yum install net-snmp-perl&quot;, I think.<br> &nbsp;&nbsp;&nbsp; -Josiah<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On 9/23/15 9:38 AM, Rau, Rodger wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Need some help.&nbsp; Configuring MRTG for the first time.&nbsp; \
Have MRTG (v2.17.4) installed on a Windows 2012 Server with ActivePerl (v5.20.2) and \
Net-SNMP (v5.5.0).&nbsp; I used cfgmaker for a base config file and added all my \
routers.&nbsp; I am able  to capture data from all but the ones that require SNMPv3. \
<o:p></o:p></p> <p class="MsoNormal"><b>&nbsp;</b><o:p></o:p></p>
<p class="MsoNormal"><b><u>I am running the following command:</u></b><o:p></o:p></p>
<p class="MsoNormal">E:\mrtg-2.17.4\bin&gt;perl cfgmaker --global &quot;WorkDir: \
e:\mrtg&quot; --output mrtg.cfg --enablesnmpv3 --username=AdminUser \
--authpassword=authpassword --authproto=sha --privpassword=privpassword \
--privprotocol=aes --snmp-options=:::::3 --contextengineid=0 <a \
href="mailto:AdminUser@xxx.xxx.xxx.xxx">AdminUser@xxx.xxx.xxx.xxx</a><o:p></o:p></p> \
<p class="MsoNormal">&nbsp;<o:p></o:p></p> <p class="MsoNormal"><b><u>I get the \
following error: </u></b><o:p></o:p></p> <p class="MsoNormal">WARNING: SNMP V3 \
libraries not found, SNMP V3 disabled. Falling back to V2c. reverting to snmpV2c for \
router <a href="mailto:AdminUser@xxx.xxx.xxx.xxxd:::::3">AdminUser@xxx.xxx.xxx.xxx:::::3</a><o:p></o:p></p>
 <p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">I tested this on a Linux server (RHEL7) as well and get the same \
error.<o:p></o:p></p> <p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><b>Rodger Rau</b><br>
<span style="font-size:9.0pt">Senior Network Engineer, Information Management<br>
<b>T: </b>631 812-6181<b> | F: </b>631 812-6330<br>
<br>
</span><b><span style="font-size:10.0pt;color:#001D68">Leviton Manufacturing Co., \
Inc.</span></b><span style="font-size:10.0pt;color:#001D68"><br> </span><span \
style="font-size:9.0pt">201 North Service Road., Melville, NY 11747<br> <a \
href="http://www.leviton.com">www.leviton.com</a> <b>| </b><a \
href="mailto:rrau@leviton.com">rrau@leviton.com</a><br> <br>
<i>Stay Connected with FREE Leviton Mobile Apps: <a \
href="http://www.leviton.com/apps"> \
www.leviton.com/apps</a></i></span><o:p></o:p></p> <p class="MsoNormal"><span \
style="font-size:12.0pt;font-family:&quot;Times New Roman ,serif&quot;,serif"><br> \
<br> <br>
<br>
</span><o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>mrtg mailing list<o:p></o:p></pre>
<pre><a href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a><o:p></o:p></pre>
 <pre><a href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg">https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</a><o:p></o:p></pre>
 </blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman \
,serif&quot;,serif"><br> <br>
<br>
</span><o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Wm. Josiah Erikson<o:p></o:p></pre>
<pre>Assistant Director of IT, Infrastructure Group<o:p></o:p></pre>
<pre>System Administrator, School of CS<o:p></o:p></pre>
<pre>Hampshire College<o:p></o:p></pre>
<pre>Amherst, MA 01002<o:p></o:p></pre>
<pre>(413) 559-6091<o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:10.5pt"><br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>Wm. Josiah Erikson<o:p></o:p></pre>
<pre>Assistant Director of IT, Infrastructure Group<o:p></o:p></pre>
<pre>System Administrator, School of CS<o:p></o:p></pre>
<pre>Hampshire College<o:p></o:p></pre>
<pre>Amherst, MA 01002<o:p></o:p></pre>
<pre>(413) 559-6091<o:p></o:p></pre>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
</body>
</html>



_______________________________________________
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

--===============4251314295117481393==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic