nv-l
[Top] [All Lists]

RE: [nv-l] $NVATTR_2 = 10\.73\.115\.1

To: <nv-l@lists.tivoli.com>
Subject: RE: [nv-l] $NVATTR_2 = 10\.73\.115\.1
From: "Colin Mulkerrins" <Colin.Mulkerrins@anpost.ie>
Date: Wed, 23 Oct 2002 09:44:51 +0100
Jack,

NetView escapes the control characters.  What we do is remove all of the
back slashes in a script then log and forward as appropriate as in

#!/bin/sh
STRING=`echo "$NVATTR_2" | sed  "s:\\\\\\::g" `
echo $STRING >logfile
etc 
etc


Regs

Colin Mulkerrins
Tivoli Administration
An Post


-----Original Message-----
From: Chan, Jack [mailto:jack.chan@nz.unisys.com] 
Sent: 23 October 2002 08:22
To: 'nv-l@lists.tivoli.com'
Subject: [nv-l] $NVATTR_2 = 10\.73\.115\.1 


Hi, 

I have implemented 7.1 Netview on a Solaris 8 today. I have some simple
node down pages and logging of the pages. The paging is done in a script
via a ruleset (action node).

In the script I am paging and logging:

/usr/OV/nvpage.....blah node down $NVATTR_2.....
echo `date` Node Down $NVATTR_2 >> /usr/OV/log/node_down_pages.log

The funny thing is I am getting $NVATTR_2 like 10\.73\.115\.1 in the
logs and pages.

So operations are getting paged with this funny $NVATTR_2, I checked the
trapd.log, it looks normal (without the slashes)

Has someone seen this before? Is there a fix for this?

regards,

Jack

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