[Top] [All Lists]

Re: [nv-l] EventForwarding to TEC - cut Domain from Hostname

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] EventForwarding to TEC - cut Domain from Hostname
From: James Shanks <jshanks@us.ibm.com>
Date: Tue, 31 May 2005 12:06:28 -0400
Delivery-date: Tue, 31 May 2005 17:07:35 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <005701c565f9$de8f4300$6501fb0a@P28753E0>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Why not just change the rule over in TEC to accept either
"un031e00.service.domain.de" or  just   "un031e00" ?
That's by far the simpleset alternative.

The hostname slot in NetView is not user-configurable.  It is added by
nvserverd, and it will be fully-qualified if that can be determined.  You
cannot influence it in a ruleset.

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group

             <martina.hasenede                                          To 
             r@datev.de>               <nv-l@lists.us.ibm.com>             
             Sent by:                                                   cc 
             us.ibm.com                                            Subject 
                                       [nv-l] EventForwarding to TEC - cut 
                                       Domain from Hostname                
             05/31/2005 12:00                                              
             Please respond to                                             

Hi folks,

I have a  very special problem, i guess.

Most administrators of servers send a "Maintenance Mode" to the TEC for the
reason, that all Events for this Node get ignored for a while.
They send a wpostemsg with the simple Hostname like "un031e00".

The NetView-Server sends a "Node Down" Event with a full qualified Name
like "un031e00.service.domain.de"
Now the "two Names" are not identic so the Maintenance Mode is not able to
operate and we get undesired alarms.

The domains are not really important for us because allready the "Simple
Hostname" is unique.
Finally we thought about cutting off the domain.

What is better:
    strip the Hostname in a Ruleset
    (how could I influence the slot "hostname")
    strip the Hostname at the TEC
    (has anybody knowhow of "prolog")
    (I would need a rule which
        cuts nothing if the the string is numeric (IP-Adress) and
        cuts after the first "." (Hostname + Domain))

All ideas make me happy


NV for UNIX 7.1.4 on AIX 5.2
Tivoli Enterprise Console 3.8

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

Archive operated by Skills 1st Ltd

See also: The NetView Web