Discussion:
Events are not displayed
Simone Del Pinto
2013-03-06 08:48:01 UTC
Permalink
Simone Del Pinto [http://community.zenoss.org/people/s.delpinto] created the discussion

"Events are not displayed"

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

--------------------------------------------------------------
Hi guys,

I'm a newbie of Zenoss and this is my first true issue...

We are trying to configure extended monitoring ( i.e. Tomcat or JBoss monitoring ) but we havn't events displayed on console. For example: we have set the wrong username/password for Tomcat but even if the log ( with debug enebled ) shows this issue we havent events on console.
I have investigated on this issue and I've found that no events are generated and no events are displayed!
The zeneventd.log shows:

+2013-03-06 09:45:00,117 INFO zen.zenutils.functioncache: initializing FunctionCache+
+2013-03-06 09:45:00,118 INFO zen.eventd: Failed to process event, forward original raw event: {'uuid': u'216012cc-863a-11e2-b8f9-0050568112fa', 'monitor': u'nttadevcol', 'actor': {'element_identifier': u'10.170.23.13', 'element_type_id': 1}, 'summary': u'10.170.23.13 is DOWN!', 'agent': u'zenping', 'created_time': 1362559497107L, 'details': [{'name': u'manager', 'value': [u'10-164-91-67.cloud.opsource.net']}, {'name': u'isManageIp', 'value': [u'True']}, {'name': u'zenoss.device.ip_address', 'value': [u'10.170.23.13']}], 'message': u'10.170.23.13 is DOWN!', 'event_group': u'Ping', 'event_key': u'', 'event_class': u'/Status/Ping', 'severity': 5}+
+2013-03-06 09:45:00,118 ERROR zen.eventd: 'zodb-cacheservers'+
+Traceback (most recent call last):+
+  File "/opt/zenoss/Products/ZenEvents/zeneventd.py", line 116, in processMessage+
+    eventContext = pipe(eventContext)+
+  File "/opt/zenoss/Products/ZenEvents/events2/processing.py", line 417, in __call__+
+    plugin.resolveIdentifiers(eventContext, self._manager)+
+  File "/opt/zenoss/Products/ZenEvents/events2/processing.py", line 381, in resolveIdentifiers+
+    EventField.Actor.ELEMENT_UUID+
+  File "/opt/zenoss/Products/ZenEvents/events2/processing.py", line 347, in _resolveElement+
+    eventContext.eventProxy.ipAddress)+
+  File "/opt/zenoss/Products/ZenUtils/FunctionCache.py", line 59, in wrapped_f+
+    self._init_cache()+
+  File "/opt/zenoss/Products/ZenUtils/FunctionCache.py", line 46, in _init_cache+
+    client, timeout = self.getCacheClient()+
+  File "/opt/zenoss/Products/ZenUtils/FunctionCache.py", line 112, in getCacheClient+
+    FunctionCache._CONFIG['zodb-cacheservers'].split(","))+
+KeyError: 'zodb-cacheservers'+

Any idea?

Thank in advance to who can help me

Simone
--------------------------------------------------------------

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

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]
jcurry
2013-03-15 15:54:32 UTC
Permalink
jcurry [http://community.zenoss.org/people/jcurry] created the discussion

"Re: Events are not displayed"

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

--------------------------------------------------------------
Your log is not complaining about Tomcat or JBOSS but a simple Zenoss ping failure event.

Are all your Zenoss daemons running, especially those concerned with events?  Is MySQL running?  Is rabbitmq running?
Try "zenoss status" as the zenoss user.
Try "rabbitmqctl -p /zenoss list_queues" as the root user.

Cheers,
Jane
--------------------------------------------------------------

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

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]
Shane Scott
2013-03-15 19:49:59 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Events are not displayed"

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

--------------------------------------------------------------
Simone:

Check your zeneventd.conf and globals.conf to ensure that the zodb-cacheservers key hasn't been set to an invalid memcached server. In most cases it'll be localhost.

Best,
--Shane Scott (Hackman238)
--------------------------------------------------------------

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

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]
Simone Del Pinto
2013-03-19 17:08:43 UTC
Permalink
Simone Del Pinto [http://community.zenoss.org/people/s.delpinto] created the discussion

"Re: Events are not displayed"

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

--------------------------------------------------------------
Thanks to all!

You found the issue shane: in the global.conf the parameter zodb-cacheservers was setted bad. After fix the events was arrived correctly!

Thanks again for the support

Simone
--------------------------------------------------------------

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

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]
Shane Scott
2013-03-19 17:17:27 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Events are not displayed"

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

--------------------------------------------------------------
Simone:

Anytime! :)

Best,
--Shane Scott (Hackman238)
--------------------------------------------------------------

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

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...