nv-l
[Top] [All Lists]

Re: [NV-L] INformation in traps

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] INformation in traps
From: Dietmar Gaulhofer <DIETMAR_GAULHOFER@at.ibm.com>
Date: Fri, 21 Sep 2007 18:23:29 +0200
Delivery-date: Fri, 21 Sep 2007 17:41:24 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OFEC9267B1.5C556ABA-ONC125735B.0054919F-C125735B.0054E72D@amadeus.com>
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
Hi,

First i would recommend you do an snmpwalk against the SAN switch to a file
, after you grep parts of the OID sent with the trap. You should be able to
see what OID is used Port, Port Index , PortName , which you  need after in
a script useing snmpget .

 I wrote a script as automatic action on the Port Status Change Trap and
gave "$*" as a parameter, in the script you have to extract the OID and do
an snmpget about the Port, PortName whatever ...

or, maybe in your switch the last from the OID-1 is your port . like .


16.0.0.96.105.128.109.226.0.0.0.0.0.0.0.0.21 (Integer): 3


would means port 21-1 = Port 20 , not very nice but might work as well.


And the status (up/down) you have as a value in the trap anyway.. ( like 3
= Up , ...-> check FCMGMT mib )


If you have a cisco-mds then you might only need the Index sent with the
trap , all other information i found in the starndard interface mib.


hope this might help,






                                                                           
             Denis Peuziat                                                 
             <dpeuziat@amadeus                                             
             .com>                                                      To 
             Sent by:                  Tivoli NetView Discussions          
             nv-l-bounces@list         <nv-l@lists.ca.ibm.com>             
             s.ca.ibm.com                                               cc 
                                                                           
                                                                   Subject 
             19.09.2007 17:27          Re: [NV-L] INformation in traps     
                                                                           
                                                                           
             Please respond to                                             
              Tivoli NetView                                               
                Discussions                                                
             <nv-l@lists.ca.ib                                             
                  m.com>                                                   
                                                                           
                                                                           





Hi,

The answer is unfortunately nowhere.
The fiber channel management traps are useless, I used to configure MLM to
check the active ports and issue specific traps when needed, and of course
to block all incoming fcmgmt traps.
This can also be done through a script or in Netview.

Hope this helps,

Best regards

Denis Peuziat
System & Network Engineer
Enterprise Systems Management Specialist
DEV-IIS-OAU-NET
Amadeus IT Group SA
T: +33 4 97 15 46 92
dpeuziat@amadeus.com
www.amadeus.com


(Embedded image moved to file: pic17487.gif)Amadeus logo

                                                                          
 JaneTaylor@hbosplc.com  JaneTaylor@hbosplc.com                           
                                                                          
                                                                          
                     To  Please respond to : Tivoli NetView Discussions   
           nv-l@lists.c  <nv-l@lists.ca.ibm.com>                          
           a.ibm.com                                                      
                     cc                                                   
                         Sent by: nv-l-bounces@lists.ca.ibm.com           
                    bcc  19/09/2007 16:47                                 
                                                                          
                Subject                                                   
           [NV-L]                                                         
           INformation                                                    
           in traps                                                       
                                                                          
                                                                          
                                                                          
                                                                          
                                                                          
                                                                          
                                                                          







Can any one tell me how I get the port number from this entry.

The mib definition is

    connUnitPortStatusChange TRAP-TYPE
       ENTERPRISE fcmgmt
       VARIABLES { connUnitPortStatus, connUnitPortState }
       DESCRIPTION
           "The overall status of the connectivity unit has changed.
           Recommended severity level (for filtering): alert"
       ::= 6


The information in trapd.log looks like this

1190203118 7  Wed Sep 19 12:58:38 2007 192.168.208.242           A fcmgmt 6
6 3 args:  [1] 16.0.0.96.105.128.109.226.0.0.0.0.0.0.0.0.21 (Integer): 9
1190203118 7  Wed Sep 19 12:58:38 2007  192.168.208.242           A  [2]
16.0.0.96.105.128.109.226.0.0.0.0.0.0.0.0.21 (Integer): 3
1190203118 7  Wed Sep 19 12:58:38 2007  192.168.208.242           A  [3]
16.0.0.96.105.128.109.226.0.0.0.0.0.0.0.0.21 (OctetString):

The traps seems to pass on 3 bits of information relating to port status
(9), port state (3) and a blank entry. However, the information in each
line contains the port number 21 at the end of the string of numbers. If
there any way I can pick up this information to forward to tec. I'm not
sure what this information is 16.0.0.96.105.128.109.226.0.0.0.0.0.0.0.0.21
or how I can pick bits out of it.

It would be very useful.

Thanks

Jane


.
----------------------------------------------------------------------------------------------------------------------


HBOS plc, Registered in Scotland No. SC218813. Registered Office: The
Mound, Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of
which are authorised and regulated by the Financial Services Authority.
==============================================================================

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)


Attachment: pic17487.gif
Description: GIF image

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web