nv-l
[Top] [All Lists]

TEC and Hostname - reply

To: nv-l@lists.tivoli.com
Subject: TEC and Hostname - reply
From: "Donald Mahler" <dmahler@telcordia.com>
Date: Wed, 13 Jun 2001 08:49:17 -0400
Have your TEC guy write a very small rule (something like the following)
to strip out the end of the fqdn (though - are you SURE you don't need it
later? - samed named servers perhaps?)


reception_action: strip_fqdn: (
                atompart( _hostname, '.', _start, _len1 ),
               _len is _start - 1,
               atompart( _hostname, _chop_host, 1, _len ),
               set_global_var( 'SMALLHOSTNAME', 'smallhostname',
_chop_host)
               bo_set_slotval(_event,hostname, _chop_host),
     ),


Don Mahler
Telcordia



Subject:  [NV-L] TEC and Hostname



Hello all,

I'm having the TEC group wondering if there is a way to use the short name
instead of the fully qualified name on events received from Netview (as
shown in the below)

OV_IF_Down;
    hostname=<fully qualified name>

My initial response is that NetView is only reporting what is in the DNS.
The only way I see solving the problem is using the /etc/hosts file but
this
is really not a viable option when your talking about a large number of
devices.

Does anyone have any suggestions for this?

Thanks,

Scott

Scott Hammons, Consultant
Tivoli Certified Consultant
Advanced Integrated Solutions, Inc.
www.ais-nms.com
Email s.hammons@ais-nms.com
Cellular (210) 378-8229


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

Archive operated by Skills 1st Ltd

See also: The NetView Web