nv-l
[Top] [All Lists]

AW: Collection Editor

To: nv-l@lists.tivoli.com
Subject: AW: Collection Editor
From: Michel.Grossenbacher@coop.ch
Date: Wed, 27 Jun 2001 06:28:58 +0200
Hello Barbara
I think a wild character is the point "." so your entry would look like
this, 'sysContact'='.CISCOSW' perhaps also use the "~" instead of the "="
sign. I dont know if there is any big difference between those 2 signs 8)but
my smartsets work well with the "~".
Greetings

Michel


-----Ursprüngliche Nachricht-----
Von: OBeirne, Barbara [mailto:Barbara.OBeirne@ssa.gov]
Gesendet am: Dienstag, 26. Juni 2001 23:03
An: IBM NetView Discussion
Betreff: RE: [NV-L] Collection Editor


        I have a similar problem.  Trying to set up 2 smartsets.

        One for CISCO Switches and one for CISCO Routers.   I am trying to
use a
        string attribute to grab an snmp value of 'sysContact=*CISCOSW or
*CISCORT'.
        We have 7 different sysContacts defined throughout our Cisco
environment, but
        they would all end in CISCORT or CISCOSW.

        How can I get a wild character in before both of these two
expressions?

        Barb...

-----Original Message-----
From: Davis, Donald [mailto:donald.davis@firstcitizens.com]
Sent: Friday, June 15, 2001 9:19 AM
To: 'IBM NetView Discussion'
Subject: RE: [NV-L] Collection Editor


Ray,
Smartset/Collection Editor uses "Regular Expressions".
Your rule should look like this :

(('vendor' = 'Microsoft') && ('IP Hostname' ~ '^CC'))

Note that the comparison operator for IP Hostname is the tilde symbol, not
an equal sign!
You can cut & paste this directly into your editor using text mode instead
of dialog.

Don Davis




-----Original Message-----
From: Raymond Tuggle [mailto:rtuggle@bcbsga.com]
Sent: Thursday, June 14, 2001 9:39 PM
To: nv-l@tkg.com
Subject: [NV-L] Collection Editor


Hello
    I am trying to set up what probably is a simple collection group.  I
would like all nodes that have the following requirements:
    Vendor = microsoft
        and
     IP Hostname begins with "CC"

    If I try setting IP Hostname ~ "CC" or IP Hostname ~ "CC*" then I
get everything that has CC anywhere in the hostname.  I also tried CC+
and +CC neither one of them worked either.
    How do you use wildcards to select only hostnames that begin with
CC?
    Thanks
    Raymond


_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l

----------------------------------------------------------------------------
--
This electronic mail and any files transmitted with it are confidential and
are intended solely for the use of individual or entity to whom they are
addressed. If you are not the intended recipient or the person responsible
for delivering the electronic mail to the intended recipient, be advised
that you have received this electronic mail in error and that any use,
dissemination, forwarding, printing, or copying of this electronic mail is
strictly prohibited. If you have received this electronic mail in error,
please immediately notify the sender by return mail.

============================================================================
==

_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


<Prev in Thread] Current Thread [Next in Thread>
  • AW: Collection Editor, Michel . Grossenbacher <=

Archive operated by Skills 1st Ltd

See also: The NetView Web