Giter Club home page Giter Club logo

zenpacks.zenoss.microsoft.windows's Introduction

zenpacks.zenoss.microsoft.windows's People

Contributors

alexvashchyshyn avatar brianbruggeman avatar byshovets avatar cluther avatar d-terletskyi avatar dbouchillon avatar dianis02 avatar echun avatar eedgar avatar eimajenthat avatar gewrites avatar idubei avatar irushchyshyn avatar itshane avatar j053ph4 avatar jeff-powell avatar jhuie-zenoss avatar joshw avatar jscausey avatar kevinjcash avatar mihnatenko avatar odubrovyk avatar otrach avatar pcarinhas avatar rboothzenoss avatar ssbunyk avatar ssoleg avatar ssvsergeyev avatar stasfilin avatar yichi-lu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zenpacks.zenoss.microsoft.windows's Issues

Missing event log fields?

Is there something I might need to check when my event log queries return only returning the MachineName and Message fields?

When I query the System log, I only get results like:

2016-09-15 18:03:42,319 DEBUG zen.MicrosoftWindows: [
{ "EntryType": " ", "TimeGenerated": " ", "Source": " ", "InstanceId": " ", "Message": "The WinHTTP Web Proxy Auto-Discovery Service service entered the running state.", "UserName": " ", "MachineName": "host1.host.com", "EventID": " " }
]

DeviceLinkProvider

I am getting 'getClusterMachines' in the Link section on Overview panel for each device after installing this zenpack.
It also overrides the DeviceLinkProvider class in the zenpack I'm working on.

Errors when modeling cluster node Windows 2012 R2

There are many errors in zenhub.log, when modeling device
I have installed 2.5.9 version, in 2.5.8 same errors.

INFO zen.ZenHub: Worker (3297) reports 2016-02-25 09:00:38,315 ERROR zen.UUID: Encountered a guid exception
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/guid/event.py", line 41, in registerGUIDToPathMapping
catalog.catalog_object(object, idxs=(), update_metadata=True)
File "/opt/zenoss/Products/Zuul/catalog/global_catalog.py", line 401, in catalog_object
ZCatalog.catalog_object(self, ob, uid, **kwargs)
File "/opt/zenoss/lib/python/Products/ZCatalog/ZCatalog.py", line 476, in catalog_object
update_metadata=update_metadata)
File "/opt/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 320, in catalogObject
index = self.updateMetadata(object, uid, None)
File "/opt/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 270, in updateMetadata
newDataRecord = self.recordify(object)
File "/opt/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 396, in recordify
attr = attr()
File "/opt/zenoss/Products/Zuul/catalog/global_catalog.py", line 273, in monitored
if self._context.monitored():
File "/home/zenoss/ZenPacks.zenoss.Microsoft.Windows/ZenPacks/zenoss/Microsoft/Windows/WinService.py", line 103, in monitored
if self.getMonitored(datasource):
File "/home/zenoss/ZenPacks.zenoss.Microsoft.Windows/ZenPacks/zenoss/Microsoft/Windows/WinService.py", line 82, in getMonitored
if startmode in self.startmode.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Error with zenoss.winrm.Software Collector

Hello,
the zenoss.winrm.Software Collector is not working for me. Maybe you could took a look at it and it is an error with the plugin. I get the follwoing error:
INFO zen.ZenModeler: Modeler zenoss.winrm.Software processing data for device 172.21.21.250
2014-02-26 15:13:20,399 ERROR zen.ZenModeler: Problem while executing plugin zenoss.winrm.Software
2014-02-26 15:13:20,409 ERROR zen.ZenModeler: Traceback (most recent call last):
File "/usr/local/zenoss/Products/DataCollector/zenmodeler.py", line 647, in processClient
datamaps = plugin.process(device, results, self.log)
File "/usr/local/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.0.2.egg/ZenPacks/zenoss/Microsoft/Windows/modeler/plugins/zenoss/winrm/Software.py", line 46, in process
item.InstallDate[0:4],
TypeError: 'NoneType' object is not subscriptable

Thanks!

MSSQL Database Monitoring Error

Any one having the same errors?

WinRS: Failed collection [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'CM_PUT' /opt/zenoss/lib/python/twisted/internet/defer.py:1076:gotResult /opt/zenoss/lib/python/twisted/internet/defer.py:1063:_inlineCallbacks /opt/zenoss/lib/python/twisted/internet/defer.py:361:callback /opt/zenoss/lib/python/twisted/internet/defer.py:455:_startRunCallbacks --- --- /opt/zenoss/lib/python/twisted/internet/defer.py:542:_runCallbacks /opt/zenoss/ZenPacks/ZenPacks.zenoss.PythonCollector-1.7.4.egg/ZenPacks/zenoss/PythonCollector/zenpython.py:341:__wrapper /opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.5.11.egg/ZenPacks/zenoss/Microsoft/Windows/datasources/ShellDataSource.py:1314:onSuccess /opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.5.11.egg/ZenPacks/zenoss/Microsoft/Windows/datasources/ShellDataSource.py:451:parse_result ] on utg-dbsvr-02v

question, mutlirealm ip

Getting ready to do some final testing before install in production.

I noticed here:

