TECHZEN Zenoss User Community ARCHIVE  

Zenoss 5.0.3 Upgrade Issue

Subject: Zenoss 5.0.3 Upgrade Issue
Author: [Not Specified]
Posted: 2015-06-04 07:53

Hi Community,

Today I upgraded my 5.0.2 instance to 5.0.3. The upgrade went smooth and Zenoss is now displaying its current version as 5.0.3.

Went I played around for a bit, I discovered my devices are not being monitored. I checked control center as well, and under zenping and zenperfsnmp it is displaying my total device count as 0. Currently I have about 3500 devices listed under infrastructure.

I then added a test device to see if that would make a difference, and yes it comes up as being monitored and the device count increments from 0 to 1.

Not sure how I can start debugging this issue...

Link: http://imgur.com/9okZqRJ



Subject: by chance would remodeling
Author: Andrew Kirch
Posted: 2015-06-04 10:34

by chance would remodeling resolve your issue

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Tried remodeling some of my
Author: [Not Specified]
Posted: 2015-06-05 02:19

Tried remodeling some of my devices, but it seems it is complaining about one broken zenpack that I now have after the update.

2015-06-05 07:12:29,167 INFO zen.ZenModeler: Connecting to localhost:8789
2015-06-05 07:12:29,181 INFO zen.ZenModeler: Connected to ZenHub
2015-06-05 07:12:29,274 ERROR zen.ZenModeler: Error occured: [Failure instance: Traceback (failure with no frames): : : Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 101, in inner
return callable(*args, **kw)
File "/opt/zenoss/Products/ZenHub/services/ThresholdMixin.py", line 23, in remote_getThresholdClasses
classes += pack.getThresholdClasses()
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 818, in getThresholdClasses
return self._getClassesByPath('thresholds')
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 801, in _getClassesByPath
for path, dirs, files in os.walk(self.path(name)):
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 891, in path
module = self.getModule()
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 1090, in getModule
_, packEntry = self.getEntryPoint()
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 1073, in getEntryPoint
dist = self.getDistribution()
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 1063, in getDistribution
return pkg_resources.get_distribution(self.id)
File "/opt/zenoss/lib/python2.7/site-packages/pkg_resources.py", line 371, in get_distribution
if isinstance(dist,Requirement): dist = get_provider(dist)
File "/opt/zenoss/lib/python2.7/site-packages/pkg_resources.py", line 243, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/opt/zenoss/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
needed = self.resolve(parse_requirements(requirements))
File "/opt/zenoss/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
raise DistributionNotFound(req)
DistributionNotFound: ZenPacks.community.Fortigate

Struggling to remove the zenpack, so can't test this any further. http://www.zenoss.org/forum/9396#comment-15006

Only thing I know works is adding a new device without modeling. That device picks up and starts being monitored, but I don't feel this is the correct solution.



Subject: see my comment in the other
Author: Andrew Kirch
Posted: 2015-06-05 15:00

see my comment in the other thread, this is likely the cause of your issue

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Tried running the remove
Author: [Not Specified]
Posted: 2015-06-08 03:27

Tried running the remove zenpack script, kept telling me that the zenpack is fine, which it wasn't.

[zenoss@ce2794241775 tmp]$ zendmd --script=script.py
ZenPacks.community.Fortigate is fine.
ZenPacks.zenoss.ApacheMonitor is fine.
ZenPacks.zenoss.Dashboard is fine.

I just tried to re-install the same zenpack over the broken one and that fixed my issue. Zenpack is now working, and all my devices are being monitored once again.

Thanks :)



Subject: next time though, take a
Author: Andrew Kirch
Posted: 2015-06-09 12:28

next time though, take a snapshot so that you can easily roll back :)

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
Datasource output without "pretty" characters of a JSON
  Next
Serial modem with Zenoss 5
>