How do I import additional Perl modules for use in AppManager for UNIX knowledge scripts?

  • 7772391
  • 10-Jun-2010
  • 17-May-2012

Environment

  • NetIQ UNIX Agent 7.1
  • AppManager UNIX

Situation

How do I import additional Perl modules for use in AppManager for UNIX knowledge scripts?

Resolution

It is possible to install new Perl modules within the UNIX Agent's Perl distribution. However, if you choose to attempt this, please keep the following in mind:

  • Installing and utilizing additional Perl modules within the NetIQ UNIX Agent is not tested and may create an unstable Agent environment.
  • There is no automated way to install additional Perl modules at this time.

 

  1. Change to the netiq/AM directory
  2. Execute the following to setup the UNIX Agent libraries:
    'export LD_LIBRARY_PATH=/usr/netiq/AM/lib/:$LD_LIBRARY_PATH'
  3. Execute the cpan application to install additional Perl modules:
    './bin/cpan MODULE::NAME'
  4. Accept the default options, select a mirror near you.
  5. For more information on using cpan, see http://www.cpan.org/misc/cpan-faq.html

Cause

The NetIQ UNIX agent includes its own Perl distribution to create a known Perl environment to execute its Perl based Knowledge Scripts within.

Additional Information

Formerly known as NETIQKB72391