nv-l
[Top] [All Lists]

AW:snmptrap

To: nv-l@lists.tivoli.com
Subject: AW:snmptrap
From: Schiffinger Ralph 2100 <Ralph.Schiffinger@ERSTEBANK.AT>
Date: Thu, 8 Jul 1999 08:16:28 +0200
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Hi,
did that (see below) for a while, and it worked just fine...

#!/bin/ksh
# /home/root/bin/snmptr2
# Not generated, however used for Configurable Status.
# The data passed with the event should be:
# 1) 14
# 2) Selection name of object
# 3) "Object status is"
# 4) One of the words: Unknown, Normal, Marginal, Critical, Up,
#    Down, User1, User2
# snmptr2 target(NMSSR1) node(ip-adr/hostname) objectid(node/interface)
status
eventnumber=58916871
/usr/OV/bin/snmptrap -p162 -t10 -r100 $1 \
        .1.3.6.1.4.1.2.6.3.1 $2 6 $eventnumber 0 \
        .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 $3 \
        .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 "$4"

HTH, Ralph
iT-AUSTRIA / OE2100 / TK-NET
Tel  (mobil)  0664 1908469
Tel  (iT-A)    21717 58948
FAX (iT-A)    21717 58979
Mailto:Ralph.Schiffinger@erstebank.at


> -----Ursprüngliche Nachricht-----
> Von:  Theo Odendaal [SMTP:theoo@IFUSION.CO.ZA]
> Gesendet am:  Donnerstag, 08. Juli 1999 08:05
> An:   NV-L@UCSBVM.ucsb.edu; Schiffinger Ralph 2100
> Betreff:      
> 
>  
> Hi All
> 
> Please could you assist me with the following issue:
> 
> I send through application status i.e. down  via snmptrap, on the map it
> changes to red  (status events), however when I do an ovtopodump  it
> states
> that the device is up.
> 
> How do I upon receiving a trap update the map colours and the ip Topology
> database with the correct status.
> 
> We are running Netview /AIX 5.1 , AIX 4.2.1
> 
> Many Thanks
> 
> 
> Theo

<Prev in Thread] Current Thread [Next in Thread>
  • AW:snmptrap, Schiffinger Ralph 2100 <=

Archive operated by Skills 1st Ltd

See also: The NetView Web