[Top] [All Lists]

Re: [nv-l] ovactiond : how to use AdditionalLegalTrapCharacters ?

To: "Philippe Menard" <PME@fr.ibm.com>
Subject: Re: [nv-l] ovactiond : how to use AdditionalLegalTrapCharacters ?
From: John Bruer <ad572@yahoo.com>
Date: 16 Jul 2003 13:15:06 -0500
Cc: nv-l@lists.tivoli.com
Delivered-to: mailing list nv-l@lists.tivoli.com
Delivery-date: Wed, 16 Jul 2003 19:05:44 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF51D8BACB.9F259B1B-ONC1256D65.006183DE-C1256D65.00627368@megacenter.de.ibm.com>
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: <OF51D8BACB.9F259B1B-ONC1256D65.006183DE-C1256D65.00627368@megacenter.de.ibm.com>
Reply-to: nv-l@lists.tivoli.com
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6
"Philippe Menard" <PME@fr.ibm.com> writes:

> All,
> NV 7.1.3, AIX 4.3.3
> please could someone explain how to use the AdditionalLegalTrapCharacters 
> environment variable
> so that ovactiond stops converting some non-alphanumerics with underscores.
> Is it as simple as adding the following to netnmrc.pre ?
> AdditionalLegalTrapCharacters="/:"
> export AdditionalLegalTrapCharacters

Yes.  And then 

# ovstop
# ovstop nvsecd
# /etc/netnmrc

> I really need theses two characters because I can find no way to
> provide scripts with the real name of interfaces in case of
> Interface Down events. My scripts get names such as "Serial4_0_0"
> which depending on devices could be "Serial4/0/0" or
> "Serial4/0:0". Also the Interface Down event contains no ifIndex
> that could be used to snmpget back to the device ...  Best regards,
> Philippe.

In your scripts you will have to do sed replacements to replace \/
with / and \: with :

You're wise to only allow those characters that you specifically

Now, there is a way to get rid of all backslashes and get back to the
"good old days," but it will make your scripts vulnerable to the CERT
alert attack this functionality prevents...but it's certainly not
something I'd recommend.   It's a trivial root compromise by sending a
single unsolicited SNMP trap, however!


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

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