Cheshire Cat Computing

Software support and information
It is currently Tue Oct 24, 2017 7:37 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed Sep 23, 2015 3:00 am 
Offline
User

Joined: Wed Sep 23, 2015 2:52 am
Posts: 3
Just installed MRTG (and PERL) on a Server 2012 server. Created a config file via cfgmaker. I am able to capture data from all my routers. However, I cannot connect to any that has SNMPv3 enabled. I went ahead and installed net-snmp and tried running: perl cfgmaker --enablesnmpv3 --username=username --authpassword=authpassword --authprotocol=sha --privpassword=privpassword --privprotocol=aes --ifref=ip --community=vector xxx.xxx.xxx.xxx:::::3
I get the following error: WARNING: SNMP V3 libraries not found, SNMP V3 disabled. Falling back to V2c.

How do I go ahead and install the SNMPv3 libraries on a Windows server?


Top
 Profile Send private message  
 
PostPosted: Mon Sep 28, 2015 1:37 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Under Windows, try using the PPM command, to install the Perl modules Crypt::Rijndael, Crypt::DES, Digest:SHA1, Digest::SHA, Digest::MD5 and of course Net::SNMP.

Once these are all installed, make sure that your SNMPv3 auth passwords etc do not have any strange characters in them -- if they do, make sure thay are properly quoted.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Tue Sep 29, 2015 2:30 am 
Offline
User

Joined: Wed Sep 23, 2015 2:52 am
Posts: 3
great, that worked! I do have special characters for my passwords. Should I just be able to put quotes before and after?


Top
 Profile Send private message  
 
PostPosted: Tue Sep 29, 2015 2:38 am 
Offline
User

Joined: Wed Sep 23, 2015 2:52 am
Posts: 3
also, I am using AES256. I seemed to get it to work with AES128. Is 256 supported?


Top
 Profile Send private message  
 
PostPosted: Tue Sep 29, 2015 9:34 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Quoting rules will depend on the language and OS you are using; as far as Perl/SNMP/MRTG are concerned, any can work, if escaped correctly. Note that in MRTG files, spaces and colons and other special characters need to be escaped in Target definitions. QUoting before and after will probably work (but if your string contains quotes, then...)

AES256 should work, but you may need to install additional encryption modules, such as Crypt::Cipher::AES

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group