Page 1 of 1

Error while using SNMPV3 aes encryption

Posted: Mon Aug 24, 2015 11:42 am
by yunushaikh
Hello Sir,

I am setting up SNMPv3 for my nagios. I created SNMPV3 user in Nagios using below command
net-snmp-create-v3-user -ro -A nagiosuser -a SHA -X nagiospwd -x AES nagiosuser

When I try to check storage using the below command
./check_snmp_storage.pl -v 3 -H 127.0.0.1 -l nagiosuser -x nagiospwd -L SHA,aes -X nagiospwd -m test -w 80 -c 90 -f

ERROR: Support unavailable for privProtocol [aes] (Required module Crypt/Rijndael.pm not found)

When I create a user using DES encryption and try to look it using DES it works fine. Please suggest if there is any solution.

Thanks a lot for help!!!!

Re: Error while using SNMPV3 aes encryption

Posted: Mon Aug 24, 2015 12:01 pm
by hsmith
yunushaikh wrote:Hello Sir,

I am setting up SNMPv3 for my nagios. I created SNMPV3 user in Nagios using below command
net-snmp-create-v3-user -ro -A nagiosuser -a SHA -X nagiospwd -x AES nagiosuser

When I try to check storage using the below command
./check_snmp_storage.pl -v 3 -H 127.0.0.1 -l nagiosuser -x nagiospwd -L SHA,aes -X nagiospwd -m test -w 80 -c 90 -f

ERROR: Support unavailable for privProtocol [aes] (Required module Crypt/Rijndael.pm not found)

When I create a user using DES encryption and try to look it using DES it works fine. Please suggest if there is any solution.

Thanks a lot for help!!!!
Can you run a yum install perl-Crypt-Rijndael -y and see if this resolves the issue for you?

Re: Error while using SNMPV3 aes encryption

Posted: Tue Aug 25, 2015 12:50 am
by yunushaikh
I already tried to run

yum install perl-Crypt-Rijndael

but it says that no such package available
I am using Centos6.6. You have any mirror list to be added before running this yum install?

Re: Error while using SNMPV3 aes encryption

Posted: Tue Aug 25, 2015 8:06 am
by yunushaikh
Hello Sir I was able to do that and it was resolved.

I think this require epel package
epel-release-6-8.noarch

After installing this I was able to install
yum install perl-Crypt-Rijndael

Thanks a lot for your help. Command also ran fine and gave me the output.

Re: Error while using SNMPV3 aes encryption

Posted: Tue Aug 25, 2015 9:07 am
by tmcdonald
Glad to hear it!

I'll be closing this thread now, but feel free to open another if you need anything in the future!