Discussion:
Adding remote monitor fails
nilie
2012-10-25 19:00:05 UTC
Permalink
nilie [http://community.zenoss.org/people/nilie] created the discussion

"Adding remote monitor fails"

To view the discussion, visit: http://community.zenoss.org/message/69536#69536

--------------------------------------------------------------
Hello everybody,

I'm trying to add a remote monitor and I was following closely the document at http://community.zenoss.org/message/69058#69058#69058 http://community.zenoss.org/message/69058#69058. I'm running Zenoss core v4.2 and everything went OK up to the installation of the Distributed Collectors ZenPack which was also successful. As soon as I wanted to add the remote monitor on the hub, the operation failed with the error message shown below.


Any idea would be appreciated.

Error message :

2012-10-25 14:39:38,000 INFO zen.updateCollector: Exception while performing command:
2012-10-25 14:39:38,000 INFO zen.updateCollector:

Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUI3/browser/streaming.py", line 46, in __call__
    self.stream()
  File "/opt/zenoss/ZenPacks/ZenPacks.community.DistributedCollectors-2.0.egg/ZenPacks/community/DistributedCollectors/__init__.py", line 109, in stream
    transaction.commit()
  File "/opt/zenoss/lib/python/transaction/_manager.py", line 89, in commit
    return self.get().commit()
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 342, in commit
    reraise(t, v, tb)
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 333, in commit
    self._commitResources()
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 473, in _commitResources
    reraise(t, v, tb)
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 450, in _commitResources
    rm.tpc_vote(self)
  File "/opt/zenoss/lib/python/ZODB/Connection.py", line 781, in tpc_vote
    s = vote(transaction)
  File "/opt/zenoss/lib/python/relstorage/storage.py", line 794, in tpc_vote
    return self._vote()
  File "/opt/zenoss/lib/python/relstorage/storage.py", line 841, in _vote
    serials = self._finish_store()
  File "/opt/zenoss/lib/python/relstorage/storage.py", line 754, in _finish_store
    rdata = self.tryToResolveConflict(oid, prev_tid, serial, data)
  File "/opt/zenoss/lib/python/ZODB/ConflictResolution.py", line 277, in tryToResolveConflict
    data=newpickle)
ConflictError: database conflict error (oid 0x3c18, class BTrees.OOBTree.OOBTree, serial this txn started with 0x039a24bf06b12e99 2012-10-25 18:39:01.568465, serial currently committed 0x039a24bf898362ee 2012-10-25 18:39:32.229663)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69536#69536]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-10-26 03:20:59 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Adding remote monitor fails"

To view the discussion, visit: http://community.zenoss.org/message/69534#69534

--------------------------------------------------------------
At first glance it feels like you might have tried to install when the system was busy. I've not seen that specific error during installing a collecter, but I do get it from time to time when doing things in DMD on a busy system.

I'm wondering if you can just retry it if it works?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69534#69534]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
nilie
2012-10-29 17:58:41 UTC
Permalink
nilie [http://community.zenoss.org/people/nilie] created the discussion

"Re: Adding remote monitor fails"

To view the discussion, visit: http://community.zenoss.org/message/69588#69588

--------------------------------------------------------------
It looks like the error message is less helpful than it should be. In a moment of inspiration or despair, I just disabled the firewall on the new collector and retried adding the collector. This time it worked just fine so I went and disabled the firewall on the hub too as an added precaution.
In my iptables configuration I had open all the ports specified in the documentation but it seems that the communication between the hub and the remote collector is using some extra ports. So far I am comfortable with running without firewall but can anyone tell us what ports need to be open on the hub and on the collector for a remote monitor to work correctly ?

Thanks
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69588#69588]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-10-29 18:14:29 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Adding remote monitor fails"

To view the discussion, visit: http://community.zenoss.org/message/69589#69589

--------------------------------------------------------------
Here are the ports I'm aware of on 3.2.1: http://wiki.zenoss.org/Zenoss_Core_-_Remote_Collector_Firewall_Requirements http://wiki.zenoss.org/Zenoss_Core_-_Remote_Collector_Firewall_Requirements

If you happen to uncover some others, please update that page accordingly.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69589#69589]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...