Archived community.zenoss.org | full text search
Skip navigation
489 Views 0 Replies Latest reply: Dec 4, 2013 2:58 PM by SF_Dan RSS
SF_Dan Newbie 3 posts since
Apr 3, 2012
Currently Being Moderated

Dec 4, 2013 2:58 PM

Windows Service monitoring error

I am attempting to monitor windows services but I seem to have completly broken zenwin. I think I may have deleted a servce but even after re-adding it I get the following errors:

 

From Events:

 

Component: Products.ZenWin.services.WinServiceConfig.WinServiceConfig
Message: Unhandled exception in zenhub service Products.ZenWin.services.WinServiceConfig.WinServiceConfig: 'NoneType' object has no attribute 'monitoredStartModes'

 

traceback Traceback (most recent call last): File "/usr/local/zenoss/zenoss/Products/ZenCollector/services/config.py", line 86, in _wrapFunction return functor(*args, **kwargs) File "/usr/local/zenoss/zenoss/Products/ZenWin/services/WinServiceConfig.py", li

 

 

From zenhub log:

 

2013-12-04 13:48:35,949 ERROR zen.hub: Unhandled exception in zenhub service Products.ZenWin.services.WinServiceConfig.WinServiceConfig: 'NoneType' object has no attribute 'monitoredStartModes'

Traceback (most recent call last):

  File "/usr/local/zenoss/zenoss/Products/ZenCollector/services/config.py", line 86, in _wrapFunction

    return functor(*args, **kwargs)

  File "/usr/local/zenoss/zenoss/Products/ZenWin/services/WinServiceConfig.py", line 84, in _createDeviceProxy

    if service.getStatus() > 0:

  File "/usr/local/zenoss/zenoss/Products/ZenModel/WinService.py", line 133, in getStatus

    if self.startMode not in self.getMonitoredStartModes():

  File "/usr/local/zenoss/zenoss/Products/ZenModel/WinService.py", line 117, in getMonitoredStartModes

    return self.serviceclass().monitoredStartModes

AttributeError: 'NoneType' object has no attribute 'monitoredStartModes'

 

 

Version Info:

Zenoss Zenoss 3.2.1
OS Linux (x86_64) 3.2.0 (Linux ZENOSS 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64)
Zope Zope 2.12.1
Python Python 2.6.2
Database MySQL 5.0.45 (Ver 5.0.45)
RRD RRDtool 1.3.9
Twisted Twisted 8.1.0
NetSnmp NetSnmp 5.4.1
PyNetSnmp PyNetSnmp 0.29.13
WMI Wmi 1.3.13

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points