Guest User

Untitled

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