nv-l
[Top] [All Lists]

Re: [nv-l] servRaid traps

To: "Jorge A. Jiles" <Jorge.Jiles@ualberta.ca>
Subject: Re: [nv-l] servRaid traps
From: "Denis Peuziat" <PEUZIATD@fr.ibm.com>
Date: Mon, 19 May 2003 09:47:16 +0200
Cc: nv-l@lists.tivoli.com
Delivered-to: mailing list nv-l@lists.tivoli.com
Delivery-date: Mon, 19 May 2003 08:54:53 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
List-help: <mailto:nv-l-help@lists.tivoli.com>
List-post: <mailto:nv-l@lists.tivoli.com>
List-subscribe: <mailto:nv-l-subscribe@lists.tivoli.com>
List-unsubscribe: <mailto:nv-l-unsubscribe@lists.tivoli.com>
Mailing-list: contact nv-l-help@lists.tivoli.com; run by ezmlm
Here is the trap list and definitions for the ServeRaid manager traps:

(Embedded image moved to file: pic29125.pcx)

When U issue the mib2trap command, U probably get addtrap commands with a
line that says:

-F '$E $G $S , args $*'

or something close. Anyway the -F argument is used to define the message
used when the trap is received. Just replace the content of this argument
with the one above (second column). If U want something really detailed and
want to get the variables passed with the traps, just have a look at the
ServeRaid manager mib file where u have the trap definitions: the variables
are indicated and U just have to replace the %d or %s in the messages from
the third column above by $1, $2, $3....( 1st variable, 2nd variable...)
according to what is said in the mib.

Don't hesitate to contact me if U need further help.

Cordialement,

Denis PEUZIAT
Tivoli Netview Administrator



                                                                                
                                                       
                      "Jorge A. Jiles"                                          
                                                       
                      <Jorge.Jiles@ualb        To:       nv-l@lists.tivoli.com  
                                                       
                      erta.ca>                 cc:                              
                                                       
                                               Subject:  [nv-l] servRaid traps  
                                                       
                      02-05-03 16:39                                            
                                                       
                                                                                
                                                       
                                                                                
                                                       



Hello there, Netview 7.1.2 on Solaris

I want to monitor traps for an IBM server running windows 2000 with
ServRaid. The idea is to get the traps for some ServRaid events. I'm not
familiar with this type of server, but using the ServRaid snmp agent, is
possible to send test traps to Netview.

In the Netview server I compiled the ibmServRaid.mib provided by IBM and
also run the mib2trap utility to add the traps from this file. The problem
I have is that when I send the test trap I don't get the trap definition,
but only the specific trap number. I have tried with several attributes,
but no luck. Does any body know which attribute from 1 to 50 will display
the trap definition?

This is the action line in my ruleset:
/tmp/somecript $NVG $NVA $NVS "$NVATTR_1" "$NVATTR_2"  "$NVATTR_3"
"$NVATTR_4"  "$NVATTR_5"

This is from trapd.log
1051826714 7  Thu May 01 16:05:14 2003 titanic.cns.ualberta.ca   A
ibmServeRaidMIB 6 601 1 args:  [1]
private.enterprises.ibm.ibmProd.167.2.1.3.8.0 (OctetString): titanic

This is what /tmp/somecript logs to some file:
NVG = 6
NVA = titanic.cns.ualberta.ca
NVS = 601
NVATTR1 = titanic
NVATTR2 = 7
NVATTR3 = A
NVATTR4 = A
NVATTR5 = 1
NVATTR6 =
NVATTR7 = 60

Is the servRaid application supposed to provide the trap definition with
the trap? Or is Netview supposed to decode it based in the specific trap
number, provided it does have this traps defined as in this case?

Any help would be appreciated.

Thanks.



Jorge A Jiles
Network Analyst
Computing & Network Services
University of Alberta
Edmonton, Alberta
Canada




---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)




Attachment: pic29125.pcx
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web