Home/Support/Support Forum/local5.warning digicsd[881]: Unable to find mgmtglobal in config. What is this warning?

local5.warning digicsd[881]: Unable to find mgmtglobal in config. What is this warning?

0 votes
The following msg appears over and over again in the digi.log file.

I am using XBee Gateway Wi-Fi, Firmware version: 3.2.12.1

Edit:
The following line appears after:
local5.notice digicsd[861]: Generated deviceId: 00000000-00000000-00409dff-ffxxxxxx
asked Feb 21, 2017 in Linux-based Gateways by rigers New to the Community (7 points)
edited Feb 28, 2017 by rigers

Please log in or register to answer this question.

2 Answers

0 votes
Where is this message being displayed? What are you doing when you get this message?
answered Feb 21, 2017 by mvut Veteran of the Digi Community (11,300 points)
I found it in the digi.log file in the logging directory of the XBee Gateway Wi-Fi, repeated over and over. I don't know that I am doing anything related to this. I have a DIA python program running. Do you have an idea what it is related to? That way I can give more detail.

Thanks,

Rigers
Sounds like something in your python script.  Try disabling it on startup and rebooting the gateway. Then see if you have the same error.
0 votes
Confirmed as part of the python script. I was able to pinpoint that it is coming from the following function which is part of built-in DIA digi_device_info.py:

def get_device_id():
"""\
Retrieves the Device ID from the Digi device.
"""
value = ""
query_base = '<rci_request version="1.1"><%s><%s/>' \
'</%s></rci_request>'
try:
query = query_base % ('query_setting', 'mgmtglobal', 'query_setting')
raw_data = process_rci_request(query)
setting_tree = ElementTree().parsestring(raw_data)
device_id = setting_tree.find('deviceId')
value = device_id.text
except AttributeError:
# PLATFORM: this might be an x2e
query = query_base % ('query_state', 'device_info', 'query_state')
raw_data = process_rci_request(query)
setting_tree = ElementTree().parsestring(raw_data)
device_id = setting_tree.find('deviceid')
value = device_id.text

# normalize to the old NDS format
if not value.startswith('0x'):
value = ''.join(('0x', value))
value = value.replace('-', '')
except:
_tracer.error("get_device_id(): Unable to retrieve Device ID")
raise

return value

However the warning does not show in the python.log file but digi.log

Anyone know what it means?
answered Feb 28, 2017 by rigers New to the Community (7 points)
...