nv-l
[Top] [All Lists]

[nv-l] servmon custom scripts on Windows

To: NetView mailing list <nv-l@lists.us.ibm.com>
Subject: [nv-l] servmon custom scripts on Windows
From: Jane Curry <jane.curry@skills-1st.co.uk>
Date: Tue, 10 Feb 2004 10:20:18 +0000
Delivery-date: Tue, 10 Feb 2004 10:27:14 +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
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007
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