nv-l

RE: [nv-l] Node down events.

2004-03-10 10:57:19
Subject: RE: [nv-l] Node down events.
From: "Qureshi, Fawad" <Fawad.Qureshi AT ssa DOT gov>
To: "'nv-l AT lists.us.ibm DOT com'" <nv-l AT lists.us.ibm DOT com>
Date: Wed, 10 Mar 2004 10:41:39 -0500

We call a shell script which extracts the short name. We then use wpostemsg to send to TEC. You can also reconstruct the trap with snmptrap if you like.

 

In shell script, you can so the following ($I is the variable with hostname in it e.g. $NVA):

 

SHORTNAME=`echo $I | cut -f1 -d'.'`

 

Cheers

 

Fawad

 

-----Original Message-----
From: owner-nv-l AT lists.us.ibm DOT com [mailto:owner-nv-l AT lists.us.ibm DOT com] On Behalf Of Fernandez, Rick
Sent:
Wednesday, March 10, 2004 10:11 AM
To: 'nv-l AT lists.us.ibm DOT com'
Subject: [nv-l] Node down events.

 

Does anyone have an Idea how to forward the node down event to TEC with just the short name in the event.  Currently we are forwarding the FQDN. 

 

 

 

Thank You!

Rick Fernandez
Phone: 256-544-5106
Computer Science Corporation
Marshall Space Flight Center

 

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