Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ./noc debug-script get_interfaces.py sw0549-ST1.mo.lesnoy.F14
- 2013-11-27 19:22:46,764 SSH: Using gmpy
- 2013-11-27 19:22:46,836 Using JSON library: cjson
- 2013-11-27 19:22:46,896 Loading PeriodicRegistry
- 2013-11-27 19:22:46,900 Loading DownloaderRegistry
- 2013-11-27 19:22:46,925 Loading ProfileRegistry
- 2013-11-27 19:22:47,384 Loading ScriptRegistry
- Traceback (most recent call last):
- File "manage.py", line 44, in <module>
- execute_from_command_line(sys.argv)
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
- utility.execute()
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
- output = self.handle(*args, **options)
- File "/opt/noc/sa/management/commands/debug-script.py", line 422, in handle
- requests = [self.get_request(script_name, obj, snmp_ro_community, values) for obj in objects]
- File "/opt/noc/sa/management/commands/debug-script.py", line 340, in get_request
- vendor, os_name, script = script.split(".", 2)
- ValueError: need more than 2 values to unpack
Advertisement
Add Comment
Please, Sign In to add comment