This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
tmaslen
Posts: 3 Joined: Tue Mar 03, 2020 6:29 pm
Post
by tmaslen » Mon Mar 09, 2020 11:04 pm
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
Box293
Too Basu
Posts: 5126 Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:
Post
by Box293 » Tue Mar 10, 2020 5:57 pm
Have you allowed port 443 open between the Nagios XI server and the Dell Server management address? Also have you configured the iDRAC ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
tmaslen
Posts: 3 Joined: Tue Mar 03, 2020 6:29 pm
Post
by tmaslen » Tue Mar 10, 2020 6:58 pm
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
Box293
Too Basu
Posts: 5126 Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:
Post
by Box293 » Tue Mar 10, 2020 10:18 pm
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).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
tmaslen
Posts: 3 Joined: Tue Mar 03, 2020 6:29 pm
Post
by tmaslen » Wed Mar 11, 2020 6:44 pm
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
mbellerue
Posts: 1403 Joined: Fri Jul 12, 2019 11:10 am
Post
by mbellerue » Thu Mar 12, 2020 4:55 pm
Thank you for posting the solution back here! Glad you were able to get it working! I will go ahead and close the thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
Be sure to check out our
Knowledgebase for helpful articles and solutions!