def setClusterHostMachines(self, clusterhostdnsnames):
'''
.....
device = deviceRoot.findDeviceByIdOrIp(clusterhostip)

From that i understand, if you are using multirealm ip, calling findDeviceByIdOrIP like this could return an ip in a different realm? So if you didnt discover by DNS name, you could have a cluster with a linked server in a wrong (and in our case different customer) iprealm? I guess especially if you added a cluster before the cluster host?

Seems it tries dns first which will probably be pretty good way to do it. Im not sure what the solution is (outside of creating a base client container some day). I have a couple of ideas but..

Queries not returning data?

I am attempting to query a domain controller running Microsoft Windows Server 2012 R2 Standard and the modeler plugins for OperatingSystem, SystemEnclosure, and ComputerSystem all report no output.

From the command line, I see this:

Get-WmiObject -Query "select * from win32_operatingsystem"

SystemDirectory : C:\WINDOWS\system32
Organization : ORG
BuildNumber : 9600
RegisteredUser : ORG
SerialNumber : xxxx
Version : 6.3.9600

I only get the full list that the modeler is expecting if I use:

Get-WmiObject -Class Win32_OperatingSystem | select *

I'm not sure whether the query method can be updated for the modeler to attempt a different query or change from a query to a powershell command running the above.

Is this an issue that anyone else has seen?

thresholds

I have a couple of ideas/practices that have worked for the scaleable management of thresholds in a multi-tenant environment that may help you all. when i went to put it in here I started writing a novel that ended up being pretty unclear. if you are interested when the time is right, I can give you the feedback on what would help with threshold management, some of this I have in place today through various hacks.

feature request - multiple domain controllers

I spoke with someone about this request, I forget who. but it would be nice as a feature request to allow zenoss to use a list of domain controllers. When domain controllers are down/unavailable thats often when you need zenoss the most.

I understand that the kerberos tickets cache for a period of time, im not sure how long that is out of the box but it really would need to be 24 hours + for it to be totaly workable and I wouldnt want to go setting that in ad if i didnt have to.

thanks.
doug

okay maybe im dreaming now but..powershell datasource?

getting access to (even built in) powershell scripts helps alot with exchange monitoring. I was going to use zencommand to grab some results but after testing looked like things where going to be inconsistent and the implementation was a kludge.

we have tried a a few times to use winexe to run powershell scripts, it hasnt worked. I cant say that we have put our best effort in but it is definitely a windows security issue

(someone told me you actually have to write the user/passwords to the windows file system in a temp file to get it to work but that may be bs)

winexe the way it is now is also a pain because of the service that (sometimes) installs. but it looks like there is a way in winrm to get to the shell.

this is more or less what we were doing in winexe.

winexe -U DOMAIN/username --password=password --system //sysname "cmd /c
echo . | powershell d::\psscript\executeablepath\blahfile.ps1"

make problem

I cloned the zenpack, getting a GNU make error 2, realized that the /src is a link so I'm going to clone that library down to the /src zpdir. I'm assuming that is how you need to install this for now unitl the library is merged with the zenpack>

Wrong counters because of windows l10n

I have my windows installs in spanish, because of some issues with zenoss, the user I am using to monitor the servers has english as it's language. It mostly works but there are issues with the counters that have special characters.
This is what I get when retrieving the counters for the network interfaces:

2016-06-27 09:02:25,888 DEBUG zen.zenpython: Queued event (total of 2) {'rcvtime': 1467010945.888869, 'device_guid': '3a55b245-25b5-471c-86d9-ed09a83821c2', 'agent': 'zenpython', 'missing_counters': u'\network interface(conexi\xc3\xb3n de red intel[r] pro_1000 mt)\packets received errors, \network interface(conexi\xc3\xb3n de red intel[r] pro_1000 mt)\packets outbound errors, \network interface(conexi\xc3\xb3n de red intel[r] pro_1000 mt)\packets sent/sec, \network interface(conexi\xc3\xb3n de red intel[r] pro_1000 mt)\bytes sent/sec, \network interface(conexi\xc3\xb3n de red intel[r] pro_1000 mt)\packets received/sec, \network interface(conexi\xc3\xb3n de red intel[r] pro_1000 mt)\bytes received/sec', 'manager': 'zenoss.bassols-energia.es', 'device': 'docuware6', 'eventClass': '/Status/Winrm', 'monitor': 'localhost', 'severity': 2, 'summary': '6 counters missing in collection - see details', 'eventKey': 'Windows Perfmon Missing Counters'}

Basically, it seem that either zenpython?, isn't able to process interfaces with special chars in the name (conexi\xc3\xb3n is conexión) or that the modeling saved the interface names with wrong characters.

This is what I see in the interfaces section within zenoss.
spectacle zk5225

WinMSSQL.py issue with querying jobs containing domain name owners

Looks like when modeling, there is a query looking for the SQL jobs.

The user for my jobs is a domain\name, this breaks the code when parsing on the user info for the job.

ZenPacks / zenoss / Microsoft / Windows / modeler / plugins / zenoss / winrm / WinMSSQL.py

Get SQL Jobs information

jobsquery = "select s.name as jobname, s.job_id as jobid, "
"s.enabled as enabled, s.date_created as datecreated, "
"s.description as description, l.name as username from "
"msdb..sysjobs s left join master.sys.syslogins l on s.owner_sid = l.sid"

Need documentation on event log data source

my understanding what you can subscribe to the event log queues.

I was working to add event log queries and I realized that I wasn't sure if that datasource was to create data points ie be able to do something like count the # of events per x time period (which would be nice to be able to do) or if that is the mechanic to create your event log queries.

I wasnt sure if those queries are supposed to be WQL format or not....

question, mutlirealm ip

Getting ready to do some final testing before install in production.

I noticed here:

def setClusterHostMachines(self, clusterhostdnsnames):
'''
.....
device = deviceRoot.findDeviceByIdOrIp(clusterhostip)

