Do you have messages in log files - especially zenhub.log and zeneventserver.log?
Trivial - but I have been caught so many times with this :( - have you run out of diskspace?
Subject: |
RE: "device_events" won't show up |
Author: |
Sam Urai |
Posted: |
2018-10-04 12:23 |
Yes it does show the events in the "Event Console".
Yes, all daemons appears to be running. FYI - This zenoss instance is setup for zentrap with 3 collectors working with it. I restarted the zenoss but it didn't help. But I see this error in the zenhub.log
2018-10-03 17:16:51,923 ERROR zen.ZenHub: Failed to get service 'EventService'
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 182, in perspective_getService
service = self.hub.getService(serviceName, instance)
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 635, in getService
self.options.monitor + " is not in the current list" )
TypeError: __init__() takes exactly 3 arguments (2 given)
2018-10-03 17:16:51,923 ERROR zen.ZenHub: Failed to get service 'ModelerService'
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 182, in perspective_getService
service = self.hub.getService(serviceName, instance)
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 635, in getService
self.options.monitor + " is not in the current list" )
TypeError: __init__() takes exactly 3 arguments (2 given)
2018-10-03 17:16:54,680 INFO zen.ZenHub: Worker (4940) reports 2018-10-03 17:16:54,680 INFO zen.HubService.RenderConfig: Starting graph retrieval listener on port 8090
2018-10-03 17:16:57,466 ERROR zen.ZenHub: Failed to get service 'EventService'
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 182, in perspective_getService
service = self.hub.getService(serviceName, instance)
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 635, in getService
self.options.monitor + " is not in the current list" )
TypeError: __init__() takes exactly 3 arguments (2 given)
2018-10-03 17:16:57,467 ERROR zen.ZenHub: Failed to get service 'Products.ZenHub.services.SnmpPerformanceConfig'
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 182, in perspective_getService
service = self.hub.getService(serviceName, instance)
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 635, in getService
self.options.monitor + " is not in the current list" )
TypeError: __init__() takes exactly 3 arguments (2 given)
2018-10-03 17:17:03,277 ERROR zen.ZenHub: Failed to get service 'EventService'
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 182, in perspective_getService
service = self.hub.getService(serviceName, instance)
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 635, in getService
self.options.monitor + " is not in the current list" )
TypeError: __init__() takes exactly 3 arguments (2 given)
2018-10-03 17:17:03,278 ERROR zen.ZenHub: Failed to get service 'Products.ZenHub.services.ProcessConfig'
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 182, in perspective_getService
service = self.hub.getService(serviceName, instance)
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 635, in getService
self.options.monitor + " is not in the current list" )
TypeError: __init__() takes exactly 3 arguments (2 given)
2018-10-03 17:17:06,212 ERROR zen.ZenHub: Failed to get service 'EventService'
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 182, in perspective_getService
service = self.hub.getService(serviceName, instance)
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 635, in getService
self.options.monitor + " is not in the current list" )
TypeError: __init__() takes exactly 3 arguments (2 given)
2018-10-03 17:17:06,212 ERROR zen.ZenHub: Failed to get service 'ZenPacks.zenoss.PythonCollector.services.PythonConfig'
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 182, in perspective_getService
service = self.hub.getService(serviceName, instance)
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 635, in getService
self.options.monitor + " is not in the current list" )
TypeError: __init__() takes exactly 3 arguments (2 given)
2018-10-03 17:17:09,216 ERROR zen.ZenHub: Failed to get service 'EventService'
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 182, in perspective_getService
service = self.hub.getService(serviceName, instance)
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 635, in getService
self.options.monitor + " is not in the current list" )
TypeError: __init__() takes exactly 3 arguments (2 given)
2018-10-03 17:17:09,216 ERROR zen.ZenHub: Failed to get service 'ZenPacks.zenoss.ZenJMX.services.ZenJMXConfigService'
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 182, in perspective_getService
service = self.hub.getService(serviceName, instance)
File "/opt/zenoss/Products/ZenHub/zenhub.py", line 635, in getService
self.options.monitor + " is not in the current list" )
TypeError: __init__() takes exactly 3 arguments (2 given)
The zeneventserver.log shows this after restart
2018-10-04T00:15:00.644 [qtp1715374531-20 - http://localhost:8084/zeneventserver/api/1.0/events/] ERROR org.jboss.resteasy.core.SynchronousDispatcher - Failed executing POST /1
.0/events/
org.jboss.resteasy.spi.WriterException: org.eclipse.jetty.io.EofException
No space issue here.
I don't know how to find out the ZUP level. There is no "zenup" command available on this node.
Please advise.
Thanks
------------------------------
Sam
------------------------------
Subject: |
RE: "device_events" won't show up |
Author: |
Sam Urai |
Posted: |
2018-10-04 12:26 |
BTW - I do see the events listed in the "rainbow" colors. When I click on them, I don't see the event details.
------------------------------
Sam
------------------------------
Subject: |
RE: "device_events" won't show up |
Author: |
Jane Curry |
Posted: |
2018-10-05 05:38 |
Hmm - that suggests that your events subsystem isn't really happy. Have you restarted everything - including the mysql?
You might have a look at this post -
Move o Delte all event in Zenoss 4.2.5 . The zeneventserver-create-db command referenced shoud ONLY be used in extremis as it will re-create your events database, losing all existing events (you may also find that you need an extra parameter of "--dbtype=mysql" ).
The second command is much safer and rebuilds the indexes into the events database - it has never bitten me yet but I would still ensure that I have a backup position before doing this. Event indexes do occasionally get in a mess and have various symptoms, some of which might match what you are seeing.
If you cannot run zenup as the zenoss user then I guess you have no SUP patches installed ("zenup status" should give the SUP you are at). This does mean you are now on very old code.
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------
Subject: |
RE: "device_events" won't show up |
Author: |
Sam Urai |
Posted: |
2018-10-05 13:16 |
Thanks much!
I had to restart the mysql which fixed the problem.
------------------------------
Sam
------------------------------