nv-l
[Top] [All Lists]

Re: Null value in Collection substring

To: nv-l@lists.tivoli.com
Subject: Re: Null value in Collection substring
From: Leslie Clark <lclark@US.IBM.COM>
Date: Tue, 29 Dec 1998 11:08:08 -0500
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
I'm assuming you are trying to make a collection based on attributes, and
the attributes are
sysContact and sysLocation, and you are using an operator of '=' and trying
to figure out
how to specify the blank or null as the comparison value. I am suggesting
that instead of
'=' you try the '<'  (less than) operator, and specify ! (bang) as the
comparison value.  The
point is that you can use < and > for strings as well as for numeric
comparison. This
might get you by any vagaries on how the collection editor deals with
nulls, blanks, and
extra quote marks. If that's not what you were asking, well, never
mind.....

There is a trap generated when a new node  is added (58785794).
There is also one generated when sysContact changes (58982410) and when
sysLocation
is changed (58982411). You see these when netmon restarts, I suppose from
the daily
configuration poll. You also see them at node discovery for snmp nodes.
You might try, in a ruleset, checking for membership in your collection, or
just
checking that database fields when you get one of those events.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking


Leslie,  I don't really understand what you are saying.  Can you
clarify????
Also, Is it possible to have NetView send an E-mail when it discovers a new
device that was not configured properly with sysContact and sysLocation
information?
---------------------- Forwarded by Lucy Premus/Bsg/MetLife/US on 12/29/98
09:01 AM ---------------------------


Leslie Clark <lclark@US.IBM.COM> on 12/23/98 10:12:10 PM

Please respond to Discussion of IBM NetView and POLYCENTER Manager on
      NetView <NV-L@UCSBVM.ucsb.edu>

To:   NV-L@UCSBVM.ucsb.edu
cc:    (bcc: Lucy Premus/Bsg/MetLife/US)
Subject:  Null value in Collection substring




Have you tried < something? Ascii null is 00, space is 20, then ! is 21,
then the numbers,
then the uppercase letters, then the lowercase letters. So <! ought to
catch both those
that show up as null and those that show up as blank, and you don't have to
deal
with feeding a blank or a null to the collection editor.  (This is why I
carry around my
old S/370 Reference Card!)

Now... everybody go home! Get a life!

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking


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?

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

Archive operated by Skills 1st Ltd

See also: The NetView Web