nv-l
[Top] [All Lists]

RE: [nv-l] Paging display & nvaction.alog display

To: "'Regina King'" <rking@dss.state.la.us>, nv-l@lists.tivoli.com
Subject: RE: [nv-l] Paging display & nvaction.alog display
From: "Davis, Donald" <donald.davis@firstcitizens.com>
Date: Wed, 19 Jun 2002 13:39:19 -0400

Regina,
This is normal because of a fix for a security exposure with SNMP traps.
They have added code to escape any non alpha-numeric character.
That means "dot" becomes "backslash dot".
Here are 2 code snippet of how I get rid of these backslashes in my E-mail and Paging scripts.

### KORN SHELL ####################
set -A MSG $*
while (( $i <= ${#MSG[*]} ))
do
  TEXT="$TEXT ${MSG[$i]}"
  TEXT=`echo $TEXT | sed 's/\\\//g'`
  let i=$i+1
done
echo $TEXT


### PERL ##########################
foreach (@ARGV) {
  $TEXT.= $_." ";
  $TEXT=~  s/\\//g;
}
print $TEXT;

Don Davis

-----Original Message-----
From: Regina King [mailto:rking@dss.state.la.us]
Sent: Wednesday, June 19, 2002 1:23 PM
To: nv-l@lists.tivoli.com
Subject: [nv-l] Paging display & nvaction.alog display


I am running Netview 6.0.3 on AIX 4.3.3 on 7025 F80 Rs6000.  I have a ruleset in use that sends out pages when a router/switch go down.  For sometime now I have been getting additional characters in the display on the pager.  For example,  a POP site router dssnot.dss.state.la.us went down.  The display on the router that came back was dssnot\.dss\.state\.la\ us DOWN.  Where are the back slashes coming from ?  Is this message that appears in nvaction.alog after the page message,  relating to the page message?

2002/06/18 12:19:43  .//nl_Actionsvr.C[807] :   Varbind contained an =3D
illegal character.
Issuing sanitized version of the varbind:




Regina King, IT Support Specialist
LA Dept. of Social Services
rking@dss.state.la.us
225-342-4731



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

------------------------------------------------------------------------------
This electronic mail and any files transmitted with it are confidential and are intended solely for the use of individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail.

==============================================================================

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

Archive operated by Skills 1st Ltd

See also: The NetView Web