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'.'`
-----Original Message-----
From: owner-nv-l@lists.us.ibm.com
[mailto:owner-nv-l@lists.us.ibm.com] On
Behalf Of Fernandez, Rick
Sent: Wednesday,
March 10, 2004 10:11 AM
To: 'nv-l@lists.us.ibm.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