Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@noc:/opt/noc # ./noc debug-script -c- get_version epu-lab
- 2014-11-27 12:01:39,191 SSH: Using gmpy
- 2014-11-27 12:01:39,623 Using JSON library: cjson
- 2014-11-27 12:01:39,849 Loading PeriodicRegistry
- 2014-11-27 12:01:39,866 Registering MetricType
- 2014-11-27 12:01:39,879 Loading compiled MIBs
- 2014-11-27 12:01:39,880 Loading compiled MIBs from 'cmibs'
- 2014-11-27 12:01:39,881 Loading MIB: IF-MIB
- 2014-11-27 12:01:39,881 Loading MIB: SNMPv2-MIB
- 2014-11-27 12:01:39,882 Loading MIB: IP-MIB
- 2014-11-27 12:01:39,882 Loading MIB: RFC1213-MIB
- 2014-11-27 12:01:39,882 Loading MIB: CISCO-PPPOE-MIB
- 2014-11-27 12:01:39,883 Loading MIB: CISCO-VPDN-MGMT-MIB
- 2014-11-27 12:01:39,899 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
- 2014-11-27 12:01:39,899 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
- 2014-11-27 12:01:39,903 Loading DownloaderRegistry
- 2014-11-27 12:01:39,951 Loading ProfileRegistry
- 2014-11-27 12:01:40,981 Loading ScriptRegistry
- 2014-11-27 12:01:41,114 Adding FTS index for sa.managedobject
- 2014-11-27 12:01:41,149 Registering ConnectionType
- 2014-11-27 12:01:41,155 Registering ObjectModel
- 2014-11-27 12:01:41,158 Registering Capability
- 2014-11-27 12:01:41,172 Adding FTS index for vc.vc
- 2014-11-27 12:01:41,206 Adding FTS index for ip.vrf
- 2014-11-27 12:01:41,211 Adding FTS index for ip.prefix
- 2014-11-27 12:01:41,214 Adding FTS index for ip.address
- Traceback (most recent call last):
- File "manage.py", line 45, 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 443, 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 370, in get_request
- self.set_access_profile_name(r.access_profile, obj, profile, snmp_ro_community)
- File "/opt/noc/sa/management/commands/debug-script.py", line 323, in set_access_profile_name
- access_profile.password = credentials.password
- File "/opt/noc/lib/python2.7/site-packages/google/protobuf/internal/python_message.py", line 454, in setter
- type_checker.CheckValue(new_value)
- File "/opt/noc/lib/python2.7/site-packages/google/protobuf/internal/type_checkers.py", line 117, in CheckValue
- raise TypeError(message)
- TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>)
- root@noc:/opt/noc #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement