Tried that. Tried it without the quotes. Tried it with single quotes. Tried moving the .pl script to the same directory as the perl interpreter:
"c:\perl\bin\perl.exe c:\perl\bin\checkevt.pl -p noos-dc01:security:10:1:*:*:id:644"
None of this seems to work. Help! Has anyone else got this working?
Ian
Ian K Gray
OEL IS - European Network Operations
Tel: +44 1236 502661
Mob: +44 7881 518854
| "Dirk Bulinckx"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 14/10/2004 09:58
|
|
The complete commandline should be within the quotes and not just the path/name of the script., and also I think that you should include the perl interpretor within the command. The association between a .PL file and the perl interpretor isn't done when executing a command via Servers Alive (the API calls we're using are apparently not doing this).
Dirk.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: [SA-list] Event log check
OK, now I'm trying the old perl checker. It seems to work on the command line, but if I put it into SA (using external errorlevel check) it comes up with an unknown application error:
14 October 2004 08:48:30 External check of :"C:\Program Files\salive\external\checkevt.pl" -p noos-dc01:security:10:1:*:*:id:644
14 October 2004 08:48:30 ERR : Unknown application ("C:\Program Files\salive\external\checkevt.pl" -p noos-dc01:security:10:1:*:*:id:644)
What am I doing wrong??
Thanks,
Ian
Ian K Gray
OEL IS - European Network Operations
Tel: +44 1236 502661
Mob: +44 7881 518854
