librelist archives

« back to archive

Ralph cmdb integration

Ralph cmdb integration

From:
Brian Murphey
Date:
2014-01-09 @ 18:11
Hello all,

When I run this:

(ralph)ralph@infra-dev:~$ ralph cmdb_integration --cmdb_zabbix

I get the following:

Traceback (most recent call last):

File "/home/ralph/bin/ralph", line 9, in <module>
load_entry_point('ralph==1.2.9', 'console_scripts', 'ralph')()
File "/home/ralph/local/lib/python2.7/site-packages/ralph/__main__.py",
line 41, in main
execute_from_command_line(sys.argv)
File

"/home/ralph/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 443, in execute_from_command_line
utility.execute()
File

"/home/ralph/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/home/ralph/local/lib/python2.7/site-packages/django/core/management/base.py",
line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File
"/home/ralph/local/lib/python2.7/site-packages/django/core/management/base.py",
line 248, in execute
self.stderr.write(smart_str(self.style.ERROR('Error: %s\n' % e)))
AttributeError: 'Command' object has no attribute 'style'


I have input my Zabbix server connection info into .ralph/settings, but I
can't find documentation on if I need to install a Zabbix module and/or
enable it in some other way (although I also think this is probably a bug).
 Any help you can give would be much appreciated.  Thanks!

Brian