TECHZEN Zenoss User Community ARCHIVE  

KeyError on IP address

Subject: KeyError on IP address
Author: [Not Specified]
Posted: 2016-01-22 01:52

Hi

I'm having some issues with a new IP, but apparently I'm not able to post complete description here...

Maybe its working right now



Subject: Hi
Author: [Not Specified]
Posted: 2016-01-22 01:52

Hi

While doing some maintenance work on our Zenoss Core 4.2.5 I've discovered that I had a broken device, which is actually causing us some problems.

The device had several POSKeyErrors and as I was unable to get them fixed, I ended up performing something like this:

import sys
from ZODB.POSException import POSKeyError
from BTrees.OOBTree import OOSet
from Products.ZenModel.ZenStatus import ZenStatus
dev=find('hostname')
dev.macaddresses = OOSet()
dev.os = None dev.hw = None commit()
And I was then able to completely delete the device from the GUI (or so I thought).



Subject: More info here: http:/
Author: [Not Specified]
Posted: 2016-01-22 01:55

More info here: http://pastebin.com/VV1k8Zux



Subject: please use the Zenoss Toolbox
Author: Andrew Kirch
Posted: 2016-01-29 12:31

please use the Zenoss Toolbox to address these errors https://github.com/zenoss/zenoss.toolbox

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
zenperfsnmp performance
  Next
Problems added new topics
>