How do I pass a filter on a discovery?
search cancel

How do I pass a filter on a discovery?

book

Article ID: 11834

calendar_today

Updated On:

Products

CMDB for z/OS

Issue/Introduction

How do I pass a filter on a discovery via the GUI? 

For example, if I want to ONLY discover TAPE Devices.

Environment

Release:
Component: CMDBCN

Resolution

We can predefined different discoveries with different filters. 

 

For your example, please follow the following steps.

 

You will need to copy $MD#MDEV  from your hlq.cce3exec to your hlq.TESTEXEC dataset. 

   You will need to rename it 'like' $MD#MDET (T for Tape) 

   Only 1 discover can point to 1 procedure  - this is why we will make a copy of $MD#MDEV

 

Then you will need to ADD (pf4) a NEW Discovery Method and point to the new $MD#MDET 

 

==== 

 

CSNMxx---------- CA CMDB Connector : Discovery Method Register ----------------

Command ===> 

 

  Add Discovery Method 

 Name ..................... TAPEONLY  

 Procedure ................ $MD#MDET  

 Description............... Discover only tapes 

 Sequence Number .......... 100 

 Supports Query? .......... yes  

 

 Press F3 to Register or F12 to Cancel 

 

Press PF3 - to register the new discovery

 

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

 

Update the FILTER to YES on the TAPE Devices for the new discovery. 

 

Command ===> 

 

 Discovery Method Name ... TAPEONLY 

 Procedure ............... $MD#MDET           (the procedure you created earlier)

 Description ............. tape only 

 Custom Filter Status .... ENABLED (Enabled or Disabled) 

 

 Filter Options 

 Discover DASD Devices ... NO (Yes or No) 

 DASD Volumes ... NO (Yes or No) 

 TAPE Devices ... YES (Yes or No) <<<========

 Consoles ....... NO (Yes or No) 

 

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

 

Now when you issue a DISCOVER TAPEONLY - it will run the discovery with the filter for TAPE YES. 

 

You will need to make a DISCOVERY and PROC and FILTER for each one you want.