Collection by hostname

1998-10-18 13:34:05
Subject: Collection by hostname
From: Don Davis <don-n-darla AT WORLDNET.ATT DOT NET>
To: nv-l AT lists.tivoli DOT com
Date: Sun, 18 Oct 1998 13:34:05 -0400
NetView V5 allows you to use wild cards for comparisons.

V5 example for all nodes that the Selection Name starts with ABCD:
     (('Selection Name' ~ '^ABCD) && ('isNode' = True))

V4 does not allow wild cards, however, you can accomplish what you ask with inequalities.
This is an example that I have used on V4.

   (((' Selection Name'  >= 'ABCD') && ('Selection Name' <= 'ABCDzzzz')) && ('isNode' = True)))

Note: lowercase zzzz place-holders because of higher decimal equivalent than ZZZZ
If you have longer hostnames, use more zzzzzzzz.
You can substitute IP Hostname for Selection Name.

Don Davis - Consultant, Instructor
Alliance of Professionals & Consultants, Inc.
8600 Caswell Court
Raleigh, NC 27613-1100 USA    Phone: 919-847-6056
Email: Don AT apc-services DOT com
Visit our web site at http://www.apc-services.com

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