Administer > Monitoring > Policy Templates > Configure Perl Script Policies

Configure Perl Script Policies

Perl Script policies enable you to gather data from monitored systems by periodically running Perl scripts. The scripts perform the actual process of acquiring the data. Perl scripting functionality is made available by the ootb module of the HPE Operations Agent Perl runtime, providing you with additional flexibility compared to policies that either just read different file types (structured log files, XML files) or receive data through an API or web service. Each Perl script that is invoked by a Perl Script policy must provide output data in an array of hashes, which are represented as input properties in the policy editor.

The following types of data can be forwarded to OMi using a corresponding type of the Perl Script policies:

  • Events.

  • Metrics.

  • Generic output data.

Note Before setting up a policy, you should be clear about the purpose and usage of the data in OMi.

Learn More

Tasks

Troubleshooting

This section lists the guidelines for troubleshooting Perl Script policies.

UI Reference

User interface elements of the policy editor (for all monitored and output data types) are described below. The elements are listed alphabetically.