Hello everybody, First of all, thanks for Zenoss. I'm just setting it up, but I can already tell that it's going to save my colleagues and me a whole lot of headaches and grey hairs.
To my problem: the first Windows machine I tried to model (my box) has a piece of software installed whose name includes 'é' (an accented e). I don't know if SNMP generally allows such characters or not, but it's making Zenoss barf. Here's the traceback I (eventually) get after clicking 'Collect Configuration' on the Manage tab: Traceback (most recent call last): File "/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 54, in processClient changed = self._applyDataMap(device, datamap) File "/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 95, in _applyDataMap changed = self._updateRelationship(tobj, datamap) File "/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 129, in _updateRelationship self._createRelObject(device, objmap, rname) File "/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 205, in _createRelObject self._updateObject(remoteObj, objmap) File "/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 170, in _updateObject setter(value) File "/usr/local/zenoss/Products/ZenModel/Software.py", line 125, in setProductKey prodobj = manufs.createSoftwareProduct(prodKey) File "/usr/local/zenoss/Products/ZenModel/ManufacturerRoot.py", line 157, in createSoftwareProduct return self._getProduct(prodName, manufacturer, SoftwareClass, **kwargs) File "/usr/local/zenoss/Products/ZenModel/ManufacturerRoot.py", line 166, in _getProduct prod = manufobj._getOb(prodName, None) File "usr/local/zenoss/lib/python/OFS/ObjectManager.py", line 258, in _getOb UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 4: ordinal not in range(128) The last 3 status lines are: 2006-09-07 19:19:17 INFO zen.ApplyDataMap set attribute 'snmpindex' to '5' on object 'Cach_ in C__CacheSys' 2006-09-07 19:19:17 ERROR zen.ApplyDataMap plugin zenoss.snmp.HRSWInstalledMap device wasysdev002 2006-09-07 19:19:17 INFO zen.Device collected snmp information for device wasysdev002 This may depend on larger issues about unicode support in PySNMP, SNMP, or what have you. I'm interested in those, but I'm mainly interested in any ideas or hacks, even ugly ones, that'll get this running without too much fuss. Thank you, Emmanuel Gomez Confidentiality Notice: This e-mail message including attachments, if any, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, but do not wish to receive communications through this medium, please so advise the sender immediately. _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