From that i understand, if you are using multirealm ip, calling findDeviceByIdOrIP like this could return an ip in a different realm? So if you didnt discover by DNS name, you could have a cluster with a linked server in a wrong (and in our case different customer) iprealm? I guess especially if you added a cluster before the cluster host?

Seems it tries dns first which will probably be pretty good way to do it. Im not sure what the solution is (outside of creating a base client container some day). I have a couple of ideas but..

perfmon data source doesnt add data point

when i am adding a perfmon data source, it doesnt automatically create a datapoint. I know most other data sources, other than say something like the mysql data source does this.

not a big deal just a bit inconvenient and can add errors when making changes.

There may be a reason this was set up this way?

min on rrds...

Forgot to mention this, its best to set a min rrd value on all microsoft related counters. from time to time windows will return massive negative numbers and it majorly causes reporting issues for us.

I'm assuming somewhere in the windows code when it resets or rolls over a counter it may set it to some kind of minimum integer value.

Default Website is Running - Events over and over again

Hello,

I've been trying to sort out an issue with the Microsoft.Windows Zenpack IIS status events. I have multiple servers with repeating IIS events

"iis service w3svc/1 is in running state"

It looks like that transform is not running successfully on this. When I run zeneventd in debug mode I noticed the transform is failing with the line

2015-06-16 18:06:43,121 DEBUG zen.eventd: Unable to get a uuid for

2015-06-16 18:06:43,120 DEBUG zen.Events: match on:/Events/Status/instances/IISSiteStatus 2015-06-16 18:06:43,120 DEBUG zen.Events: regex='' message='IIS Service W3SVC/1 is in Running state' 2015-06-16 18:06:43,121 DEBUG zen.Events: EventClass /Status matched 2015-06-16 18:06:43,121 DEBUG zen.eventd: Unable to get a uuid for 2015-06-16 18:06:43,122 DEBUG zen.Events: Per transform/mapping, using severity 2, action 'status' and clear classes [] 2015-06-16 18:06:43,124 DEBUG zen.Events: Aborting transaction after transform 2015-06-16 18:06:43,124 DEBUG zen.Events: Event transform took 0.0 seconds (threshold 2.0 seconds), event context is {_zepRawEvent:{'event':

Not sure why the transform is failing. Other transforms are working fine

this is a copy of the transform I'm using

import re

@transact
def change_properties(currentstate):
if getattr(component, 'status') != currentstate:
setattr(component, 'status', currentstate)

msg = evt.summary
summaryObj = re.match(r'IIS Service (.) is in (.) state(.*)', msg)

change_properties(summaryObj.group(2))

Any help would be greatly appreciated

Install error 127

Hi! Community zenoss 4.2.4. Installed ZenPacks.zenoss.PythonCollector via GUI, added git as suggested on wiki page and I receive the following error. Have restarted zenoss and server after installing Python pack. Any suggestions?

[zenoss@zenoss ~]$ zenpack --link --install ZenPacks.zenoss.Microsoft.Windows
Traceback (most recent call last):
File "setup.py", line 29, in
raise Exception('"make builddependencies" exited with an error: %s' % p.returncode)
Exception: "make builddependencies" exited with an error: 127
GNUmakefile found. Running "make builddependencies" ..

ERROR:zen.ZenPackCMD:Error installing ZenPack ZenPacks.zenoss.Microsoft.Windows
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 237, in InstallEggAndZenPack
zpDists = InstallEgg(dmd, eggPath, link=link)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 300, in InstallEgg
DoEasyUninstall(eggPath)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 931, in DoEasyUninstall
easy_install.main(args)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 1712, in main
with_ei_usage(lambda:
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 1700, in with_ei_usage
return f()
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 1716, in
distclass=DistributionWithoutHelpCommands, **kw
File "/opt/zenoss/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/opt/zenoss/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/opt/zenoss/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 476, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 655, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 930, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 919, in run_setup
run_setup(setup_script, args)
File "/opt/zenoss/lib/python/setuptools/sandbox.py", line 62, in run_setup
lambda: execfile(
File "/opt/zenoss/lib/python/setuptools/sandbox.py", line 105, in run
return func()
File "/opt/zenoss/lib/python/setuptools/sandbox.py", line 64, in
{'file':setup_script, 'name':'main'}
File "setup.py", line 29, in
Exception: "make builddependencies" exited with an error: 127
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 487, in
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
fromUI=self.options.fromui)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 263, in InstallEggAndZenPack
raise e
Exception: "make builddependencies" exited with an error: 127

Winrm Connections and settings.

I was unable to find sufficient documentation to troubleshoot my issue on the web so hopefully you can help me resolve it. When i add a server to zenoss monitoring and set up winrm using the user and password and keeping all other settings default, the server is flooded with constant winrm connections and holds the cpu usage at 100% till i reboot the zenoss server or remove it from monitoring. I have tried to change zwinperfmon interval to fix the issue, If anyone could provide more insight i would appreciate it.

havent tested this yet in beta but...

I noticed in the old windows zenpack, there wasnt any polling of oper status through wmi on interfaces. its a mess to add ping templates to all interface I've found for alot of reasons...

from time to time we run into issues with a cluster nic going unavailable. if its a a physical server then hardware monitoring usually gets it but sometimes it a mis-config / os issues.

we ping the primary interfaces but if its not there/not too much would would help to get operstatus on non-primary nics.

feature request...tweak timeouts

Today on the old zenpack I have a fairly complex set of transforms that does counting escalation based on type of WMI error and count.

I suspect the timeouts will be less now with this zp but one thing I realized is that without the timeout/limiter(ie ease off on collection like max oids) zproperties you have with zencommand or zenperfsnmp you are forced to expose your system to huge bursts of load due to waves of counting transforms going off when there are connectivity issues or windows issues that prevent the processing of monitoring data..

If you have timeouts / limiters you can push that work away from the core and onto the collectors (where it should be) and you can customize them per device/site etc based on connectivity /health of the system if you need to.

If I remove the /status/wmi count transforms (and we have /command ones but they dont get hit nearly as much because wmi is more of a challenge) ...the issue is that our NOC gets exposed to alot of non/actionable events. which eventually they become numb to.

for more detail see parature case # 27296

Windows Services ...admin

From what I understand, with this ZenPack you will create a template to monitor/unmonitor windows services at the device class level.

We have 3 challenges here on our side. Most of these wouldn't effect smaller deployments but it probably will effect us significantly given factors of scale and multi-tenancy.

Challenge One:

Unless I'm mistaken, you will need to have manage/manage dmd permissions to be able to monitor/unmonitor services.

Typically my group sets the default service monitoring and we delegate out the permissions to the device owners to monitor/unmonitor their own individual services. We do this by using local roles that provide manage_device access(cant delete but can unmonitor components, etc).

Challenge Two:

Today, when we are setting the standard windows monitors we set them typically based on the services being set to auto start. this works well since for something like an Exchange server, many services are ONLY important if you are deploying the roll/feature on that server. Typically people will set their services to auto when they use the feature on the server. We break out device classes for individual Exchange roles to manage templates today but there are alot of subtleties as to weather a service is important even on a per-role basis. ie not all your edge servers will care about pop/imap/activesync services.

It there, will there be a mechanism to determine the start status?

Challenge Three:

Services are constantly changing based on upgrades/new popular software, etc. Today we have a process to review key services periodically and adjust things. It is VERY easy to do this in the services view under infrastructure. It looks like we will have to have a report to check the services inventory then have to jump to the templates to manage the templates. more work can equal more mistakes.

Also, on thing that is great now is that you can get a quick service inventory and manage the services from one place. this equals less mistakes...

Another related concerns is the current layout of the templates gui is sufficient IMO for managing performance templates where you are not making daily/hourly changes but its going to be hard to use once we have a ton of service templates. its had to tell where the templates are bound unless you are very careful. We can script template creation but this isnt a friendly way to delegate work to non-zenoss experts..

I can see the benefit of binding services to device classes but today, I can tell you as someone monitoring > 1k windows services, the existing setup work well and if we have an exception...thats what transforms are for and or overrides to individual services services.

Page life expectancy.

Id add page life expectancy along with disk counters in this article for sql servers. and if you so. Sql report do something like these counters in this article.

Also recommend adding addition disk counters for exchange servers. Not necessary to asmdd more disk counters than what you have today for most other servers.

Im not deep with sql but as far as I can tell for us the info in this article seems accurate in production but not sure about 2012.

https://www.simple-talk.com/sql/database-administration/great-sql-server-debates-buffer-cache-hit-ratio/

zWinRMPassword can't be empty

If I set zWinRMUser to a valid username and keep zWinRMPassword empty, as there is no password on the target device, I get several errors during modeling complaining about a lack of a password when, in fact, the password is empty string.

While it is invalid for a username to be empty, it is completely valid for a password to be.

CPU modelling error in certain circumstances

Under some circumstances (e.g. when using a non-administrative account to query WinRM), no data (None) is returned for "SocketDesignation" by the WinRM query. This results in a traceback for the CPU modeller.

Changing line 69 to:
if processor.SocketDesignation : socket_match = re.search(r'(\d+)', processor.SocketDesignation)
avoid this.

Issues when loading the models provided by microsoft zenpack

Since I installed the zenpack 2.1.0 on our zenoss install (2.4.5) there are some errors that are reported on the log the make winrm unusable (only the other models are discovered)

2014-08-04 09:27:06,726 ERROR zen.ZenModeler: ['Traceback (most recent call last):', '  File "/opt/zenoss/Products/DataCollector/Plugins.py", line 100, in create', '    self.modPath)', '  File "/opt/zenoss/Products/DataCollector/Plugins.py", line 192, in importPlugin', '    return importClass(modPath)', '  File "/opt/zenoss/Products/ZenUtils/Utils.py", line 429, in importClass', '    raise ex', 'ImportError: No module named modeler.plugins.zenoss.winrm.IIS']
2014-08-04 09:27:06,726 ERROR zen.ZenModeler: Due to import errors, removing the ZenPacks.zenoss.Microsoft.Windows.modeler.plugins.zenoss.winrm.IIS plugin from this collection cycle.

The same thing happens with the rest of the winrm models, see the full log here ( https://gist.github.com/aseques/28fb6b3d4a160ebf43cb)
Any clue on this?

IIS Modeler Plugin Problem

hi everyone,

there is a problem while modeling device as IIS server. After model device with IIS Modeler plugin server going to stuck cause too many (like 60 - 80 processes) winrshost.exe (conhost.exe, powershell.exe, cmd.exe) processes on server. This is really problem.

screenshot_2

Interface threshold produces an error

The current interface modeller saves the "speed" attribute as a string, this produces an error when the threshold is checked:

User-supplied Python expression ((here.speed or 1e9) / 8 * .75) for maximum value caused error: ['bytesReceivedSec_bytesReceivedSec', 'bytesSentSec_bytesSentSec']

Amending "modeler/plugins/zenoss/winrm/Interfaces.py" from:
int_om.speed = inter.Speed
to
int_om.speed = int(inter.Speed)
resolves the issue.

install error

I never got a chance to try the last version, just blew away and reinstalled the zenpack. tried to install the latest version and Im getting this:

INFO:zen.ZenPackCMD:Previous ZenPack exists with same name ZenPacks.zenoss.Microsoft.Windows
ERROR:zen.ZenPackCMD:Error installing ZenPack ZenPacks.zenoss.Microsoft.Windows/
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 243, in InstallEggAndZenPack
fromUI=fromUI)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 471, in InstallDistAsZenPack
zenPack, deferFileDeletion, existing = transactional_actions()
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(_args, *_kwargs)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 386, in transactional_actions
for p in existing.packables():
File "/opt/zenoss/Products/ZenRelations/ToManyRelationship.py", line 71, in call
return self.objectValuesAll()
File "/opt/zenoss/Products/ZenRelations/ToManyRelationship.py", line 174, in objectValuesAll
return list(self.objectValuesGen())
File "/opt/zenoss/Products/ZenRelations/ToManyRelationship.py", line 186, in objectValuesGen
yield obj.of(self)
AttributeError: 'TypeperfSc1DataSource' object has no attribute 'of'
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
fromUI=self.options.fromui)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 259, in InstallEggAndZenPack
raise e
AttributeError: 'TypeperfSc1DataSource' object has no attribute 'of'

Modeling a device from a remote collector

I've got a problem. I cannot model a Windows server using a remote collector.

My scenario:

Zenoss Master ---> Internet ----> Zenoss remote collector ---> Windows Server 192.168.1.10

CentOS 6.6
Zenoss 4.2.5
ZenPacks.community.DistributedCollectors 2.0.2
ZenPacks.zenoss.Microsoft.Windows 2.3.1
ZenPacks.zenoss.PythonCollector 1.6.3

In this scenario the device IP 192.168.1.10 belongs to a different Microsoft Windows domain related to Zenoss Master. The fields zWinKDC, zWinRMPassword, zWinRMPort, zWinRMServerName, zWinRMUser, zWinScheme have their specific configuration related to its domain.

2015-02-09 12:05:31,778 INFO zen.ZenModeler: Connected to ZenHub
2015-02-09 12:05:32,978 INFO zen.ZenModeler: Collecting for device 192.168.1.10
2015-02-09 12:05:33,265 INFO zen.ZenModeler: skipping WMI-based collection, PySamba zenpack not installed
2015-02-09 12:05:33,276 INFO zen.ZenModeler: Python collection device 192.168.1.10
2015-02-09 12:05:33,276 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
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x7755290>> ignored
2015-02-09 12:05:33,292 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x7755290>> ignored
2015-02-09 12:05:33,304 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x77556d0>> ignored
2015-02-09 12:05:33,318 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x7755b10>> ignored
2015-02-09 12:05:33,328 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x7755ed0>> ignored
2015-02-09 12:05:33,339 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x7755ed0>> ignored
2015-02-09 12:05:33,350 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x7755ed0>> ignored
2015-02-09 12:05:33,361 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x77550d0>> ignored
2015-02-09 12:05:33,371 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x7755650>> ignored
2015-02-09 12:05:33,382 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x7755bd0>> ignored
2015-02-09 12:05:33,392 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x7755550>> ignored
2015-02-09 12:05:33,403 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
Exception AttributeError: "'AuthGSSClient' object has no attribute '_context'" in <bound method AuthGSSClient.del of <txwinrm.util.AuthGSSClient object at 0x7755ed0>> ignored
2015-02-09 12:05:33,410 ERROR zen.PythonClient: Error on 192.168.1.10: No module named kerberos
2015-02-09 12:05:33,410 INFO zen.PythonClient: Python client finished collection for 192.168.1.10
2015-02-09 12:05:33,411 WARNING zen.ZenModeler: The plugin zenoss.winrm.OperatingSystem returned no results.
2015-02-09 12:05:33,411 WARNING zen.ZenModeler: The plugin zenoss.winrm.CPUs returned no results.
2015-02-09 12:05:33,411 WARNING zen.ZenModeler: The plugin zenoss.winrm.FileSystems returned no results.
2015-02-09 12:05:33,411 WARNING zen.ZenModeler: The plugin zenoss.winrm.Interfaces returned no results.
2015-02-09 12:05:33,411 WARNING zen.ZenModeler: The plugin zenoss.winrm.Services returned no results.
2015-02-09 12:05:33,411 WARNING zen.ZenModeler: The plugin zenoss.winrm.Processes returned no results.
2015-02-09 12:05:33,411 WARNING zen.ZenModeler: The plugin zenoss.winrm.Software returned no results.
2015-02-09 12:05:33,411 WARNING zen.ZenModeler: The plugin zenoss.winrm.IIS returned no results.
2015-02-09 12:05:33,412 INFO zen.ZenModeler: No change in configuration detected
2015-02-09 12:05:33,412 INFO zen.ZenModeler: No command plugins found for 192.168.1.10
2015-02-09 12:05:33,412 INFO zen.ZenModeler: SNMP monitoring off for 192.168.1.10
2015-02-09 12:05:33,412 INFO zen.ZenModeler: No portscan plugins found for 192.168.1.10
2015-02-09 12:05:33,413 INFO zen.ZenModeler: Scan time: 0.43 seconds
2015-02-09 12:05:33,415 INFO zen.ZenModeler: Daemon ZenModeler shutting down

Kind Regards,
Marcio

Customized MSSQL Datasource failed!

I am now using the latest Microsoft Windows zenpack 2.6.1. Under the "SQL instances" component, I created a datasource with the following information but failed to retrieve the counter. Any hints?

Strategy : Custom Command
Parser : Auto
Use Powershell : checked
Script : get-counter -computer '${here/id}' -counter "\SQLServer:Buffer Manager\Page life expectancy";

A warning event complains about the access problem :
"Custom Command error: Get-Counter : Unable to access the desired computer or service. Check the permissions and authentication of the log service or the interactive user session against those on the computer or service being monitored."

Operation Timeout

Hello,

I've an issue with all server in my organization, I've an Operation Timeout:
DEBUG zen.windows: OperationTimeout for XXX.XXX.XXX.XXX

The perfmon can work for 1 hour or 2 hour, and after nothing.
There are many process powershell, and conhost, cmd created by zenoss on the server. can be 50 or 60 process.

zenoss version is 4.2.5, Zenpython and zenpack windows is the latest version.

HAve you an idea for this problem ?

thanks by advance,
regards,
pixmind

Error with zenoss.winrm.Processes

Hi,
When I model my server this error appear :

2015-02-17 14:48:21,964 ERROR zen.ZenModeler: : Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 85, in inner
return callable(_args, *_kw)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 144, in remote_applyDataMaps
result = inner(map)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 140, in inner
return self._do_with_retries(action)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 166, in _do_with_retries
return action()
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 131, in action
completed= bool(adm._applyDataMap(device, map))
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(_args, *_kwargs)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 217, in _applyDataMap
changed = self._updateRelationship(tobj, datamap)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PythonCollector-1.6.3.egg/ZenPacks/zenoss/PythonCollector/patches/platform.py", line 38, in _updateRelationship
return original(self, device, relmap)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 280, in _updateRelationship
objchange, obj = self._createRelObject(device, objmap, rname)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 466, in _createRelObject
up_changed = self._updateObject(remoteObj, objmap)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 389, in _updateObject
setter(*args)
File "/opt/zenoss/Products/ZenModel/Software.py", line 184, in setInstallDate
self._installDate.setDate(value)
File "/opt/zenoss/Products/ZenModel/ZenDate.py", line 27, in setDate
date = DateTime(date)
File "/opt/zenoss/lib/python/DateTime/DateTime.py", line 439, in init
return self._parse_args(_args, *_kw)
File "/opt/zenoss/lib/python/DateTime/DateTime.py", line 751, in _parse_args
yr, mo, dy, hr, mn, sc, tz = self._parse(arg, datefmt)
File "/opt/zenoss/lib/python/DateTime/DateTime.py", line 988, in _parse
raise SyntaxError(st)
SyntaxError: Tue /Ma/y 00:00:00
:
Traceback (most recent call last):
File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 693, in processClient
if driver.next():
File "/opt/zenoss/Products/ZenUtils/Driver.py", line 63, in result
raise ex
RemoteException: : Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 85, in inner
return callable(_args, *_kw)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 144, in remote_applyDataMaps
result = inner(map)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 140, in inner
return self._do_with_retries(action)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 166, in _do_with_retries
return action()
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 131, in action
completed= bool(adm._applyDataMap(device, map))
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(_args, *_kwargs)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 217, in _applyDataMap
changed = self._updateRelationship(tobj, datamap)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PythonCollector-1.6.3.egg/ZenPacks/zenoss/PythonCollector/patches/platform.py", line 38, in _updateRelationship
return original(self, device, relmap)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 280, in _updateRelationship
objchange, obj = self._createRelObject(device, objmap, rname)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 466, in _createRelObject
up_changed = self._updateObject(remoteObj, objmap)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 389, in _updateObject
setter(*args)
File "/opt/zenoss/Products/ZenModel/Software.py", line 184, in setInstallDate
self._installDate.setDate(value)
File "/opt/zenoss/Products/ZenModel/ZenDate.py", line 27, in setDate
date = DateTime(date)
File "/opt/zenoss/lib/python/DateTime/DateTime.py", line 439, in init
return self._parse_args(_args, *_kw)
File "/opt/zenoss/lib/python/DateTime/DateTime.py", line 751, in _parse_args
yr, mo, dy, hr, mn, sc, tz = self._parse(arg, datefmt)
File "/opt/zenoss/lib/python/DateTime/DateTime.py", line 988, in _parse
raise SyntaxError(st)
SyntaxError: Tue /Ma/y 00:00:00
:
2015-02-17 14:48:21,982 ERROR zen.ZenModeler: Client stcyr-dc02.ch-st-cyr69.fr finished with message: [Failure instance: Traceback (failure with no frames): <class 'Products.ZenHub.PBDaemon.RemoteException'>: : Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 85, in inner
return callable(_args, *_kw)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 144, in remote_applyDataMaps
result = inner(map)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 140, in inner
return self._do_with_retries(action)
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 166, in _do_with_retries
return action()
File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 131, in action
completed= bool(adm._applyDataMap(device, map))
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(_args, *_kwargs)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 217, in _applyDataMap
changed = self._updateRelationship(tobj, datamap)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.PythonCollector-1.6.3.egg/ZenPacks/zenoss/PythonCollector/patches/platform.py", line 38, in _updateRelationship
return original(self, device, relmap)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 280, in _updateRelationship
objchange, obj = self._createRelObject(device, objmap, rname)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 466, in _createRelObject
up_changed = self._updateObject(remoteObj, objmap)
File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 389, in _updateObject
setter(*args)
File "/opt/zenoss/Products/ZenModel/Software.py", line 184, in setInstallDate
self._installDate.setDate(value)
File "/opt/zenoss/Products/ZenModel/ZenDate.py", line 27, in setDate
date = DateTime(date)
File "/opt/zenoss/lib/python/DateTime/DateTime.py", line 439, in init
return self._parse_args(_args, *_kw)
File "/opt/zenoss/lib/python/DateTime/DateTime.py", line 751, in _parse_args
yr, mo, dy, hr, mn, sc, tz = self._parse(arg, datefmt)
File "/opt/zenoss/lib/python/DateTime/DateTime.py", line 988, in _parse
raise SyntaxError(st)
SyntaxError: Tue /Ma/y 00:00:00
:
]
have you an idea of this problem ?
Thanks by advance

Windows Server Cluster 2012 R2 available storage failed

On Windows Server Cluster 2012 R2 in "Cluster services" generated event for component available storage - "Last state of component was Offline". On cluster this disk does not exist. if add this disk to cluster, event is closed. On server 2008 R2 this event does not appear, while Available Storage disk does not exist also.

Filling Application logs potential fix

Have a customer that was getting their app event log filled up (im assuming this is happening during modeling software. Its using the old zenpack but im assuming the query still goes to WMI.

It may not be Zenoss doing this at all, not sure yet but we were able to dig up some interesting info...

Microsoft posted a suggestion on a cleaner more efficient way to grab software info here:

http://support.microsoft.com/kb/974524

here is an excerpt:

Win32_product Class is not query optimized. Queries such as “select * from Win32_Product where (name like 'Sniffer%')” require WMI to use the MSI provider to enumerate all of the installed products and then parse the full list sequentially to handle the “where” clause. This process also initiates a consistency check of packages installed, verifying and repairing the install. With an account with only user privileges, as the user account may not have access to quite a few locations, may cause delay in application launch and an event 11708 stating an installation failure.

Win32reg_AddRemovePrograms is a much lighter and effective way to do this, which avoids the calls to do a resiliency check, especially in a locked down environment. So when using Win32reg_AddRemovePrograms we will not be calling on msiprov.dll and will not be initiating a resiliency check.

Unable to install

ERROR:zen.ZenMessaging:Error encountered while processing ZenPacks.Zenpack.zenoss.Microsoft.Windows
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenMessaging/queuemessaging/schema.py", line 58, in _getZenPackSchemas
pkg_path = zpkg.load().path[0]
File "/opt/zenoss/lib/python/pkg_resources.py", line 1954, in load
entry = import(self.module_name, globals(),globals(), ['name'])
ImportError: No module named Windows
ERROR:zen.ZenossStartup:Error encountered while processing ZenPacks.Zenpack.zenoss.Microsoft.Windows
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenossStartup/init.py", line 27, in
pkg_path = zpkg.load().path[0]
File "/opt/zenoss/lib/python/pkg_resources.py", line 1954, in load
entry = import(self.module_name, globals(),globals(), ['name'])
ImportError: No module named Windows
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 487, in
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 143, in run
self.connect()
File "/opt/zenoss/Products/ZenUtils/ZenScriptBase.py", line 52, in connect
setDescriptors(self.dmd)
File "/opt/zenoss/Products/ZenRelations/ZenPropertyManager.py", line 663, in setDescriptors
module = import(zpkg.module_name, globals(), locals(), fromlist)
ImportError: No module named Windows

broadcomnic - Cannot find path

'broadcomnic': {'exit_code': 0,
 'stderr': ["Get-ChildItem : Cannot find path 'HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\S",
            "ervices\\Blfp\\Parameters\\Adapters' because it does not exist.",
            'At line:1 char:17',
            "+ & {get-childitem <<<<  'HKLM:\\SYSTEM\\CurrentControlSet\\Services\\Blfp\\Paramete",
            "rs\\Adapters' | foreach-object {get-itemproperty $_.pspath} | foreach-object {'i",
            "d=', $_.pschildname, ';teamname=',$_.teamname, '|'};}",
            '+ CategoryInfo          : ObjectNotFound: (HKEY_LOCAL_MACH...meters\\Adapte',
            'rs:String) [Get-ChildItem], ItemNotFoundException',
            '+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetCh',
            'ildItemCommand'],
 'stdout': []}, 'registry': {'exit_code': 0, 'stderr': [], 'stdout': []}}
2014-04-07 16:18:40,341 INFO zen.PythonClient: Python client finished collection for test.com

Broadcom NetXtreme Gigabit Ethernet interface have unknown admin status and monitored field.

option to turn off software modelling

I have not looked to see if you are doing software modelling (ie installed products on the windows box) yet but if you are, you will definitely need a zproperty to be able to turn that off or a separate modeler you can deselect.

The database gets corrupted sometimes and you cant get installed software data through either snmp or wmi and most of our engineers and customers dont go to any length to try and fix it so now I just unbind that modeler when it happens. otherwise the existing modeler crashes.

Exchange templates

Alotof exchange counters are highly dependent on the server role. Ive found the best way to break it out is to have a mailbox, cas, hub(i put both hub type counters here) templates or you end up with alot of nans in anything exch 2007 +

Error on modeling after upgrade to 2.5.13

I just upgraded the zenpack in my install to 2.5.13 from 2.5.10, and some errors appeared on one of the hosts when doing the modeling.

Traceback (most recent call last): File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 647, in processClient datamaps = plugin.process(device, results, self.log) File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.5.13.egg/ZenPacks/zenoss/Microsoft/Windows/modeler/plugins/zenoss/winrm/OperatingSystem.py", line 106, in process if computerSystem.DomainRole in (BACKUPDC, PRIMARYDC): AttributeError: 'Item' object has no attribute 'DomainRole'

This host is a windows 2008r2 with no domain roles (only a member of the domain) with iis installed,

Clear Event

I've noticed on at least the last two releases (all I've used) that if the modeling cycle falls around the time a rebooted server starts up, it generates an event "HTTP Unauthorized received on initial kerberos request."

This only occurs when a server is rebooted. Once started up modeling and monitoring are fine. I should note that the account I am using is a domain account.

This particular event doesn't clear itself

FileSystem not working correctly

Hi,

THe filesystem components does not display usedbyte,Free Byte,etc...
the graph is not updated,
Have you an idea for this problem ?

thanks by advance,
regards,
pixmind

Event log -sql events request

Today sql server event class keys get created with the sql instance id appended on.

This is a pain because i have to use a default mapping to catch them all then a huge ugly transform to do things.

Otherwise is have something like:

SqlInstance1_eventSource1_eventid
sqlinstance2_eventSource1_eventid1

Cannot install this Zenpack

Hi Guys

Trying to install this i get this error below

CODE:

[root@nit-monitoring zen]# zenpack --link --install ZenPacks.zenoss.Microsoft.Windows
2014-04-09 07:53:27,735 INFO zen.ZPLoader: Loading /zen/ZenPacks.zenoss.Microsoft.Windows/ZenPacks/zenoss/Microsoft/Windows/objects/objects.xml
2014-04-09 07:53:30,614 ERROR zen.ZenPackCMD: Error installing ZenPack ZenPacks.zenoss.Microsoft.Windows
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 247, in InstallEggAndZenPack
fromUI=fromUI)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 477, in InstallDistAsZenPack
zenPack, deferFileDeletion, existing = transactional_actions()
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(_args, *_kwargs)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 436, in transactional_actions
zenPack.install(dmd)
File "/zen/ZenPacks.zenoss.Microsoft.Windows/ZenPacks/zenoss/Microsoft/Windows/init.py", line 89, in install
super(ZenPack, self).install(app)
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 240, in install
loader.load(self, app)
File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 106, in load
importer.loadObjectFromXML(xmlfile=f)
File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 481, in loadObjectFromXML
parser.parse(self.infile)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/opt/zenoss/lib/python/_xmlplus/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 216, in feed
self._parser.Parse(data, isFinal)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 312, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 155, in startElement
obj = self.createObject(attrs)
File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 281, in createObject
klass = importClass(attrs.get('module'), attrs.get('class'))
File "/opt/zenoss/Products/ZenUtils/Utils.py", line 429, in importClass
raise ex
ImportError: cannot import name create_enum_info
2014-04-09 07:53:30,623 ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 487, in
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
fromUI=self.options.fromui)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 263, in InstallEggAndZenPack
raise e
ImportError: cannot import name create_enum_info

Running Zenoss 4.2.4, i did have it working till i accidentaly removed it and now i cannot install it again

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.