Error while using SNMPV3 aes encryption

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Error while using SNMPV3 aes encryption

Post 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!!!!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Error while using SNMPV3 aes encryption

Post 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?
Former Nagios Employee.
me.
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Error while using SNMPV3 aes encryption

Post 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?
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Error while using SNMPV3 aes encryption

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Error while using SNMPV3 aes encryption

Post 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!
Former Nagios employee
Locked