Advertisement
Krakozaber

Untitled

Dec 29th, 2015
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. ./noc debug-script get_lldp_neighbors b24r903
  2. 2015-12-29 17:47:46,661 Using JSON library: cjson
  3. 2015-12-29 17:47:46,671 SSH: Using gmpy
  4. 2015-12-29 17:47:46,745 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  5. 2015-12-29 17:47:46,803 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  6. 2015-12-29 17:47:46,808 Loading PeriodicRegistry
  7. 2015-12-29 17:47:46,817 Registering MetricType
  8. 2015-12-29 17:47:46,821 Loading compiled MIBs
  9. 2015-12-29 17:47:46,821 Loading compiled MIBs from 'cmibs'
  10. 2015-12-29 17:47:46,822 Loading MIB: SNMPv2-MIB
  11. 2015-12-29 17:47:46,822 Loading MIB: RFC1213-MIB
  12. 2015-12-29 17:47:46,822 Loading MIB: IF-MIB
  13. 2015-12-29 17:47:46,823 Loading MIB: CISCO-PPPOE-MIB
  14. 2015-12-29 17:47:46,823 Loading MIB: CISCO-VPDN-MGMT-MIB
  15. 2015-12-29 17:47:46,823 Loading MIB: IP-MIB
  16. 2015-12-29 17:47:46,828 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
  17. 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}}
  18. 2015-12-29 17:47:46,830 Loading DownloaderRegistry
  19. 2015-12-29 17:47:46,847 Loading ProfileRegistry
  20. 2015-12-29 17:47:47,686 Loading ScriptRegistry
  21. 2015-12-29 17:47:47,769 Adding FTS index for sa.managedobject
  22. 2015-12-29 17:47:47,779 Registering ConnectionType
  23. 2015-12-29 17:47:47,782 Registering ObjectModel
  24. 2015-12-29 17:47:47,784 Registering Capability
  25. 2015-12-29 17:47:47,788 Adding FTS index for vc.vc
  26. 2015-12-29 17:47:47,799 Adding FTS index for ip.vrf
  27. 2015-12-29 17:47:47,800 Adding FTS index for ip.prefix
  28. 2015-12-29 17:47:47,802 Adding FTS index for ip.address
  29. 2015-12-29 17:47:48,024 Setting up 'select' polling method
  30. 2015-12-29 17:47:48,026 Activating 'select' poller
  31. 2015-12-29 17:47:48,026 Loading private ssh key from 'etc/ssh/id_rsa'
  32. 2015-12-29 17:47:48,026 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  33. access_profile {
  34. profile: "DLink.DxS_Smart"
  35. scheme: TELNET
  36. address: "10.3.4.11"
  37. port: 23
  38. user: "admin"
  39. password: "cthdtkfn"
  40. attrs {
  41. key: "Boot PROM"
  42. value: "1.00.013"
  43. }
  44. attrs {
  45. key: "HW version"
  46. value: "B1"
  47. }
  48. attrs {
  49. key: "platform"
  50. value: "DES-1210-52"
  51. }
  52. attrs {
  53. key: "Serial Number"
  54. value: "F3Y93E7000895"
  55. }
  56. attrs {
  57. key: "vendor"
  58. value: "DLink"
  59. }
  60. attrs {
  61. key: "version"
  62. value: "3.12.B047"
  63. }
  64. caps {
  65. capability: "SNMP"
  66. bool_value: true
  67. }
  68. caps {
  69. capability: "SNMP | Bulk"
  70. bool_value: true
  71. }
  72. caps {
  73. capability: "SNMP | IF-MIB"
  74. bool_value: true
  75. }
  76. caps {
  77. capability: "SNMP | IF-MIB | HC"
  78. bool_value: true
  79. }
  80. }
  81. object_name: "b24r903"
  82. script: "DLink.DxS_Smart.get_lldp_neighbors"
  83. timeout: 120
  84.  
  85. 2015-12-29 17:47:48,034 Running socket factory (SelectPoller)
  86. 2015-12-29 17:47:48,034 Running script thread
  87. 2015-12-29 17:47:48,034 Creating transaction id=999760658 method=None callback=None
  88. 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}
  89. 2015-12-29 17:47:48,035 Running
  90. 2015-12-29 17:47:48,036 Running script: DLink.DxS_Smart.get_lldp_neighbors ({}), timeout 120s
  91. 2015-12-29 17:47:48,036 Script returns with result: [] (0.32ms)
  92. 2015-12-29 17:47:48,036 Closing
  93. 2015-12-29 17:47:49,035 Tick
  94. 2015-12-29 17:47:49,035 3 TICKS TO EXIT
  95. 2015-12-29 17:47:50,036 Tick
  96. 2015-12-29 17:47:50,036 2 TICKS TO EXIT
  97. 2015-12-29 17:47:51,037 Tick
  98. 2015-12-29 17:47:51,037 1 TICKS TO EXIT
  99. 2015-12-29 17:47:52,038 Tick
  100. 2015-12-29 17:47:52,038 EXIT
  101. 2015-12-29 17:47:52,038 SCRIPT RESULT: DLink.DxS_Smart.get_lldp_neighbors(b24r903, 10.3.4.11)
  102. []
  103. 2015-12-29 17:47:52,039 Shutting down the factory
  104. 2015-12-29 17:47:52,039 Metrics:
  105. noc.socketfactory.handle.closed_reads: 0
  106. noc.socketfactory.handle.reads: 0
  107. noc.socketfactory.handle.writes: 0
  108. noc.socketfactory.loops: 4
  109. noc.socketfactory.sockets.count: 0
  110. noc.socketfactory.sockets.register: 0
  111. noc.socketfactory.sockets.unregister: 0
  112. noc.socketfactory.ticks: 4
  113. 2015-12-29 17:47:52,039 0 TICKS TO EXIT
  114. 2015-12-29 17:47:52,039 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement