Page 1 of 1
Dell OpenManage - None of the IP addresses are reachable.
Posted: Mon Mar 09, 2020 11:04 pm
by tmaslen
I'm trying to get the wizard for monitoring Dell EMC systems.
https://exchange.nagios.org/directory/P ... XI/details
Nagios XI version:
Nagios XI 5.6.12
OS:
CentOS Linux release 7.7.1908 (Core)
Been trying to get it to do some monitoring using the wizard and get the following error message when trying to monitor my systems iDRAC
None of the IP addresses are reachable.
I ran the following with no error from the command line
Code: Select all
# python /usr/local/nagiosxi/html/includes/configwizards/Dell_EMC_OM_NagiosXI_monitoring_wizard/plugins/dellemc_nagios_discovery_service_utility.py --host=10.1.1.1 --prefProtocol=2 --http.user=someuser --http.password=somepassword --http.port=443 --http.timeout=50 --http.retries=2 --output=.
I have had to change from using python 2.7.5 to 3.6.9 to get the python script to work
Re: Dell OpenManage - None of the IP addresses are reachable
Posted: Tue Mar 10, 2020 5:57 pm
by Box293
Have you allowed port 443 open between the Nagios XI server and the Dell Server management address? Also have you configured the iDRAC ?
Re: Dell OpenManage - None of the IP addresses are reachable
Posted: Tue Mar 10, 2020 6:58 pm
by tmaslen
The Nagios XI server is able to get to the iDRAC and the iDRAC is configured
I have run the below command to retrieve the system information.
Code: Select all
# python /usr/local/nagiosxi/html/includes/configwizards/Dell_EMC_OM_NagiosXI_monitoring_wizard/plugins/dellemc_device_check.py --host=10.1.1.1 --devicetype=iDRAC --logPath=/var/log/ --protocol=2 --http.user=someuser --http.password=somepassword --http.port=443 --http.timeout=50 --http.retries=2 --componentname=System,iDRAC
#1 Node Id = 7QPDBS2, Chassis ServiceTag = 7QPDBS2, System Generation = 14G Monolithic, ServiceTag = 7QPDBS2, Model = PowerEdge R640, OS Name = VMware ESXi, OS Version = 6.7.0 Update 3 build-15160138, iDRAC URL = https://10.1.1.1:443, iDRAC Firmware Version = 4.00.00.00, Server Host FQDN = somehost.example.com, VMM URL = Not Available, System Configuration Lockdown Mode = Disabled, iDRAC GroupManager Status = Enabled, iDRAC Group Name = Not Available
Re: Dell OpenManage - None of the IP addresses are reachable
Posted: Tue Mar 10, 2020 10:18 pm
by Box293
If it is working correctly in the command line then it appears there must be an issue in the configuration wizard itself.
The wizard is in a sub directory located /usr/local/nagiosxi/html/includes/configwizards/ and you most likely need to tweak the command that queries the device (the command is in a PHP file).
Re: Dell OpenManage - None of the IP addresses are reachable
Posted: Wed Mar 11, 2020 6:44 pm
by tmaslen
I have poked around
Code: Select all
/usr/local/nagiosxi/html/includes/configwizards/Dell_EMC_OM_NagiosXI_monitoring_wizard/Dell_EMC_OM_NagiosXI_monitoring_wizard.inc.php
I have changed to following line
from this
Code: Select all
$cmdreach = "python ".$disc_script. " --".$ip . " " .$ip_param. " --output.file=" .$dellxi_host_xml. " --logLoc=".$dellxi_log." --enableLog --nagios.type=1 --force ".$checkportoparam .$snmpprotoparam . $wsmanprotoparam;
to this
Code: Select all
$cmdreach = "/opt/rh/rh-python36/root/usr/bin/python3 ".$disc_script. " --".$ip . " " .$ip_param. " --output.file=" .$dellxi_host_xml. " --logLoc=".$dellxi_log." --enableLog --nagios.type=1 --force ".$checkportoparam .$snmpprotoparam . $wsmanprotoparam;
Needed to have the full path for python3 to work
now it is discovering with no issues
Re: Dell OpenManage - None of the IP addresses are reachable
Posted: Thu Mar 12, 2020 4:55 pm
by mbellerue
Thank you for posting the solution back here! Glad you were able to get it working! I will go ahead and close the thread.