nv-l
[Top] [All Lists]

Re: [nv-l] How to populate hostname in TEC slot mapping

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] How to populate hostname in TEC slot mapping
From: Jane Curry <jane.curry@skills-1st.co.uk>
Date: Wed, 21 Apr 2004 22:07:57 +0100
Delivery-date: Wed, 21 Apr 2004 22:41:48 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OFAB0A5A5E.90B36459-ON87256E7D.006DBC9D-85256E7D.006DD4E5@us.ibm.com>
References: <OFAB0A5A5E.90B36459-ON87256E7D.006DBC9D-85256E7D.006DD4E5@us.ibm.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007
I am using the xnmtrap GUI where everything gets configured. The middle boxes specify the TEC class to map a TRAP to and the TEC slot mapping. It is the TEC slot mapping where I want access to a hostname variable. I know I can use $COMMUNITY, $ENTERPRISE, $SOURCE_TIME, $TYPE, $SPECIFIC and $V1 - 15 . NetView enterprise TRAPs generally have the second TRAP varbind as the hostname so for that I could use $V2 but many TRAPs don't include the "host with the problem" as a TRAP varbind - it's part of the SNMP/UDP/IP header after all and NetView obviously knows where it came from because he always displays it in the event workspace and make it available as the $A variable if you want to configure an action in the bottom box of the xnmptrap application.

Does that make sense?

Cheers,
Jane

James Shanks wrote:


I'm confused Jane.
Where are you trying to specify the variable? In trapd.conf? In the ruleset itself?
James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group


*Jane Curry <jane.curry@skills-1st.co.uk>*
Sent by: owner-nv-l@lists.us.ibm.com

04/21/2004 03:33 PM
Please respond to
nv-l


        
To
        NetView mailing list <nv-l@lists.us.ibm.com>
cc
        
Subject
        [nv-l] How to populate hostname in TEC slot mapping



        





NetView 7.1.4 for Unix.
I want  be able to populate the hostname TEC slot for any generic TRAP
that NetView is configured to forward to TEC.    Default events in
TEC_ITS.rs seem to get hostname populated automatically.  If I wsa
configuring a NetView TRAP for automatic action, I'd use $A for the
machine that sent the TRAP.  Is there an equivalent environment variable
to use for slot mapping.  I've tried $HOSTNAME and $A to no avail.

Cheers,
Jane

--
Tivoli Certified Consultant & Instructor
Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK
Tel: +44 (0)1628 782565
Copyright (c) 2004 Jane Curry <jane.curry@skills-1st.co.uk>. All rights reserved.




--
Tivoli Certified Consultant & Instructor
Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK
Tel: +44 (0)1628 782565
Copyright (c) 2004 Jane Curry <jane.curry@skills-1st.co.uk>.  All rights 
reserved.



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

Archive operated by Skills 1st Ltd

See also: The NetView Web