nv-l
[Top] [All Lists]

RE: [nv-l] RULESET ?

To: <nv-l@lists.us.ibm.com>
Subject: RE: [nv-l] RULESET ?
From: "Barr, Scott" <Scott_Barr@csgsystems.com>
Date: Thu, 2 Oct 2003 15:21:58 -0500
Delivery-date: Thu, 02 Oct 2003 21:27:50 +0100
Envelope-to: ajf@ourshack.com
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l-digest@lists.us.ibm.com
Thread-index: AcOJG0pk0W12bDYTRO6M2qRQwazAzAAB2bog
Thread-topic: [nv-l] RULESET ?
I would suggest just setting up a smartset for the regular expression (hostname 
= "ups*") and then passing that to your action nodes if the node falls into the 
smartset. No need to query the database, smartset does that already for you.

-----Original Message-----
From: owner-nv-l-digest@lists.us.ibm.com
[mailto:owner-nv-l-digest@lists.us.ibm.com]On Behalf Of Jeff Fitzwater
Sent: Thursday, October 02, 2003 2:25 PM
To: Netview
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