nv-l
[Top] [All Lists]

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

To: <nv-l@lists.us.ibm.com>, "NetView mailing list" <nv-l@lists.us.ibm.com>
Subject: RE: [nv-l] servmon custom scripts on Windows
From: "Barr, Scott" <Scott_Barr@csgsystems.com>
Date: Tue, 10 Feb 2004 08:09:17 -0600
Delivery-date: Tue, 10 Feb 2004 14:20:17 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Thread-index: AcPvv8Vhcl33TaqeSPWeNGDYGLw46wAH3vE/
Thread-topic: [nv-l] servmon custom scripts on Windows
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@lists.us.ibm.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@skills-1st.co.uk>.  All rights reserved.


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

Archive operated by Skills 1st Ltd

See also: The NetView Web