I am running zenoss 2.1.3 on one server and mysql 5.x on another. I have configured the Events Manager to use the separate mysql server. That part is working.
I can acknowledge events but when I try to move event(s) to history, the gui goes thru the motions but doesn't actually move the event(s). The following appears in $ZENHOME/log/event.log when I try to move an event to history. Code: ------ 2008-04-02T09:15:28 ERROR Zope.SiteErrorLog http://zenoss:8080/zport/dmd/Devices/Server/Windows/devices/whmail/manage_deleteBatchEvents Traceback (most recent call last): File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 114, in publish request, bind=1) File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 88, in mapply if debug is not None: return debug(object,args,context) File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 40, in call_object result=apply(object,args) # Type s<cr> to step into published object. File "/opt/zenoss/Products/ZenModel/EventView.py", line 156, in manage_deleteBatchEvents self.manage_deleteEvents(evids, request) File "/opt/zenoss/Products/ZenModel/EventView.py", line 128, in manage_deleteEvents self.getEventManager().manage_deleteEvents(evids, request) File "/opt/zenoss/Products/ZenEvents/EventManagerBase.py", line 1769, in manage_deleteEvents self.deleteEvents(whereClause, 'Deleted by user') File "/opt/zenoss/Products/ZenEvents/EventManagerBase.py", line 1758, in deleteEvents self.updateEvents('DELETE FROM status', whereClause, reason) File "/opt/zenoss/Products/ZenEvents/EventManagerBase.py", line 1724, in updateEvents curs.execute(query) File "/opt/zenoss/lib/python/MySQLdb/cursors.py", line 137, in execute self.errorhandler(self, exc, value) File "/opt/zenoss/lib/python/MySQLdb/connections.py", line 33, in defaulterrorhandler raise errorclass, errorvalue OperationalError: (1449, "There is no 'zenoss'@'localhost' registered") It appears the code for moving events to history is ignoring the fact I am using a database on another host. Guessing cursors.py and/or connections.py need to be made aware of the mysql db the Event Manager is configured to use. /not a programmer Any tips, pointers or suggestsions? thanks, greg -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=18003#18003 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
