| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| MRTG and SNMPv3 on Windows Server 2012 http://www.steveshipway.org/forum/viewtopic.php?f=11&t=9413 |
Page 1 of 1 |
| Author: | rodgerkrau [ Wed Sep 23, 2015 3:00 am ] |
| Post subject: | MRTG and SNMPv3 on Windows Server 2012 |
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? |
|
| Author: | stevesh [ Mon Sep 28, 2015 1:37 pm ] |
| Post subject: | Re: MRTG and SNMPv3 on Windows Server 2012 |
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. |
|
| Author: | rodgerkrau [ Tue Sep 29, 2015 2:30 am ] |
| Post subject: | Re: MRTG and SNMPv3 on Windows Server 2012 |
great, that worked! I do have special characters for my passwords. Should I just be able to put quotes before and after? |
|
| Author: | rodgerkrau [ Tue Sep 29, 2015 2:38 am ] |
| Post subject: | Re: MRTG and SNMPv3 on Windows Server 2012 |
also, I am using AES256. I seemed to get it to work with AES128. Is 256 supported? |
|
| Author: | stevesh [ Tue Sep 29, 2015 9:34 am ] |
| Post subject: | Re: MRTG and SNMPv3 on Windows Server 2012 |
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 |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|