Dell OpenManage for Nagios Core plugin error
Posted: Thu Dec 05, 2019 6:07 pm
I've just installed fresh CentOS 8 with Nagios Core 4.4.5
I'm trying to get Dell OM plugin/scripts working but running into issue with run their scripts provided in package:
I've got omsdk and omdrivers installed:
What I'm missing?
I'm trying to get Dell OM plugin/scripts working but running into issue with run their scripts provided in package:
Code: Select all
# python3 /usr/local/nagios/dell/scripts/dellemc_device_check.py --host=10.3.128.20 --protocol=2 --devicetype=iDRAC --componentname=Subsystem --s="Dell EMC Server Overall Health Status" --http.user=root --http.password=verystrongpassword --logPath=/var/log
Traceback (most recent call last):
File "/usr/local/nagios/dell/scripts/dellemc_device_check.py", line 218, in <module>
deviceObj = sd.get_driver(deviceType, host, creds, protopref, pOptions=pOption)
File "/usr/local/lib/python3.6/site-packages/omsdk/sdkinfra.py", line 144, in get_driver
return self._create_driver(mod, ipaddr, creds, protopref, pOptions)
File "/usr/local/lib/python3.6/site-packages/omsdk/sdkinfra.py", line 165, in _create_driver
drv = self.disc_modules[mod].is_entitytype(self, ipaddr, creds, protopref, mod, pOptions)
File "/usr/local/lib/python3.6/site-packages/omsdk/sdkbase.py", line 147, in is_entitytype
if entity.connect():
File "/usr/local/lib/python3.6/site-packages/omsdk/sdkbase.py", line 251, in connect
return self.my_connect(pOptions)
File "/usr/local/lib/python3.6/site-packages/omsdk/sdkbase.py", line 258, in my_connect
retval = self.cfactory.identify(self.entityjson)
File "/usr/local/lib/python3.6/site-packages/omsdk/sdkconnfactory.py", line 100, in identify
self.enumerate_list(ejson, *self.pfactory.classifier)
File "/usr/local/lib/python3.6/site-packages/omsdk/sdkconnfactory.py", line 191, in enumerate_list
comp_details = self.enumerate_view(comp)
File "/usr/local/lib/python3.6/site-packages/omsdk/sdkconnfactory.py", line 126, in enumerate_view
retval = connection.enumerate_view(index, True)
File "/usr/local/lib/python3.6/site-packages/omsdk/sdkproto.py", line 408, in enumerate_view
return self._enumerate_view(index, self.views, bTrue)
File "/usr/local/lib/python3.6/site-packages/omsdk/sdkproto.py", line 433, in _enumerate_view
(valid, flist) = chk_func(retval['Data'][clsName], clsName)
TypeError: satisfyme() takes 1 positional argument but 2 were given
Code: Select all
pip show omsdk
Name: omsdk
Version: 1.2.370
Summary: Dell OpenManage SDK
Home-page: https://support.dell.com
Author: Vaideeswaran Ganesan
Author-email: [email protected]
License: Apache Software License
Location: /usr/local/lib/python3.6/site-packages
Requires: future, pysnmp-mibs, ipaddress, requests, PyYAML, python-version, enum34
Required-by:
pip show omdrivers
Name: omdrivers
Version: 1.1.268
Summary: Dell OpenManage SDK
Home-page: https://support.dell.com
Author: Vaideeswaran Ganesan
Author-email: [email protected]
License: Apache Software License
Location: /usr/local/lib/python3.6/site-packages
Requires:
Required-by: