Paul,
On 27 Oct 10, at 1532 , Paul M. Hill wrote:
I am trying to embed a sh script into a command-line probe. I don't
have access to the Intermapper server and need to rely on someone
else's availability load script updates.
This is a shell script.
An older version of the script was saved once. The embedded versions
are ignored. Renaming the embedded script ends up with the renamed
script not being found.
I have read the DevGuide.
Probe is below. Any help to get probe to use embedded script?
I don't have enough information to diagnose the problem caused by the
old script. One likely cause of your problem is that the script
itself is not an executable. The solution is to change your <command-
line> to use:
cmd = "/bin/sh Websphere.sh $Mydevice"
Once you have the script executing, you will see another problem. The
script has not output, so the probe has nothing useful to display.
Take another look at the Dev Guide section on Command-line Probes,
particularly the part on the Command Line Script API. This will
explain how to set probe variables in the output of the script.
Regards,
-Dick
--------------------------------------
Richard M. Colburn
Dartware, LLC
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]