Pre-sensor pattern script question (Discovery)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2024 07:12 AM
I have a scenario for Windows servers in which I want to exclude CI insert into the table based on the FQDN name.
Example: Ignore discovery and CMDB insert for any server name that starts with 'aws' or DNS contains 'xyz.com'.
Can I use pre/post pattern scripts to do this or are they strictly for modifying the JSON payload?
If not should I just create a sensor script for the classifier?
All help appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2024 06:09 AM
Hi @MMGF!
If I understood you correctly, you want to exclude based on the following:
Name does not start with "aws" | and |
DNS does not contain xyz.com
If you navigate to: Discovery Definition -> CI Classification -> Windows
And then select the respective Classification:
There, you can edit the 'Classification Criteria', which may help to solve your issue.
Hope it works out for you MMGF!