nv-l

RE: [nv-l] servmon custom scripts on Windows

2004-02-10 09:20:17
Subject: RE: [nv-l] servmon custom scripts on Windows
From: "Barr, Scott" <Scott_Barr AT csgsystems DOT com>
To: <nv-l AT lists.us.ibm DOT com>, "NetView mailing list" <nv-l AT lists.us.ibm DOT com>
Date: Tue, 10 Feb 2004 08:09:17 -0600
Jane, the PMR I opened on servmon specified two criteria for closing. 1. A Date when the Unix functionality would be complete and also 2. Criteria/specifications for the status/discovery applications. I have not received the information on those applications yet.
 
Bruce was the last one I spoke with on it so he'd be a good choice to ask. (picking up megaphone) "YO BRUCE!"
-----Original Message-----
From: owner-nv-l AT lists.us.ibm DOT com on behalf of Jane Curry
Sent: Tue 2/10/2004 4:20 AM
To: NetView mailing list
Cc:
Subject: [nv-l] servmon custom scripts on Windows

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 AT skills-1st.co DOT uk>.  All rights reserved.


<Prev in Thread] Current Thread [Next in Thread>