Can a Perl Script be used for the executable of a Server Tool in SMARTS?
search cancel

Can a Perl Script be used for the executable of a Server Tool in SMARTS?

book

Article ID: 303909

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


Can a Perl Script be used for the executable of a Server Tool? 

Environment

VMware Smart Assurance - SMARTS

Resolution

This can be done if the following conditions are met:

  1. MUST be running at least SAM 6.2 SP1.
  2. CANNOT be running on a Windows Platform (not tested).
  3. Ensure the script is executable, chmod +x.
  4. The first line of the Perl script must contain #!/path/to/perl.
  5. Add the path to the Perl API to @INC variable with "use lib" command in perl script.