Hello,
I have a perl script I have removed from a nagios system.
I have installed Perl on the Opmanager server and can successfully run the script from CMD on the opmanager server and get the output im expecting.
I now want to be able to have opmanager monitor this script and generate an alarm based on the output. My issue is for the life of me I cant get the script to run.
The commands I issue in the CMD line are "perl check_cvprocessing.pl cvprocessing 60 180"
How do I get this to run in opmanager?
When I test the script I get the output
Executing script please wait
Exit Code
Message
Data
Can someone explain to me what I need to enter in each section to get this to run?
Command Line
Script Body - I copy the perl script into this section, is that correct?
Execute from - I select Local server and select my opmanager server from the list.
Execution Directory