nv-l
[Top] [All Lists]

Smartset creation Rules (From Script).

To: nv-l@lists.tivoli.com
Subject: Smartset creation Rules (From Script).
From: "Boyles, Gary P" <gary.p.boyles@INTEL.COM>
Date: Fri, 25 Feb 2000 11:25:12 -0800
I'm trying to create a smartset that has the following logic:

1)  Hubs        = False
2)  Routers     = False
3)  Switches    = True
AND NOT
4) Vendor = "cisco Systems"

Can someone give me the correct syntax for using input into "smartsetutil"
to create this rule?

I have everything except the "AND NOT" part.  This appears to be wrong.

Another question... is there any place where the smartsetutil (logic)
keywords
are defined?

Thank you.

Gary Boyles, Intel

-------------------------------------------Script Begins Here
----------------------------------------

smartsetutil a "Bad_Switches" "Bad_Switches" "(\"isHub\" = \"FALSE\") AND
(\"isRouter\" = \"FALSE\") AND ("\isSwitch\" = \"TRUE\") AND NOT (\"vendor\"
= \"cisco Systems\")"

-------------------------------------------Script Ends Here
----------------------------------------
::


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

Archive operated by Skills 1st Ltd

See also: The NetView Web