nv-l
[Top] [All Lists]

Re: traps via mlm

To: nv-l@lists.tivoli.com
Subject: Re: traps via mlm
From: helmut.schroeder.hs@bayer-ag.de
Date: Wed, 10 Oct 2001 10:18:42 +0200

Oliver,

Thanks, nice idea but ....

I do not have all trap sending devices as NV objects. In some cases
I use MLM and NV just for basic filtering and correlation before forwarding
events
to the T/EC (just trap handling - nothing on the map)

As the information of the trap sending MLM should be available (ip source
address), I was
wondering if there might be a (undocumented) variable available for the event
definition /
slot mapping to get access to this information

Cheers - Helmut







"Oliver Bruchhaeuser" <oliver.bruchhaeuser@de.ibm.com>@tkg.com on 09.10.2001
09:54:13

Bitte antworten an IBM NetView Discussion <nv-l@tkg.com>

Gesendet von:  owner-nv-l@tkg.com



An:   IBM NetView Discussion <nv-l@tkg.com>
Kopie:
Blindkopie:
Thema:    Re: [NV-L] traps via mlm

Helmut,

there is no easy way to do this.
But maybe you think about the following:

1. Forget the normal TEC forwarding.
2. Create a ruleset running from ESE.automation.
3. Pizza: Block. Put in your normal trap filtering.
4. End with an action node.
5. In this action you have to determine the Object ID of the node.
   In netmon traps you will find it normally as part of $NVATTR_4.
   In agent traps I would try to use something like this:
   /usr/OV/bin/nvgethost $NVATTR_2 | /usr/bin/awk '{print $1}' |\
     /usr/bin/xargs /usr/OV/bin/ovobjprint -s |\
     /usr/bin/grep "^OBJECT:" | /usr/bin/awk '{print $NF}'
6. Use this OID now to find out the MLM smartset:
   /usr/OV/bin/nvUtil s ObjectID | /usr/bin/grep mlmDomain_
   (if you have changed the prefix name of the MLM SmartSet
    you have to change "mlmDomain" with this one configured behind the
    netmon -C option)
7. use wpostemsg to generate the TEC event.
   Send along the smartset name (or "cut -d_ -f2" of the name).

Just an idea. Maybe the other NetView gurus have better ones ;-)

Kind regards

Oliver Bruchhaeuser
Tivoli NetView EMEA L2 Support

IBM Deutschland GmbH - ITS Tivoli - Dept. 7977 - Hechtsheimer Str. 2 -
55131 Mainz - Germany
Phone: +49-6131-84-5108 - Fax: +49-6131-84-6585 - email:
bruchhae@de.ibm.com

Need help with Tivoli Software Products?
Ask Tivoli!
http://www.tivoli.com/asktivoli (login with your customer account)



                    helmut.schroeder.hs@b

                    ayer-ag.de                  To:     IBM NetView Discussion
<nv-l@tkg.com>
                    Sent by:                    cc:

                    owner-nv-l@tkg.com          Subject:     [NV-L] traps via
mlm


                    08.10.2001 11:48

                    Please respond to IBM

                    NetView Discussion








Hi all,

this NV 6.0.2 on AIX with several MLMs:

when receiving traps I would like to know from which MLM
they were send (not the trap agent's address) but I did not find
any variable which represents this value ?

I'd like to group events per MLM in the T/EC as the MLM
represents a site (trap destination for all local devices)
 .... and the ip subnetting so chaotic that I cannot
use the agent's address to determine the site
 ...any ideas  ?
Thanks in advance - Helmut Schroeder


_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l



_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


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

Archive operated by Skills 1st Ltd

See also: The NetView Web