nv-l
[Top] [All Lists]

Re: Changing Objetc status

To: nv-l@lists.tivoli.com
Subject: Re: Changing Objetc status
From: Vladimir Petr <petr@DATASYS.CZ>
Date: Thu, 17 Sep 1998 18:48:19 +0200
Organization: Datasys, s.r.o.
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView et alia <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView et alia <NV-L@UCSBVM.UCSB.EDU>
Miguel;
You can use the status trap, i.e. issue the netview event 58916871 through
snmptrap. 
From a script, let it take arguments, such as the selection name of the object
and the desired status.

For instance,

SELECTION_NAME=$1
STATUS=$2
/usr/OV/bin/snmptrap $(hostname) .1.3.6.1.4.1.2.6.3.1 $(hostname) 6 58916871 1 \
.1.3.6.1.4.1.2.6.3.1.1.2.0 Integer 14 \
.1.3.6.1.4.1.2.6.3.1.1.3.0 OctetString $SELECTION_NAME \
.1.3.6.1.4.1.2.6.3.1.1.4.0 OctetString "Status is" \
.1.3.6.1.4.1.2.6.3.1.1.5.0 OctetString $STATUS


Best regards,
Vladimir


BANDIERAMONTE Miguel TECSIS wrote:
> 
> Hi,
> 
> I´d like to know how to change the object status from the CLI.
>  Thanks.

-- 
********************************
Vladimir Petr

Datasys, s.r.o.
mail: petr@datasys.cz
********************************
If it were done when 'tis done, then 'twere well
It were done quickly.

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

Archive operated by Skills 1st Ltd

See also: The NetView Web