TECHZEN Zenoss User Community ARCHIVE  

Devices.deviceSearch missing many devices

Subject: Devices.deviceSearch missing many devices
Author: [Not Specified]
Posted: 2015-11-12 15:03

I have a Zenoss environment with about 2000 devices. Monitoring is working fine. And I can go to a server's details by traversing through the device classes in the web GUI. I've found, though, that the deviceSearch catalog only has about 30 entries in it. I can see this through the output of zencatalogscan or by going to the URL /zport/dmd/Devices/deviceSearch/manage.

So currently I cannot use the web GUI search field or execute a command such as d = dmd.Devices.findDevice('192.168.1.11')
For example:
>>> d = dmd.Devices.findDevice('192.168.1.11')
>>> d
>>> d.getId()
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'NoneType' object has no attribute 'getId'

The above in zendmd works fine for the ~30 devices present in the deviceSeach catalog. But it should work fine for all 2000+ devices.
From what I can tell the other catalogs appear fine.

I ran through the refresh catalog (http://wiki.zenoss.org/ZenDMD_Tip_-_Refresh_DeviceSearch_Catalog), but this made no difference.

Is there a means by which this deviceSearch catalog can be rebuilt And, if so, an easy or least impactful means

Thank you



Subject: I'd suggest looking at the
Author: Andrew Kirch
Posted: 2015-12-18 13:01

I'd suggest looking at the Zenoss Toolkit next, as it has a zencatalog tool.
https://github.com/zenoss/zenoss.toolbox/blob/develop/README.rst
I would also suggest updating to the latest release (either 5.0.9 in 5.x, or the latest 4.2.5+Zenup in 4.x)

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
How to increase the time threshold until alerts are generated? Zenoss 4.2.4
  Next
Graphs not populating in Zenoss 5
>