Re: [nv-l] RULESET ?
2003-10-02 16:00:42
The short answer is, sorry , but no, there is not. What you see there is all that is available.
Fieldname comparisons are literal and that's all
If you want to do REGEXP on the value of attribute 2, then I suggest a userexit with your own script. None of the ruleset nodes support REGEXP.
James Shanks
Level 3 Support for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group
| Jeff Fitzwater <jfitz AT princeton DOT edu>
Sent by: owner-nv-l-digest AT lists.us.ibm DOT com
10/02/2003 03:25 PM
Please respond to nv-l
|
To: Netview <nv-l AT lists.us.ibm DOT com>
cc:
Subject: [nv-l] RULESET ?
|
NV 7.1.3 on SOL 5.8
In a RULESET using the QUERY DATABASE; Is there any way to use a REGEXP
in the LITERAL value to be compared?
I am using the NVADD_EV event for new node added, to be processed
through a RULESET and then compare varbind 2, which carries the
hostname.
I then want to compare it to see if name starts with "ups-" and then
continue processing if TRUE.
Jeff Fitzwater
OIT Systems & Networking
Princeton University
|
|
|