dell/omsdk

"iDRACLicense is not defined" error when running dellemc_nagios_discovery_service_utility

npettex opened this issue · 0 comments

QwikContext

context : nagios 4.4.6 running on redhat 8.6 using omsdk 1.2.490 with python 3.6.8
target : DELL server R740xd iDRAC9 firmware 3.21.21.21 running Esxi 6.7

Details

got the following error message when running the command dellemc_nagios_discovery_service_utility.py
Command execution is in progress...
Dell EMC device discovery is in progress...
Process Process-1:
Traceback (most recent call last):
NameError: name 'iDRACLicense' is not defined
SNMPTT is not installed/configured. Traps service will not be created

Repro Steps

install omsdk directly (pip not used)
install Dell_EMC_OpenManage_Plugin_v3.1_Nagios_Core_A00.tar.gz without snmp
run the following command
[root@mymachine nagios]# python3 dell/scripts/dellemc_nagios_discovery_service_utility.py --host=192.168.0.100 --prefProtocol=3 --http.user=root --http.password=mypassword --output.file=/etc/nagios/dell/config/objects/

Impact

NeedBy

Severity