Configuring SNMPv3 adapter on Infrastructure Management server or remote cell for Linux


SnmpV3 adapter is supported with Perl 5.26.3 on Linux.

Use precompiled Perl 5.26.3 with FFI::Platypus to configure the SNMPv3 adapter.

Pre-requisites

FFI::Platypus Modules

  • FFI::Platypus
  • Module-Build-0.4231
  • ExtUtils-CBuilder-0.280225
  • Test-Exception-0.43
  • Sub-Uplevel-0.2800
  • Socket6.pm

For more information on the requirements of the BMC Event adapter, see BMC-Event-Adapters-requirements.

To configure SNMP v3 adapters 

Best practice
BMC recommends you deploy SNMPv3 only on the remote IS machine.

Step 1

a) Download the CPAN Linux precompiled Perl 5.26.3 with FFI::Platypus package from the FTPlink.

Important

Use the Internet Explorer browser to open the FTP link.

Step 2

Perform the following steps:

a) Navigate to cd / directory.
b) unzip perl-5.26.3-With-FFI_Platypus-Linux.zip at the root (/) directory
c) chmod -R 777 /localperl to give all permissions
d) Go to $MCELL_HOME/bin directory and edit mcxa.sh for below environment variable, with installed Perl path.
   -> PERL_EXE
    e.g., PERL_EXE="/localperl/bin/perl"

Now you have Perl version 5.26.3 with pre-compiled FFI::Platypus and Socket6 library.

Step 3

Open the $MCELL_HOME/bin/mcxa.sh file and comment the following lines:
LD_LIBRARY_PATH="……”

Step 4

After commenting on the lines and saving the mcxa.sh, set the following environment variables:
a) export PATH=$PATH:<set the Perl binary path>
b) For IPv4, dual-stack or pure IPv6 machine:

export LD_LIBRARY_PATH="/lib:./:/localperl/lib/site_perl/5.26.3/i686-linux/auto:/localperl/lib/site_perl/5.26.3/i686-linux/auto/Socket6:/localperl/lib/site_perl/5.26.3/i686-    linux:/localperl/lib/site_perl/5.26.3/i686-linux/auto/FFI/Platypus:/usr/lib64/:/usr/lib/:/usr/lib64/perl5/CORE/:$MCELL_HOME/bin/"

Step 5

a) After the environment variable settings are done, configure the mcxa.conf file by enabling the required adapters.

b) Configure the following step before starting the mcxa.sh script:

Linux :
Create a soft link for libcrypto.so.6 and libESNMP.so library.

Navigate to the $MCELL_HOME/bin/ folder and run the following command to create the soft link from libcrypto.so.0.9.8 to libcrypto.so.6 
   ln -s libcrypto.so.0.9.8 libcrypto.so.6Run the following command to create the soft link from ESNMP.so to libESNMP.so
   ln -s ESNMP.so libESNMP.so

Then start mcxa.sh

If the Event adapter is still not able to process incoming traps then contact BMC Customer Support.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*