Users Guide

Table 23. Parameters file
Protocol communication parameters Description
http.port
Use to input the WSMan/Redfish port value. Default value is
443.
http.timeout
Use to input WSMan/Redfish timeout value in seconds.
Default timeout value is 60 seconds.
http.retries
Use to input the number of times a WSMan/Redfish request
must be sent when a timeout occurs. Default retry value is 1.
NOTE:
You can configure the user macros, snmp.community, http.username, and http.password in the file
dell_resources.cfg available at the location: <NAGIOS_HOME>/dell/resources/
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/
NOTE: If the other Dell EMC discovery utility parameters are not passed, the command will run with default values.
NOTE: Ensure that the Dell EMC device is discovered either using IP address or FQDN and not both at a given instance.
4. By default, Dell EMC Server is discovered using Redfish Protocol. If the WSMan protocol parameters are not passed in the
command, the discovery will happen through SNMP. Based on your requirements, the value of --prefProtocol can be
changed.
Dell EMC Servers can be discovered through either WSMan or Redfish or SNMP using the below commands:
22
Device discovery and inventory