TECHZEN Zenoss User Community ARCHIVE  

KeyError: '/zport/dmd/Mibs/SentryCDU'

Subject: KeyError: '/zport/dmd/Mibs/SentryCDU'
Author: Brad
Posted: 2014-10-24 13:18

Tried to install the SentryCDU zenpack. It crashed the install but still showed up in Zenoss. I deleted it in the GUI and now I get the KeyError.

I ran the findposkeyerror but not errors are found. Anyone know how to correct this

Thanks!



Subject: Try zencatalogscan ( -f )
Author: [Not Specified]
Posted: 2014-10-24 16:11

Try zencatalogscan ( -f )
And make sure you have the most recent toolbox (0.5.0., https://github.com/zenoss/zenoss.toolbox)



Subject: Theres a ZenDMD script for
Author: Andrew Kirch
Posted: 2014-10-27 15:49

Theres a ZenDMD script for removing broken zenpacks on the wiki, I'd give that a try next. Also, reach out to the author of that ZenPack and either submit a fix or a bug.

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: found the link (not sure why
Author: Andrew Kirch
Posted: 2014-10-27 15:51

found the link (not sure why I didn't see it in the wiki search the first time:
http://wiki.zenoss.org/Removing_Broken_ZenPacks

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: Thanks. I tried that but it
Author: Brad
Posted: 2014-10-27 21:34

Thanks. I tried that but it didn't find any broken zenpacks. Even when I re-installed the zenpack and can clearly see it was broken on the command line.

In zendmd I ran:

dmd.Mibs.mibs.objectIds()

and it doesn't show the mib in the error message I see on the GUI. Clearly there is some problem with all the tools that can't seem to find this type of corruption. And alas I can't seem to find how to fix it or why the toolbox tools don't see the problem when the GUI displays the error.

Thanks.



Subject: dmd.Mibs.mibs.objectIds()
Author: Jan Garaj
Posted: 2014-10-28 03:40

dmd.Mibs.mibs.objectIds()
lists MIB tables only

But you have problem with MIB organizer, not with MIB table. Try this zendmd command:
dmd.Mibs.getOrganizerNames()
dmd.Mibs.getSubObjects()

IMHO: Some function dmd.Mibs.manage_* can help you, maybe
dmd.Mibs.manage_deleteOrganizer('/SentryCDU')

Be careful (=backup) with zendmd delete functions.

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



< Previous
TALES expression for zenpack installation path
  Next
Problem with install zenpack PySamba
>