Hi
Now that we found out how to install distributed collectors, we are rying to
setup distributed zenhub on the core edition.
To do it, we did the following:
* On the master server (zenoss.ancy)
- grant mysql access to the remote zenhub (grant all privileges for
zenoss%172.23.10.2 blahblah)
- in /dmd/ZenEventManager changed the mysql hostname from "localhost" =>
"zenoss.ancy.fr.sopra" (master server)
* On the distributed server (zenoss.ptx)
- changed zope.conf
<zeoclient>
server zenoss.ancy.fr.sopra:8100 # master zope server
</zeoclient>
- changed zenhub.conf:
host zenoss.ancy.fr.sopra # master zope server
monitor zenoss.ptx.fr.sopra # distributed zenoss server
- changed zentrap.conf
monitor zenoss.ptx.fr.sopra
hubhost zenoss.ptx.fr.sopra
Now, we run in a problem as the collectors complain on startup with the
following
Code:
zen...@zenoss:/opt/zenoss/log> zentrap run -v10
DEBUG:zen.ZenTrap:run
DEBUG:zen.ZenTrap:Connecting to zenoss.ptx.fr.sopra:8789
DEBUG:zen.ZenTrap:Logging in as admin
INFO:zen.ZenTrap:Connected to ZenHub
DEBUG:zen.ZenTrap:setting up services EventService
DEBUG:zen.ZenTrap:chaining getInitialServices with d2
DEBUG:zen.ZenTrap:callback after getting service EventService
DEBUG:zen.ZenTrap:Calling connected.
DEBUG:zen.ZenTrap:connected
DEBUG:zen.ZenTrap:Sending event {'severity': 0, 'component': 'zentrap',
'agent': 'zentrap', 'summary': 'started', 'manager': 'zenoss.ptx.fr.sopra',
'device': 'zenoss.ptx.fr.sopra', 'eventClass': '/App/Start'}
DEBUG:zen.ZenTrap:Sending event {'severity': 0, 'component': 'zentrap',
'agent': 'zentrap', 'summary': 'zentrap started', 'manager':
'zenoss.ptx.fr.sopra', 'device': 'zenoss.ptx.fr.sopra', 'eventClass':
'/App/Start'}
INFO:zen.ZenTrap:started
INFO:zen.ZenTrap:fetching default RRDCreateCommand
INFO:zen.ZenTrap:getting threshold classes
ERROR:zen.ZenTrap:Unexpected error in configure: [Failure instance: Traceback
(failure with no frames): Products.ZenHub.PBDaemon.RemoteException: Remote
exception: exceptions.AttributeError: 'ZenPack' object has no attribute
'__of__'Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 46, in inner
return callable(*args, **kw)
File "/usr/local/zenoss/zenoss/Products/ZenHub/services/ThresholdMixin.py",
line 22, in remote_getThresholdClasses
for pack in self.dmd.ZenPackManager.packs():
File
"/usr/local/zenoss/zenoss/Products/ZenRelations/ToManyContRelationship.py",
line 67, in __call__
return [ob.__of__(self) for ob in self._objects.values()]
AttributeError: 'ZenPack' object has no attribute '__of__'
Anyone that already setup distributed zenhub with the core edition ?
Regards
--
Florian Deckert
SopraGroup - France
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=30270#30270
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users