Users Guide

To add or remove component services for a discovered host
Syntax: The following script or syntax helps user to add and remove services that are discovered:
python dellemc_nagios_discovery_service_utility.py --host=<IP address> --
addservices=<servicename> --removeservices=<servicename> -output.file=<host file location>
Example:
python dellemc_nagios_discovery_service_utility.py --host=100.98.67.123 --
addservices="NIC,Disk,Controller" --removeservices="StorageEnclosure,VDisks" -
output.file=/usr/local/nagios/dell/config/objects
To add or remove component services for all the hosts or devices that are discovered under given hostgroup
Syntax: Following scripts or syntax helps user to add and remove services under host group:
python dellemc_nagios_discovery_service_utility.py --host=<hostgroup> --
addservices=<servicename> --removeservices=<servicename> -output.file=<host file
Example:
python dellemc_nagios_discovery_service_utility.py --host="Dell EMC Networking" --
addservices="NIC,Disk,Controller" --removeservices="StorageEnclosure,VDisks" -
output.file=/usr/local/nagios/dell/config/objects
NOTE: If there is more than one service with the same component name, then adding and removing service removes all
the repeated component names. Also, --addservices and --removeservices accepts only predefined component
names. For more information, see GUI service name and component name
NOTE: If output.file option is not provided, it takes the value as "<NAGIOS_HOME>/dell/config/objects"
Discovering Dell EMC devices
You can discover all the supported Dell EMC devices using this plug-in.
Prerequisites:
If you are using SNMP protocol for discovery, ensure that SNMP version 1 or SNMP version 2 are enabled, community string is set
and configured for Dell EMC Servers, Dell EMC Storage devices and Dell EMC Network Switch. For more information see Appendix.
A secured network connectivity is established between Nagios Core and the device.
It is recommended that the device must have a resolvable FQDN.
WSMan is enabled and configured for discovering Dell EMC Chassis devices.
WSMan is enabled and configured for discovering Dell EMC Servers using WSMan Protocol.
Redfish is enabled and configured for discovering Dell EMC Servers using Redfish .
To discover Dell EMC devices:
1. Log in to Nagios Core with Nagios administrator privileges.
2. Navigate to the directory <NAGIOS_HOME>/dell/scripts
3. Run the Dell Device Discovery Utility with the option: python dellemc_nagios_discovery_service_utility.py
The script syntax and information on options are displayed. For more information see About Dell Discovery Utility.
Based on your requirement do the following:
To discover a SNMP device using Host IP address :
python dellemc_nagios_discovery_utility.py --host=<host name or IP address> --
snmp.version=2 --output.file=/usr/local/nagios/dell/config/objects/
To discover through SNMP or WSMan Protocol/ Redfish REST API using Subnet mask :
python dellemc_nagios_discovery_utility.py --subnet=<subnet with mask> --snmp.version=2
--http.user=<username> --http.password=<password text> --output.file=/usr/local/nagios/
dell/config/objects/
Device discovery and inventory
25