Re: [nv-l] EventForwarding to TEC - cut Domain from Hostname
This is very simple in TEC rules.. use atompart
predicate in rules to get the hostname only. You need
to use atompart for three times in rule since there
are three dots in a FQDN.
--- Martina Haseneder <martina.haseneder AT datev DOT de>
> 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
> The NetView-Server sends a "Node Down" Event with a
> full qualified Name like
> 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 +
> All ideas make me happy
> NV for UNIX 7.1.4 on AIX 5.2
> Tivoli Enterprise Console 3.8
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around