When the discovery utility script is run with valid arguments, it should exclude the instances of the components. Following are the arguments provided:
--host: hostname or IP of the device
--services: Name of the component for which instances are excluded
--excludeinstance: A condition with IN or "==" operator to exclude instance
Excluding multiple instances
To exclude multiple instances, use "IN" operator with "()" For example,
python dellemc_nagios_discovery_service_utility.py --host="100.96.25.86" --service="NIC" -excludeinstance="FQDD IN ('NIC.Integrated.1-3-1','NIC.Integrated.1-4-1')" -output.file=/usr/local/nagios/dell/config/objects
NOTE "IN" operator is not case-sensitive.
Excluding single instance
To exclude single instances, use "==" operator. For example,