[mrtg] MRTG and SNMPv3

McDonald, Daniel (Dan) Dan.McDonald at austinenergy.com
Wed Sep 23 20:21:22 CEST 2015


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

From: mrtg <mrtg-bounces+dan.mcdonald=austinenergy.com at lists.oetiker.ch<mailto:mrtg-bounces+dan.mcdonald=austinenergy.com at lists.oetiker.ch>> on behalf of "Wm. Josiah Erikson" <wjerikson at hampshire.edu<mailto:wjerikson at hampshire.edu>>
Date: Wednesday, September 23, 2015 at 9:35 AM
To: "mrtg at lists.oetiker.ch<mailto:mrtg at lists.oetiker.ch>" <mrtg at lists.oetiker.ch<mailto:mrtg at 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 at leviton.com<mailto:rrau at leviton.com>

From: mrtg [mailto:mrtg-bounces+rrau=leviton.com at lists.oetiker.ch] On Behalf Of Wm. Josiah Erikson
Sent: Wednesday, September 23, 2015 9:52 AM
To: mrtg at lists.oetiker.ch<mailto:mrtg at 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 at xxx.xxx.xxx.xxx<mailto:AdminUser at 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 at xxx.xxx.xxx.xxx:::::3<mailto:AdminUser at 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 at leviton.com<mailto:rrau at leviton.com>

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




_______________________________________________

mrtg mailing list

mrtg at lists.oetiker.ch<mailto:mrtg at 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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20150923/146814f8/attachment.html>


More information about the mrtg mailing list