Hi All 
  
I am using netview for Unix 7.1.4 fp03 on solaris 2.9 
  
With xnmtrap I have configured command for automatic action
as follows 
sh –x /home/test/remfin “$A $5 C $2 $3”  >>
test.out 
  
What I wanted to do was remove all brackets and quotes in
the string and replace them with nothing or blank. 
It is executing remfin because I tail test.out 
remfin looks like ths 
#!/bin/ksh 
  
Str1=$1 
 echo $Str1     …… 
  
change string and the I do another snmptrap ( and here I see
the _23.5_ etc  in the
trapd.log ) 
  
In test.out the string that is been given to me has already
been modified by something removing the brackets and quotes with a _  but
not by remfin. I have removed all sed statement in remfin. 
What is changing my string?? 
  
If I remove remfin via xnmtrap then nothing happens which
implies that it is being trigged by the correct oid 
  
  
Please help I am going nuts.  
  
  
Thanks 
Vynita 
  
 
___________________________________________ 
The views expressed in this email are, unless otherwise stated, 
those of the author and not those of the FirstRand Banking Group an 
Authorised Financial Service Provider or its management. The information in 
this e-mail is confidential and is intended solely for the addressee. Access 
to this e-mail by anyone else is unauthorised. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or 
 omitted in reliance on this, is prohibited and may be unlawful. Whilst 
all reasonable steps are taken to ensure the accuracy and integrity of 
information and data transmitted electronically and to preserve the 
confidentiality thereof, no liability or  responsibility whatsoever is 
accepted if information or data is, for whatever reason, corrupted  or does 
not reach its intended destination.
  
__________________________________ 
 
 |