nv-l

[nv-l] Variable question

2005-03-21 09:26:40
Subject: [nv-l] Variable question
From: "Mauro" <conosciani.m AT adrtel DOT it>
To: <nv-l AT lists.tivoli DOT com>
Date: Mon, 21 Mar 2005 15:26:16 +0100

Hi folks,

Running Linux 7.2 with Netview 7.1.4 fixpack 2:

I’ve configured trap to be send by mail using the Trapd-àcommand for automatic action:

 

Echo “Node $2 Down” | mail –s “The Node $2 …..”  mymail

 

When I receive it the variable $2 is passed with some kind of special character like

 

Node 172\.21\.12\.3 (rather than 172.21.12.3)…..

 

What wrong with it ?

 

Cheers

 

Mauro

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