nv-l
[Top] [All Lists]

Re: [nv-l] Trap Customization

To: "Bursik, Scott {PBSG}" <Scott.Bursik@pbsg.com>
Subject: Re: [nv-l] Trap Customization
From: Paul Stroud <pstroud@bellsouth.net>
Date: Fri, 14 Mar 2003 10:51:43 -0500
Cc: nv-l@lists.tivoli.com
Delivered-to: mailing list nv-l@lists.tivoli.com
Delivery-date: Fri, 14 Mar 2003 16:54:18 +0000
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
References: <42AF0749A8EB7448A661EC423CBE76FA05FBD6@pbswmu00003.corp.pep.pvt>
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
Scott,
You can address each individual argument in the trap customization using $1.....$n and you can place them in any order that you like. For instance $2 in your example would have produced
"04 44 00".

Paul

Bursik, Scott {PBSG} wrote:

AIX 4.3.3 NetView 7.1.3


I am customizing some traps and I need a method to remove some new line
characters. Here is what I am doing:


This is in the trap customization:
Tape Library Message: From: $A,OID: $e, args($#):$*

Here is the output:

1047607736 2  Thu Mar 13 20:08:56 2003 pbsglto01.fritolay.pvt    A Tape
Library Message: From: pbsglto01.fritolay.pvt,OID: ibm3584MIBTraps, args(7):
1047607736 2  Thu Mar 13 20:08:56 2003  pbsglto01.fritolay.pvt    A  [1]
ibm3584MIBGroupMTMNLSN.ibm3584MIBObjectsMTMNLSN.0 (OctetString): 3584 L32
1311736
1047607736 2  Thu Mar 13 20:08:56 2003  pbsglto01.fritolay.pvt    A  [2]
ibm3584MIBObjectsSKASCASCQ.0 (OctetString): 04 44 00
1047607736 2  Thu Mar 13 20:08:56 2003  pbsglto01.fritolay.pvt    A  [3]
ibm3584MIBGroupHECHECQ.ibm3584MIBObjectsHECHECQ.0 (OctetString): B8 81
1047607736 2  Thu Mar 13 20:08:56 2003  pbsglto01.fritolay.pvt    A  [4]
ibm3584MIBGroupTA.ibm3584MIBObjectsTA.0 (OctetString): 02
1047607736 2  Thu Mar 13 20:08:56 2003  pbsglto01.fritolay.pvt    A  [5]
ibm3584MIBGroupURC.ibm3584MIBObjectsURC.0 (OctetString): CD31
1047607736 2  Thu Mar 13 20:08:56 2003  pbsglto01.fritolay.pvt    A  [6]
ibm3584MIBGroupFFFD.ibm3584MIBObjectsFFFD.0 (OctetString): 06 01
1047607736 2  Thu Mar 13 20:08:56 2003  pbsglto01.fritolay.pvt    A  [7]
ibm3584MIBGroupTD.ibm3584MIBObjectsTD.0 (OctetString): There is a problem
with the library mechanism. If the problem persists, call the library
supplier helpline.

I am looking to have all of the args on one line, not separate lines.
Actually, if I could get the values for the args and not the descriptions
that would help a lot. Here is how I would like it to look:


1047607736 2  Thu Mar 13 20:08:56 2003 pbsglto01.fritolay.pvt    A Tape
Library Message: From: pbsglto01.fritolay.pvt,OID: ibm3584MIBTraps, args(7):
3584 L32 1311736, 04 44 00, B8 81, 02, CD31, 06 01, There is a problem with
the library mechanism. If the problem persists, call the library supplier
helpline.

Is this possible?

Thank You!

Scott Bursik
Pepsico Business Solutions Group
Event Systems Management
972-334-3757
scott.bursik@pbsg.com



---------------------------------------------------------------------
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)





---------------------------------------------------------------------
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