Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./noc debug-script get_lldp_neighbors b24r903
- 2015-12-29 17:47:46,661 Using JSON library: cjson
- 2015-12-29 17:47:46,671 SSH: Using gmpy
- 2015-12-29 17:47:46,745 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
- 2015-12-29 17:47:46,803 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
- 2015-12-29 17:47:46,808 Loading PeriodicRegistry
- 2015-12-29 17:47:46,817 Registering MetricType
- 2015-12-29 17:47:46,821 Loading compiled MIBs
- 2015-12-29 17:47:46,821 Loading compiled MIBs from 'cmibs'
- 2015-12-29 17:47:46,822 Loading MIB: SNMPv2-MIB
- 2015-12-29 17:47:46,822 Loading MIB: RFC1213-MIB
- 2015-12-29 17:47:46,822 Loading MIB: IF-MIB
- 2015-12-29 17:47:46,823 Loading MIB: CISCO-PPPOE-MIB
- 2015-12-29 17:47:46,823 Loading MIB: CISCO-VPDN-MGMT-MIB
- 2015-12-29 17:47:46,823 Loading MIB: IP-MIB
- 2015-12-29 17:47:46,828 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
- 2015-12-29 17:47:46,828 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
- 2015-12-29 17:47:46,830 Loading DownloaderRegistry
- 2015-12-29 17:47:46,847 Loading ProfileRegistry
- 2015-12-29 17:47:47,686 Loading ScriptRegistry
- 2015-12-29 17:47:47,769 Adding FTS index for sa.managedobject
- 2015-12-29 17:47:47,779 Registering ConnectionType
- 2015-12-29 17:47:47,782 Registering ObjectModel
- 2015-12-29 17:47:47,784 Registering Capability
- 2015-12-29 17:47:47,788 Adding FTS index for vc.vc
- 2015-12-29 17:47:47,799 Adding FTS index for ip.vrf
- 2015-12-29 17:47:47,800 Adding FTS index for ip.prefix
- 2015-12-29 17:47:47,802 Adding FTS index for ip.address
- 2015-12-29 17:47:48,024 Setting up 'select' polling method
- 2015-12-29 17:47:48,026 Activating 'select' poller
- 2015-12-29 17:47:48,026 Loading private ssh key from 'etc/ssh/id_rsa'
- 2015-12-29 17:47:48,026 Loading public ssh key from 'etc/ssh/id_rsa.pub'
- access_profile {
- profile: "DLink.DxS_Smart"
- scheme: TELNET
- address: "10.3.4.11"
- port: 23
- user: "admin"
- password: "cthdtkfn"
- attrs {
- key: "Boot PROM"
- value: "1.00.013"
- }
- attrs {
- key: "HW version"
- value: "B1"
- }
- attrs {
- key: "platform"
- value: "DES-1210-52"
- }
- attrs {
- key: "Serial Number"
- value: "F3Y93E7000895"
- }
- attrs {
- key: "vendor"
- value: "DLink"
- }
- attrs {
- key: "version"
- value: "3.12.B047"
- }
- caps {
- capability: "SNMP"
- bool_value: true
- }
- caps {
- capability: "SNMP | Bulk"
- bool_value: true
- }
- caps {
- capability: "SNMP | IF-MIB"
- bool_value: true
- }
- caps {
- capability: "SNMP | IF-MIB | HC"
- bool_value: true
- }
- }
- object_name: "b24r903"
- script: "DLink.DxS_Smart.get_lldp_neighbors"
- timeout: 120
- 2015-12-29 17:47:48,034 Running socket factory (SelectPoller)
- 2015-12-29 17:47:48,034 Running script thread
- 2015-12-29 17:47:48,034 Creating transaction id=999760658 method=None callback=None
- 2015-12-29 17:47:48,035 Capabilities: {u'SNMP | IF-MIB': True, u'SNMP | Bulk': True, u'SNMP': True, u'SNMP | IF-MIB | HC': True}
- 2015-12-29 17:47:48,035 Running
- 2015-12-29 17:47:48,036 Running script: DLink.DxS_Smart.get_lldp_neighbors ({}), timeout 120s
- 2015-12-29 17:47:48,036 Script returns with result: [] (0.32ms)
- 2015-12-29 17:47:48,036 Closing
- 2015-12-29 17:47:49,035 Tick
- 2015-12-29 17:47:49,035 3 TICKS TO EXIT
- 2015-12-29 17:47:50,036 Tick
- 2015-12-29 17:47:50,036 2 TICKS TO EXIT
- 2015-12-29 17:47:51,037 Tick
- 2015-12-29 17:47:51,037 1 TICKS TO EXIT
- 2015-12-29 17:47:52,038 Tick
- 2015-12-29 17:47:52,038 EXIT
- 2015-12-29 17:47:52,038 SCRIPT RESULT: DLink.DxS_Smart.get_lldp_neighbors(b24r903, 10.3.4.11)
- []
- 2015-12-29 17:47:52,039 Shutting down the factory
- 2015-12-29 17:47:52,039 Metrics:
- noc.socketfactory.handle.closed_reads: 0
- noc.socketfactory.handle.reads: 0
- noc.socketfactory.handle.writes: 0
- noc.socketfactory.loops: 4
- noc.socketfactory.sockets.count: 0
- noc.socketfactory.sockets.register: 0
- noc.socketfactory.sockets.unregister: 0
- noc.socketfactory.ticks: 4
- 2015-12-29 17:47:52,039 0 TICKS TO EXIT
- 2015-12-29 17:47:52,039 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement