Hi Lucy,
I would normally use a regular expression to do this ( ie. using "~"
operator )
Here is an example:-
((('SNMP sysLocation'~'^$') || ('isSNMPSupported' = False)) &&
('isNode' = True))
You can see the collections this way by electing to Text Editor as the
Editor Format in the original Collection Editor screen. I have found the
text editor mode to be quite useful with more complex rules.
The regular expression ^$ signifies that the field has nothing after the start
( indicated by the "^" ) but the end ( indicated by the "$" ).
The reason why I included the isSNMPSupported field was because
I noticed that non-snmp nodes don't have the SNMP fields set and
as such fail the rule by default even though in truth they really haven't
had the field set.
I also included the isNode field because I have noticed that the
collections can sometimes throw up multiple entries for multi-interface
nodes if this isn't set.
Hope this helps,
Regards,
Simon Long
Nettrack Technical Solutions Pty Ltd
Lucy Premus wrote:
> I'm trying to create a collection for resources that have no sysContact or
> sysLocation information defined. I'm sure theres a simple answer to this,
> but I've tried everything and I am stumped. How do you define a null value
> for the substring field entry after selecting the sysContact and
> sysLocation attributes?
|