Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC OpenManage Plug-in Version 3.2.0 for Nagios Core User’s Guide

PDF

Excluding instances

The script to exclude component instances for all the services:
 python dellemc_nagios_discovery_service_utility.py --host="IP address" --service="Servicename" --excludeinstance="<AttributeName> operator <AttributeValue>" -output.file=<host file location>
When the discovery utility script is run with valid arguments, it should exclude the instances of the components. Following are the arguments provided:
  1. --host: hostname or IP of the device
  2. --services: Name of the component for which instances are excluded
  3. --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,

python dellemc_nagios_discovery_service_utility.py --host="100.96.25.86" --service="NIC" -excludeinstance="FQDD == 'NIC.Integrated.1-3-1'" -output.file=/usr/local/nagios/dell/config/objects
NOTE If output.file option is not provided, it takes the value as "<NAGIOS_HOME>/dell/config/objects"

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\