Subscribe

Perl Script not running in Ops Mgr

Hello ;

I am getting the following error when I go to run a custom Perl Script that I have just upload into Ops Mgr:

"Execution of 'D:\NetApp\DataFabric Manager\DFM\script_plugins\SIPR_Report_Batch_File_CMDB\SIPR_Report_Batch_File_CMDB.pl' failed.  Reason %1 is not a valid win32 application"

I have the exact same script running on 2 other networks without issue.  The only thing configured different is the Installation Directory of DFM. 

Any help would be great.

Daron Henson

NetApp PSE

Perl Script not running in Ops Mgr

Hey Daron,

You'll be best served to wrap your Perl script into a batch file wrapper script and then allow OpsMgr to call that...

This would be the contents of your batchfile:

perl "C:\Documents and Settings\administrator\Desktop\SomeScript.pl" > "C:\Documents and Settings\administrator\Desktop\output.txt"

and then have OpsMgr call that batchfile (this assumes Perl is in your PATH)

Let me know if you need any more help


Cheers

rich