So I'm working on getting ZenJMX working on our system

1) Installed zenpack ok
2) Restarted zenoss
3) "zenjmx run" works fine- reports no configs from zenhub.
4) Modified the management port in the ZenJMX template to
${here/zJMXManagementPort} to use a zProp instead of the static 11111
5) Created copy of said ZenJMX template & bound to a device class...
6) Ran "zenjmx run -v10" and out comes the following......

any ideas?

zen...@mon02:/mw/zenoss/zenoss/log> zenjmx run -v10
DEBUG:zen.ZenJMX:run
DEBUG:zen.ZenJMX:Connecting to localhost:8789
DEBUG:zen.ZenJMX:Logging in as admin
INFO:zen.ZenJMX:Connected to ZenHub
DEBUG:zen.ZenJMX:setting up services EventService,
ZenPacks.zenoss.ZenJMX.services.ZenJMXConfigService
DEBUG:zen.ZenJMX:chaining getInitialServices with d2
DEBUG:zen.ZenJMX:callback after getting service EventService
DEBUG:zen.ZenJMX:callback after getting service
ZenPacks.zenoss.ZenJMX.services.ZenJMXConfigService
DEBUG:zen.ZenJMX:Calling connected.
DEBUG:zen.ZenJMX:connected
DEBUG:zen.ZenJMX:Sending event {'severity': 0, 'component': 'zenjmx',
'agent': 'zenjmx', 'summary': 'started', 'manager': 'localhost', 'device':
'localhost', 'eventClass': '/App/Start'}
DEBUG:zen.ZenJMX:connected(): zenjmxjavaport is 9988
DEBUG:zen.ZenJMX:connected(): cycletime is 300
INFO:zen.ZenJmxJavaClient:run():starting zenjmxjava
DEBUG:zen.ZenJmxJavaClient:run():spawn process
('/mw/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.ZenJMX-3.0-py2.4.egg/ZenPacks/zenoss/ZenJMX/bin/zenjmxjava',
'run', '--configfile', '/mw/zenoss/zenoss/etc/zenjmx.conf',
'-zenjmxjavaport', '9988', '-v', '10')
DEBUG:zen.ZenJmxJavaClient:connectionMade():zenjmxjava started
DEBUG:zen.ZenJmxJavaClient:connectionMade():scheduling callback
DEBUG:zen.ZenJmxJavaClient:connectionMade(): done
DEBUG:zen.ZenJMX:connected(): launched process, waiting on callback
[2008-12-31 01:36:04,038] [INFO ] [main]
com.zenoss.zenpacks.zenjmx.ZenJmxMain:144 - zenjmxjava configuration:
[2008-12-31 01:36:04,041] [INFO ] [main]
com.zenoss.zenpacks.zenjmx.ZenJmxMain:145 - {hubUrl=http://localhost:8081/,
hubUser=admin, jmxTimeOut=30, componentName=zenjmx, zenjmxjavaport=9988,
confName=localhost, jmxPoolSize=10, cycleTime=300, v=10, hubPass=zenoss}
[2008-12-31 01:36:04,042] [INFO ] [main]
com.zenoss.zenpacks.zenjmx.ZenJmxMain:68 - setting root logger to DEBUG
2008-12-31 01:36:04.064::INFO:  Logging to STDERR via
org.mortbay.log.StdErrLog
2008-12-31 01:36:04.130::INFO:  jetty-6.0.2
2008-12-31 01:36:04.148::INFO:  Started SocketConnector @ 0.0.0.0:9988
DEBUG:zen.ZenJmxJavaClient:doCallback(): callback on deferred zenjmxjava
proc is up
INFO:zen.ZenJMX:startZenjmx(): zenjmx java started
DEBUG:zen.ZenJMX:configTask(): fetching config
DEBUG:zen.ZenJMX:fetchConfig(): Fetching config from zenhub
DEBUG:zen.ZenJMX:Sending event {'severity': 0, 'component': 'zenjmx',
'agent': 'zenjmx', 'summary': 'zenjmxjava started', 'manager': 'localhost',
'device': 'localhost', 'eventClass': '/Status/JMX'}
DEBUG:zen.ZenJMX:Updated configCycleInterval config to 360
DEBUG:zen.ZenJMX:Loading classes ['Products.ZenModel.MinMaxThreshold']
DEBUG:zen.thresholds:Updating threshold ('zeneventlog cycle time',
('localhost', ''))
DEBUG:zen.thresholds:Updating threshold ('zenmodeler cycle time',
('localhost', ''))
DEBUG:zen.thresholds:Updating threshold ('zenperfsnmp cycle time',
('localhost', ''))
DEBUG:zen.thresholds:Updating threshold ('zenping cycle time', ('localhost',
''))
DEBUG:zen.thresholds:Updating threshold ('zenprocess cycle time',
('localhost', ''))
DEBUG:zen.thresholds:Updating threshold ('zenwin cycle time', ('localhost',
''))
ERROR:zen.ZenJMX:[Failure instance: Traceback (failure with no frames):
exceptions.AttributeError: CopiedFailure instance has no attribute '__len__'
]
Traceback (most recent call last):
  File "/mw/zenoss/zenoss/Products/ZenUtils/Driver.py", line 49, in _next
    self.iter.next().addBoth(self._finish)
  File
"/mw/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.ZenJMX-3.0-py2.4.egg/ZenPacks/zenoss/ZenJMX/zenjmx.py",
line 80, in configTask
    driver.next()
  File "/mw/zenoss/zenoss/Products/ZenUtils/Driver.py", line 64, in result
    raise ex
AttributeError: CopiedFailure instance has no attribute '__len__'
INFO:zen.ZenJmxJavaClient:stop():stopping zenjmxjava
INFO:zen.ZenJMX:Daemon ZenJMX shutting down
DEBUG:zen.ZenJMX:removing service EventService
DEBUG:zen.ZenJMX:removing service
ZenPacks.zenoss.ZenJMX.services.ZenJMXConfigService
INFO:zen.ZenJMX:zenjmx shutting down
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to