We ran into this problem with our SNMP data collection:

in _createRelObject self._updateObject(remoteObj, objmap) File
"/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 227,
in _updateObject value.encode('ascii') UnicodeEncodeError: 'ascii'
codec can't encode character u'\xa0' in position 7: ordinal not in
range(128)

Changed 'ascii' to 'latin-1'.  Works great.

Try checking the device that this is happening on for it's zCollectorDecoding property. Setting this to latin-1 should fix the problem in a slightly easier way than modifying the code.

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to