nv-l
[Top] [All Lists]

Re: noniptopology

To: nv-l@lists.tivoli.com
Subject: Re: noniptopology
From: Leslie Clark <lclark@US.IBM.COM>
Date: Wed, 2 Feb 2000 14:24:07 -0500
 Here's a script for issuing the status trap. It changes the
status of the object on the map. The object must have a
status source of something other than 'compound'. (I'm
not sure if it must be 'symbol'  or 'object').

 #!/bin/ksh

 set -x

 NAME=$1
 STATE=$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 $NAME \

 .1.3.6.1.4.1.2.6.3.1.1.4.0 OctetString "Object status is" \

 .1.3.6.1.4.1.2.6.3.1.1.5.0 OctetString $STATE


Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit
=====================================================================


All I want is to recreate the nvsniffer of NT. I mean create a symbol
representing a service (manually or not), hava a script to test it (I
already have) and set (or get) the state (and color) of the  the symbol
according to the exit code of the script. That's all.
Bye


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

Archive operated by Skills 1st Ltd

See also: The NetView Web