Win2K SP4, NV 7.1.4 for Win.
I have been trying to work with servmon to run a custom shellscript for
status and discovery. There isn't enough info provided to understand
the environment that this Java daemon runs in. The documentation says
to "specify the full path of the launchable application". I have the
same "launchable application" on windows and Unix - it's a shellscript -
but does this script run automatically within a bash environment on Win
servmon? I have tried prefacing the script with bash in my servmon.conf
- I have tried slashes all ways around. The script runs fine standalone
and runs fine under servmon on Unix
servmon.log is full of messages saying "returned value (128) out of
range; assuming test failed.". I have also tried wrapping these scripts
in .bat files - same effect. During testing somewhere along the line,
things have really gone haywire. The script includes a grep. I now see
I have 122 orphan grep processes in task manager, apparently with no
parent process id so no easy way to kill them all.
Any ideas?
Cheers,
Jane
--
Tivoli Certified Consultant & Instructor
Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK
Tel: +44 (0)1628 782565
Copyright (c) 2004 Jane Curry <jane.curry@skills-1st.co.uk>. All rights
reserved.
|