zenoss/ZenPacks.zenoss.RabbitMQ — Issue #2: No 'where' clause found for event_key ComponentId
Author: silas
Created: 2011-11-02 18:15:48+00:00
State: open

I get the following error whenever I try to access any of the RabbitMQ "Components" from a device (ex: "RabbitMQ Nodes").

ValueError No 'where' clause found for event_key ComponentId

Applying the following patch stopped the error from appearing, but I don't really understand the ramifications of the change:

diff --git a/ZenPacks/zenoss/RabbitMQ/RabbitMQComponent.py b/ZenPacks/zenoss/RabbitMQ/RabbitMQComponent.py
index e588399..f56aed7 100644
--- a/ZenPacks/zenoss/RabbitMQ/RabbitMQComponent.py
+++ b/ZenPacks/zenoss/RabbitMQ/RabbitMQComponent.py
@@ -36,8 +36,5 @@ class RabbitMQComponent(DeviceComponent, ManagedEntity):
},),
},)

- # Query for events by id instead of name.
- event_key = "ComponentId"
-
# Commands are run via SSH and should not be specified absolutely.
zCommandPath = ''

Software Component Versions

Zenoss Zenoss 3.2.0
Zope Zope 2.12.1
Python Python 2.6.2
Database MySQL 5.0.77 (Ver 5.0.77)
RRD RRDtool 1.3.9
Twisted Twisted 8.1.0
NetSnmp NetSnmp 5.3.2
PyNetSnmp PyNetSnmp 0.29.13
WMI Wmi 1.3.13