nv-l
[Top] [All Lists]

Re: [nv-l] RULESET ?

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] RULESET ?
From: James Shanks <jshanks@us.ibm.com>
Date: Thu, 2 Oct 2003 15:56:11 -0400
Delivery-date: Thu, 02 Oct 2003 21:00:43 +0100
Envelope-to: ajf@ourshack.com
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l-digest@lists.us.ibm.com

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@princeton.edu>
Sent by: owner-nv-l-digest@lists.us.ibm.com

10/02/2003 03:25 PM
Please respond to nv-l

       
        To:        Netview <nv-l@lists.us.ibm.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



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

Archive operated by Skills 1st Ltd

See also: The NetView Web