nv-l
[Top] [All Lists]

Re: RES: NetView Hostnames

To: nv-l@lists.tivoli.com
Subject: Re: RES: NetView Hostnames
From: Sergio Cardona F <scardona@MAIL.VISIONTECH.COM.CO>
Date: Mon, 26 Jul 1999 15:16:16 -0500
Organization: Vision Tech
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Hi Ken :
Yes I did, but somebody asked me something about the domain.

Thanks for the TEC rule, has been very useful!


Regards,

Sergio Cardona.

"Ken Garst." wrote:
>
> Didn't you see the following answer that was posted on this list?
>
> Bob Metzger <Bob_Metzger@VFC.COM> on 07/22/99 01:06:02 PM
>
> Please respond to Discussion of IBM NetView and POLYCENTER Manager on NetView
>       <NV-L@UCSBVM.ucsb.edu>
>
> To:   NV-L@UCSBVM.ucsb.edu
> cc:    (bcc: Ken Garst/GIANTMD/US/Ahold)
> Subject:  Re: NetView Hostnames
>
> We have TEC rule that does this.
>
> rule: strip:
> (
>         event: _event of_class 'Nvserverd_Event'
>                 where [
>                         hostname: _hostname
>                       ],
>
>         reception_action:
>         (
> /*
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>         Call assert strip_vfc which is defined in Tec_Start.rls. This template
> strips
>         the domain suffix from the hostname. This is done to enhance rules
> correlation
>         for later processing.
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>   */
>
>                 strip_vfc(_hostname,_temp),
>                 bo_set_slotval(_event,hostname,_temp),
>          )
> ).
>
> Here is the strip_vfc template in Tec_Start.rls
>
> rule: assert_new_template:
> (
>         event: _event of_class 'TEC_Start'
>         where [],
>
>         reception_action:
>         (
>                        assert((strip_vfc(_hostname,_temp) :-
>                         atompart(_hostname, '.', _start, 1),
>                         _len is _start - 1,
>                         atompart(_hostname,_temp,1,_len)
>                         ))
>         ),
> ).
>
> Sergio Cardona F <scardona@MAIL.VISIONTECH.COM.CO> on 07/22/99 12:51:15 PM
>
> Please respond to Discussion of IBM NetView and POLYCENTER Manager on NetView
>       <NV-L@UCSBVM.ucsb.edu>
>
>  To:      NV-L@UCSBVM.ucsb.edu
>
>  cc:      (bcc: Bob Metzger/VFITS/VF Corporation)
>
>  Subject: NetView Hostnames
>
> Hi All:
>
> I have NetView 5.1.1 in AIX 4.3.2, in another machine TEC 3.6.1 in AIX
> 4.3.2, all the machines use DNS.
>
> I have this problem: I am sending events to TEC but the host name that
> NetView send is some different to the TEC format, NetView sends the host
> name in small letter and add the domain to the end, but TEC does not
> uses this format.
> There is any way to change the name format sent to TEC without make a
> correlation an script that changes the name and sends another event ?
> maybe in the TEC ?
>
> Regards,
>
> Sergio Cardona

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

Archive operated by Skills 1st Ltd

See also: The NetView Web