Administer > Policies > Perl Script Policies

Perl Script Policies

Perl script policies enable you to collect data from systems by periodically running Perl scripts which perform the actual data collection.

The Perl functionality that is available for scripting is limited only by the ootb Perl module in the Operations Agent Perl runtime, providing you with additional flexibility compared to policies that just read different file types (logs, XML) or receive data through an API set or web service.

How Data Is Collected

The policies process the data by first running a Perl script to gather data, applying policy defaults and rules, and then sending the processed data to OMi. The Perl script must provide the data in an array of hashes, which are represented as input properties in .

For details on how to write the Perl scripts and how to pass the data to , see Configuring the Data Source in Perl Policies topic.

Related topics

Configuring the Data Source in Perl Policies