TECHZEN Zenoss User Community ARCHIVE  

Problem Modelling a Windows Server - Invalid ID

Subject: Problem Modelling a Windows Server - Invalid ID
Author: Garrett Michael Hayes
Posted: 2015-01-27 16:05

This is using Zenoss Core 4.2.5 on CentOS 6, with updated Windows/WinRM (2.2.0) and PythonCollector (1.6.0) ZenPacks.

The modeling process starts, shows fairly normal results:

2015-01-27 16:26:58,707 INFO zen.ZenModeler: Connecting to localhost:8789
2015-01-27 16:26:58,716 INFO zen.ZenModeler: Connected to ZenHub
2015-01-27 16:26:58,888 INFO zen.ZenModeler: Collecting for device 172.20.1.201
2015-01-27 16:26:59,260 INFO zen.ZenModeler: skipping WMI-based collection, PySamba zenpack not installed
2015-01-27 16:26:59,286 INFO zen.ZenModeler: Python collection device 172.20.1.201
2015-01-27 16:26:59,287 INFO zen.ZenModeler: plugins: zenoss.winrm.OperatingSystem, zenoss.winrm.CPUs, zenoss.winrm.FileSystems, zenoss.winrm.Interfaces, zenoss.winrm.Services, zenoss.winrm.Processes, zenoss.winrm.Software, zenoss.winrm.IIS
2015-01-27 16:26:59,370 INFO zen.ZenModeler: No command plugins found for 172.20.1.201
2015-01-27 16:26:59,371 INFO zen.ZenModeler: SNMP monitoring off for 172.20.1.201
2015-01-27 16:26:59,372 INFO zen.ZenModeler: No portscan plugins found for 172.20.1.201
2015-01-27 16:27:04,072 INFO zen.PythonClient: Python client finished collection for 172.20.1.201
2015-01-27 16:27:04,073 WARNING zen.ZenModeler: The plugin zenoss.winrm.IIS returned no results.
2015-01-27 16:27:04,073 INFO zen.ZenModeler: Modeler zenoss.winrm.FileSystems processing data for device 172.20.1.201
2015-01-27 16:27:04,076 INFO zen.ZenModeler: Modeler zenoss.winrm.Software processing data for device 172.20.1.201
2015-01-27 16:27:04,080 INFO zen.ZenModeler: Modeler zenoss.winrm.Services processing data for device 172.20.1.201
2015-01-27 16:27:04,087 INFO zen.ZenModeler: Modeler zenoss.winrm.CPUs processing data for device 172.20.1.201
2015-01-27 16:27:04,088 INFO zen.ZenModeler: Modeler zenoss.winrm.OperatingSystem processing data for device 172.20.1.201
2015-01-27 16:27:04,089 INFO zen.ZenModeler: Modeler zenoss.winrm.Processes processing data for device 172.20.1.201
2015-01-27 16:27:04,142 INFO zen.ZenModeler: Modeler zenoss.winrm.Interfaces processing data for device 172.20.1.201
2015-01-27 16:27:09,869 ERROR zen.ZenModeler: : Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 85, in inner

.. before choking and throwing up a long list of messages.

Digging through and doing a bunch of internet searching, I think I've isolated the problem to this portion of the error list:

BadRequest: The id "Microsoft Visual Studio Tools for Applications 2012 x64 Hosting Support - ___ __" is invalid because it ends with two underscores.

That line is repeated several times.

In checking the registry on the server in question, I see several entries for "Microsoft Visual Studio Tools for Applications 2012 x64 Hosting Support - " followed by Asian characters (looks like Chinese and one or two others, such as maybe Thai, etc.)

So, I'm operating on the assumption that the VS Tools were installed with language packs, and that the alternate characters are coming across to Zenoss as underscorezs.

Is there a way I can tell Zenoss to either recognize these characters or at least ignore the error inducing entries I'm fine if Zenoss drops that data on the floor and goes on to the things I actually care about.



Subject: Problem Modelling a Windows Server - Invalid ID
Author: Garrett Michael Hayes
Posted: 2015-02-05 10:39

I took the Brute Force approach, and edited the /opt/zenoss/lib/python/OFS/ObjectManager.py script to ignore double underscores at the end of a name.



< Previous
ZenPacks.community.DistributedCollectors-2.0.1.egg & Zenoss 4.2.5
  Next
MySqlMonitor
>