nv-l
[Top] [All Lists]

Command in Registration File with 2 options

To: nv-l@lists.tivoli.com
Subject: Command in Registration File with 2 options
From: sylvia.koch@emprise.de
Date: Tue, 4 Apr 2000 14:11:48 +0200

Does anybody have an idea to the following problem:

According to customers request I want to modify the registration file of
the IP/TCP/SNMP Connectivity Test.
The relevant parts of the original file
/usr/OV/registration/C/ovip/NNM-IP.tbl are:

     Command -Shared '${xnmappmon:-/usr/OV/bin/xnmappmon}';
                ...
     Action 'Test All Protocols' {
          ...
          CallbackArgs   ' ...
                    -appendSelectList -appendSelectListToTitle \
                    ...
                    -cmd /usr/OV/bin/netcheck -e'

I changed the command to
                    -cmd /usr/OV/bin/netcheck -e -o tcpPort=21'

But at execution time, this results in the error message
                    /bin/sh: -o: not found.

If I type in the command                 netcheck -e -o tcpPort=21
192.100.12.88
at command line it works fine.

What's wrong? Isn't it possible to specify two options? Any hints will be
appreciated.

Thanks in advance
Sylvia


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

Archive operated by Skills 1st Ltd

See also: The NetView Web