TECHZEN Zenoss User Community ARCHIVE  

zenoss attributeerror getdatasourceclasses

Subject: zenoss attributeerror getdatasourceclasses
Author: [Not Specified]
Posted: 2014-07-10 15:24

Trying to add some HTTP monitoring (monitoring templates area of device), and it's showing the error in subject when trying to use drop down menu which says "SNMP" by default. No idea what's wrong, as it's a brand new install of 4.2.5
Any help appreciated.



Subject: UI errors can be caused by
Author: Andrew Kirch
Posted: 2014-07-11 13:07

UI errors can be caused by cached data. I'd start by clearing your cache. IF that doesn't fix it, with UI errors it's hard to debug without pictures, would you either screengrab or record this error so that I can see it Thanks!

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 a different browser and
Author: [Not Specified]
Posted: 2014-07-12 22:17

Tried a different browser and clearing cache - same error.
Here's a screenshot:
http://tinypic.com/r/5z2jr6/8



Subject: Anyone else have any ideas on
Author: [Not Specified]
Posted: 2014-08-13 16:24

Anyone else have any ideas on this Makes some things, um, challenging (impossible)



Subject: Can you get a copy of your
Author: Jay Stanley
Posted: 2014-08-13 18:24

Can you get a copy of your event.log from $ZENHOME/log/ And put it in a pastebin It should provide more information that the web UI flare

Can you also provide Zenoss version, 'zenup status' and 'zenoss status' output



Subject: Sure thing - http://pastebin
Author: [Not Specified]
Posted: 2014-08-14 09:51

Sure thing - http://pastebin.com/azGkBJyh

Couldn't get those commands to run on command line, and not sure I'll have time to sort through why, or how to run them, but I see this in the web interface:

Software Component Versions
Zenoss Zenoss 4.2.5
OS Linux (x86_64) 3.13.0 (Linux ... 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64)
Zope Zope 2.13.13
Python Python 2.7.2
Database MySQL 5.5.38 (5.5.38-0ubuntu0.14.04.1)
RRD RRDtool 1.4.7
Twisted Twisted 11.0.0
RabbitMQ RabbitMQ 3.3.0
Erlang Erlang 5.10.4
NetSnmp NetSnmp 5.7.2
PyNetSnmp PyNetSnmp 0.30.7
WMI Wmi 1.3.15



Subject: Have to run the commands as
Author: Jay Stanley
Posted: 2014-08-15 13:56

Have to run the commands as the zenoss user



Subject: Understood.
Author: [Not Specified]
Posted: 2014-08-20 13:36

Understood.
Is there anything else helpful in the logs that'd help us to proceed further, or do we need that info

I'm just really at a loss here. Was able to add one threshold definition, for CPU above 80%, for example, and would basically like to add a few more - one for RAM above 90%, for example.



Subject: Some ZenPack is not very
Author: Jan Garaj
Posted: 2014-08-20 16:26

Some ZenPack is not very healthy.

Add custom exception handling into RRDTemplate.py.
Code formatting is a painful here, so concept: http://pastebin.com/BjAh7TNF
Then you will see which ZenPack has a problem in log file. Anyway, keep also original version of RRDTemplate.py.

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

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



Subject: Thank you very much for the
Author: [Not Specified]
Posted: 2014-08-25 23:28

Thank you very much for the info! I'll see if I can give this a spin tomorrow.



Subject: And don't forget to restart
Author: Jan Garaj
Posted: 2014-08-26 00:59

And don't forget to restart your Zenoss.
I have had similar issue, because I didn't restart Zenoss after installing new Zenpack. I wasted a day with this problem.

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

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



Subject: Just a quick follow up, I
Author: [Not Specified]
Posted: 2014-11-26 10:43

Just a quick follow up, I know it's been "A LONG TIME" on this thread since I've visited.

First, thank you again everyone for the follow up posts!

I gave the python mod a try, and perhaps didn't do it "just right" as I got no good relevant info, but DID find a zenpack that was funky - ZenPacks.community.mib_browser

Once I (FINALLY) got that fixed, I was able to finally get the drop down menu to function again :D

Now, to actually tune this thing further!



< Previous
Problem on Global Device Search on Zenoss 4.2.5
  Next
Does anyone still have a old copy of Zenoss 1.2.1
>