Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.4.186 fails with elb, boto and some pysnmp #514

Closed
randy-robot opened this issue Jan 22, 2014 · 1 comment
Closed

3.4.186 fails with elb, boto and some pysnmp #514

randy-robot opened this issue Jan 22, 2014 · 1 comment

Comments

@randy-robot
Copy link

Just upgraded to 3.4.186 (to get ntp collector fix).. and find that error has been replaced by others :)

Jan 22 09:47:02 p-mon01 diamond[32742] pysnmp.entity.rfc3413.oneliner.cmdgen failed to load
Jan 22 09:47:02 p-mon01 diamond[32742] pysnmp.entity.rfc3413.oneliner.cmdgen failed to load
Jan 22 09:47:02 p-mon01 diamond[32742] pysnmp.entity.rfc3413.oneliner.cmdgen failed to load
Jan 22 09:47:02 p-mon01 diamond[32742] boto module not found!
Jan 22 09:47:02 p-mon01 diamond[32742] Failed to initialize Collector: ElbCollector. Traceback (most recent call last):#12 File "/usr/lib/python2.6/site-packages/diamond/server.py", line 235, in init_collector#012 collector = cls(self.config, self.handlers)#12 File "/usr/share/diamond/collectors/elb/elb.py", line 108, in init#12 cache_zones()#12 File "/usr/share/diamond/collectors/elb/elb.py", line 99, in cache_zones#012 for region in self.config['regions'].keys():#012AttributeError: 'list' object has no attribute 'keys'
Jan 22 09:47:02 p-mon01 diamond[32742] Skipped loading invalid Collector: NoneType
Jan 22 09:47:02 p-mon01 diamond[32742] pysnmp.entity.rfc3413.oneliner.cmdgen failed to load
Jan 22 09:47:02 p-mon01 diamond[32742] pysnmp.entity.rfc3413.oneliner.cmdgen failed to load
Jan 22 09:47:02 p-mon01 diamond[32742] pysnmp.entity.rfc3413.oneliner.cmdgen failed to load

I don't use any of those modules.. so it's kinda odd.

@kormoc
Copy link
Contributor

kormoc commented Jan 22, 2014

pysnmp.entity.rfc3413.oneliner.cmdgen is from initing the snmp module many times. It's used by other modules and so we get the output spam. I did fix the elb.py, so update again soon and that should go away

@kormoc kormoc closed this as completed in 8bc3ed7 Jan 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants