Advertisement
Guest User

Untitled

a guest
Jul 27th, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.38 KB | None | 0 0
  1. root@NOC:/opt/noc/sa/profiles/Ubiquiti/AirOS# /opt/noc/noc debug-script get_config ubnt-kolbasova
  2. 2015-07-27 12:26:17,384 Using JSON library: cjson
  3. 2015-07-27 12:26:17,389 SSH: Using gmpy
  4. 2015-07-27 12:26:17,440 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  5. 2015-07-27 12:26:17,490 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  6. 2015-07-27 12:26:17,495 Loading PeriodicRegistry
  7. 2015-07-27 12:26:17,503 Registering MetricType
  8. 2015-07-27 12:26:17,506 Loading compiled MIBs
  9. 2015-07-27 12:26:17,506 Loading compiled MIBs from 'cmibs'
  10. 2015-07-27 12:26:17,506 Loading MIB: IP-MIB
  11. 2015-07-27 12:26:17,506 Loading MIB: CISCO-PPPOE-MIB
  12. 2015-07-27 12:26:17,506 Loading MIB: SNMPv2-MIB
  13. 2015-07-27 12:26:17,506 Loading MIB: RFC1213-MIB
  14. 2015-07-27 12:26:17,506 Loading MIB: IF-MIB
  15. 2015-07-27 12:26:17,506 Loading MIB: CISCO-VPDN-MGMT-MIB
  16. 2015-07-27 12:26:17,510 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
  17. 2015-07-27 12:26:17,510 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
  18. 2015-07-27 12:26:17,512 Loading DownloaderRegistry
  19. 2015-07-27 12:26:17,527 Loading ProfileRegistry
  20. 2015-07-27 12:26:18,272 Loading ScriptRegistry
  21. 2015-07-27 12:26:18,332 Adding FTS index for sa.managedobject
  22. 2015-07-27 12:26:18,341 Registering ConnectionType
  23. 2015-07-27 12:26:18,344 Registering ObjectModel
  24. 2015-07-27 12:26:18,345 Registering Capability
  25. 2015-07-27 12:26:18,348 Adding FTS index for vc.vc
  26. 2015-07-27 12:26:18,359 Adding FTS index for ip.vrf
  27. 2015-07-27 12:26:18,360 Adding FTS index for ip.prefix
  28. 2015-07-27 12:26:18,361 Adding FTS index for ip.address
  29. 2015-07-27 12:26:18,481 Setting up 'select' polling method
  30. 2015-07-27 12:26:18,482 Activating 'select' poller
  31. 2015-07-27 12:26:18,482 Loading private ssh key from 'etc/ssh/id_rsa'
  32. 2015-07-27 12:26:18,482 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  33. access_profile {
  34. profile: "Ubiquiti.AirOS"
  35. scheme: SSH
  36. address: "172.28.199.35"
  37. user: "admin"
  38. password: "password"
  39. super_password: "password"
  40. }
  41. object_name: "ubnt-kolbasova"
  42. script: "Ubiquiti.AirOS.get_config"
  43. timeout: 120
  44.  
  45. 2015-07-27 12:26:18,483 Running script thread
  46. 2015-07-27 12:26:18,483 Creating transaction id=1918686343 method=None callback=None
  47. 2015-07-27 12:26:18,483 Running socket factory (SelectPoller)
  48. 2015-07-27 12:26:18,484 Capabilities: {}
  49. 2015-07-27 12:26:18,484 Running
  50. 2015-07-27 12:26:18,484 Running script: Ubiquiti.AirOS.get_config ({}), timeout 120s
  51. 2015-07-27 12:26:18,484 cli(cat /tmp/system.cfg)
  52. 2015-07-27 12:26:18,484 Running new provider
  53. 2015-07-27 12:26:18,484 [CLISSHSocket(0x7fb39896c850)]<None> ==> SSH_START
  54. 2015-07-27 12:26:18,484 [CLISSHSocket(0x7fb39896c850)]<SSH_START> Set FSM timeout to 30
  55. 2015-07-27 12:26:18,484 Register socket CLISSHSocket 172.28.199.35:22 (None)
  56. 2015-07-27 12:26:19,485 Tick
  57. 2015-07-27 12:26:19,485 3 TICKS TO EXIT
  58. 2015-07-27 12:26:19,485 [CLISSHSocket(0x7fb39896c850)]<SSH_START> Initializing socket
  59. 2015-07-27 12:26:19,485 [CLISSHSocket 172.28.199.35:22] Connecting 172.28.199.35:22
  60. 2015-07-27 12:26:19,488 [CLISSHSocket 172.28.199.35:22] create_socket returns non-zero code 115[EINPROGRESS]
  61. 2015-07-27 12:26:19,503 [CLISSHSocket 172.28.199.35:22] Connected
  62. 2015-07-27 12:26:19,513 [CLISSHSocket(0x7fb39896c850)]<SSH_START> event(SSH_VERSION)
  63. 2015-07-27 12:26:19,513 [CLISSHSocket(0x7fb39896c850)]<SSH_START> ==> SSH_VERSION
  64. 2015-07-27 12:26:19,513 [CLISSHSocket 172.28.199.35:22] Remote protocol version 2.0, remote software version dropbear_0.51
  65. 2015-07-27 12:26:19,513 [CLISSHSocket(0x7fb39896c850)]<SSH_VERSION> Setting SSH transforms to: in=none none, out=none none
  66. 2015-07-27 12:26:19,513 [CLISSHSocket(0x7fb39896c850)]<SSH_VERSION> Setting SSH transform keys
  67. 2015-07-27 12:26:19,513 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_KEXINIT (20)
  68. 2015-07-27 12:26:19,514 [CLISSHSocket(0x7fb39896c850)]<SSH_VERSION> event(SSH_KEY_EXCHANGE)
  69. 2015-07-27 12:26:19,514 [CLISSHSocket(0x7fb39896c850)]<SSH_VERSION> ==> SSH_KEY_EXCHANGE
  70. 2015-07-27 12:26:19,528 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_KEXINIT (20)
  71. 2015-07-27 12:26:19,528 [CLISSHSocket 172.28.199.35:22] Receiving server proposals: kex=['diffie-hellman-group1-sha1'] key=['ssh-rsa', 'ssh-dss'] enc_cs=['aes128-cbc', '3des-cbc', 'aes256-cbc', 'twofish256-cbc', 'twofish-cbc', 'twofish128-cbc', 'blowfish-cbc'] enc_sc=['aes128-cbc', '3des-cbc', 'aes256-cbc', 'twofish256-cbc', 'twofish-cbc', 'twofish128-cbc', 'blowfish-cbc'] mac_cs=['hmac-sha1-96', 'hmac-sha1', 'hmac-md5'] mac_sc=['hmac-sha1-96', 'hmac-sha1', 'hmac-md5'] comp_cs=['none'] comp_sc['none']
  72. 2015-07-27 12:26:19,528 [CLISSHSocket(0x7fb39896c850)]<SSH_KEY_EXCHANGE> Setting SSH transforms to: in=aes256-cbc hmac-sha1, out=aes256-cbc hmac-sha1
  73. 2015-07-27 12:26:19,529 [CLISSHSocket 172.28.199.35:22] Selecting diffie-hellman-group1-sha1 ssh-rsa, in=(aes256-cbc hmac-sha1 none) out=(aes256-cbc hmac-sha1 none)
  74. 2015-07-27 12:26:19,530 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
  75. 2015-07-27 12:26:20,122 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_KEXDH_REPLY (31)
  76. 2015-07-27 12:26:20,122 [CLISSHSocket 172.28.199.35:22] Server PK fingerprint: 0e:44:ad:9c:19:01:a1:4e:3d:ed:e6:b6:ca:f7:99:79
  77. 2015-07-27 12:26:20,123 [CLISSHSocket(0x7fb39896c850)]<SSH_KEY_EXCHANGE> Setting SSH transform keys
  78. 2015-07-27 12:26:20,123 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_NEWKEYS (21)
  79. 2015-07-27 12:26:20,124 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_NEWKEYS (21)
  80. 2015-07-27 12:26:20,124 [CLISSHSocket 172.28.199.35:22] Using new keys
  81. 2015-07-27 12:26:20,124 [CLISSHSocket(0x7fb39896c850)]<SSH_KEY_EXCHANGE> event(SSH_AUTH)
  82. 2015-07-27 12:26:20,124 [CLISSHSocket(0x7fb39896c850)]<SSH_KEY_EXCHANGE> ==> SSH_AUTH
  83. 2015-07-27 12:26:20,124 [CLISSHSocket 172.28.199.35:22] Requesting service ssh-userauth
  84. 2015-07-27 12:26:20,124 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_SERVICE_REQUEST (5)
  85. 2015-07-27 12:26:20,155 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_SERVICE_ACCEPT (6)
  86. 2015-07-27 12:26:20,155 [CLISSHSocket 172.28.199.35:22] Starting service ssh-userauth
  87. 2015-07-27 12:26:20,155 [CLISSHSocket(0x7fb39896c850)]<SSH_AUTH> event(SSH_AUTH_PASSWORD)
  88. 2015-07-27 12:26:20,155 [CLISSHSocket(0x7fb39896c850)]<SSH_AUTH> ==> SSH_AUTH_PASSWORD
  89. 2015-07-27 12:26:20,155 [CLISSHSocket 172.28.199.35:22] Authenticating with 'none' method
  90. 2015-07-27 12:26:20,155 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_USERAUTH_REQUEST (50)
  91. 2015-07-27 12:26:20,172 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_USERAUTH_FAILURE (51)
  92. 2015-07-27 12:26:20,172 [CLISSHSocket 172.28.199.35:22] Authentication method 'none' has been failed. Trying next method (publickey,password)
  93. 2015-07-27 12:26:20,172 [CLISSHSocket 172.28.199.35:22] Partially authenticated with 'none'. Trying next method
  94. 2015-07-27 12:26:20,172 [CLISSHSocket 172.28.199.35:22] Authenticating with 'publickey' method
  95. 2015-07-27 12:26:20,173 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_USERAUTH_REQUEST (50)
  96. 2015-07-27 12:26:20,185 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_USERAUTH_FAILURE (51)
  97. 2015-07-27 12:26:20,185 [CLISSHSocket 172.28.199.35:22] Authentication method 'publickey' has been failed. Trying next method (publickey,password)
  98. 2015-07-27 12:26:20,185 [CLISSHSocket 172.28.199.35:22] Partially authenticated with 'publickey'. Trying next method
  99. 2015-07-27 12:26:20,185 [CLISSHSocket 172.28.199.35:22] Authenticating with 'password' method
  100. 2015-07-27 12:26:20,185 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_USERAUTH_REQUEST (50)
  101. 2015-07-27 12:26:20,201 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_USERAUTH_SUCCESS (52)
  102. 2015-07-27 12:26:20,201 [CLISSHSocket(0x7fb39896c850)]<SSH_AUTH_PASSWORD> event(SSH_CHANNEL)
  103. 2015-07-27 12:26:20,201 [CLISSHSocket(0x7fb39896c850)]<SSH_AUTH_PASSWORD> ==> SSH_CHANNEL
  104. 2015-07-27 12:26:20,201 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_CHANNEL_OPEN (90)
  105. 2015-07-27 12:26:20,210 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
  106. 2015-07-27 12:26:20,211 [CLISSHSocket 172.28.199.35:22] Opening channel. local=0 remote=0
  107. 2015-07-27 12:26:20,211 [CLISSHSocket(0x7fb39896c850)]<SSH_CHANNEL> event(SSH_PTY)
  108. 2015-07-27 12:26:20,211 [CLISSHSocket(0x7fb39896c850)]<SSH_CHANNEL> ==> SSH_PTY
  109. 2015-07-27 12:26:20,211 [CLISSHSocket 172.28.199.35:22] Requesting PTY
  110. 2015-07-27 12:26:20,211 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_CHANNEL_REQUEST (98)
  111. 2015-07-27 12:26:20,225 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
  112. 2015-07-27 12:26:20,225 [CLISSHSocket(0x7fb39896c850)]<SSH_PTY> event(SSH_SHELL)
  113. 2015-07-27 12:26:20,225 [CLISSHSocket(0x7fb39896c850)]<SSH_PTY> ==> SSH_SHELL
  114. 2015-07-27 12:26:20,225 [CLISSHSocket 172.28.199.35:22] Requesting shell
  115. 2015-07-27 12:26:20,225 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_CHANNEL_REQUEST (98)
  116. 2015-07-27 12:26:20,234 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
  117. 2015-07-27 12:26:20,234 [CLISSHSocket(0x7fb39896c850)]<SSH_SHELL> event(START)
  118. 2015-07-27 12:26:20,234 [CLISSHSocket(0x7fb39896c850)]<SSH_SHELL> ==> START
  119. 2015-07-27 12:26:20,234 [CLISSHSocket(0x7fb39896c850)]<START> set_patterns([('([Uu][Bb][Nn][Tt] login|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^\\S+?\\.v(?P<version>\\S+)#', 'PROMPT'), ('(CTRL\\+C.+?a All)', 'PAGER')])
  120. 2015-07-27 12:26:20,256 [CLISSHSocket(0x7fb39896c850)]<START> on_read: "\r\n\r\nBusyBox v1.11.2 (2013-03-23 16:13:17 EET) built-in shell (ash)\r\nEnter 'help' for a list of built-in commands.\r\n\r\n"
  121. 2015-07-27 12:26:20,256 [CLISSHSocket(0x7fb39896c850)]<START> on_read: 'kolbasova# '
  122. 2015-07-27 12:26:21,258 Tick
  123. 2015-07-27 12:26:21,258 Resetting wait ticks
  124. 2015-07-27 12:26:22,259 Tick
  125. 2015-07-27 12:26:22,259 Resetting wait ticks
  126. 2015-07-27 12:26:23,260 Tick
  127. 2015-07-27 12:26:23,261 Resetting wait ticks
  128. 2015-07-27 12:26:24,262 Tick
  129. 2015-07-27 12:26:24,262 Resetting wait ticks
  130. 2015-07-27 12:26:25,263 Tick
  131. 2015-07-27 12:26:25,263 Resetting wait ticks
  132. 2015-07-27 12:26:26,265 Tick
  133. 2015-07-27 12:26:26,265 Resetting wait ticks
  134. 2015-07-27 12:26:27,266 Tick
  135. 2015-07-27 12:26:27,266 Resetting wait ticks
  136. 2015-07-27 12:26:28,267 Tick
  137. 2015-07-27 12:26:28,268 Resetting wait ticks
  138. 2015-07-27 12:26:29,269 Tick
  139. 2015-07-27 12:26:29,269 Resetting wait ticks
  140. 2015-07-27 12:26:30,270 Tick
  141. 2015-07-27 12:26:30,270 Resetting wait ticks
  142. 2015-07-27 12:26:31,272 Tick
  143. 2015-07-27 12:26:31,272 Resetting wait ticks
  144. 2015-07-27 12:26:32,273 Tick
  145. 2015-07-27 12:26:32,273 Resetting wait ticks
  146. 2015-07-27 12:26:33,274 Tick
  147. 2015-07-27 12:26:33,274 Resetting wait ticks
  148. 2015-07-27 12:26:34,275 Tick
  149. 2015-07-27 12:26:34,275 Resetting wait ticks
  150. 2015-07-27 12:26:35,276 Tick
  151. 2015-07-27 12:26:35,276 Resetting wait ticks
  152. 2015-07-27 12:26:36,277 Tick
  153. 2015-07-27 12:26:36,278 Resetting wait ticks
  154. 2015-07-27 12:26:37,279 Tick
  155. 2015-07-27 12:26:37,279 Resetting wait ticks
  156. 2015-07-27 12:26:38,280 Tick
  157. 2015-07-27 12:26:38,280 Resetting wait ticks
  158. 2015-07-27 12:26:39,282 Tick
  159. 2015-07-27 12:26:39,282 Resetting wait ticks
  160. 2015-07-27 12:26:40,283 Tick
  161. 2015-07-27 12:26:40,283 Resetting wait ticks
  162. 2015-07-27 12:26:41,284 Tick
  163. 2015-07-27 12:26:41,284 Resetting wait ticks
  164. 2015-07-27 12:26:42,286 Tick
  165. 2015-07-27 12:26:42,286 Resetting wait ticks
  166. 2015-07-27 12:26:43,287 Tick
  167. 2015-07-27 12:26:43,287 Resetting wait ticks
  168. 2015-07-27 12:26:44,288 Tick
  169. 2015-07-27 12:26:44,289 Resetting wait ticks
  170. 2015-07-27 12:26:45,290 Tick
  171. 2015-07-27 12:26:45,290 Resetting wait ticks
  172. 2015-07-27 12:26:46,291 Tick
  173. 2015-07-27 12:26:46,291 Resetting wait ticks
  174. 2015-07-27 12:26:47,293 Tick
  175. 2015-07-27 12:26:47,293 Resetting wait ticks
  176. 2015-07-27 12:26:48,294 Tick
  177. 2015-07-27 12:26:48,294 Resetting wait ticks
  178. 2015-07-27 12:26:49,295 Tick
  179. 2015-07-27 12:26:49,295 Resetting wait ticks
  180. 2015-07-27 12:26:50,296 Tick
  181. 2015-07-27 12:26:50,296 Resetting wait ticks
  182. 2015-07-27 12:26:50,297 Closing stale socket CLISSHSocket 172.28.199.35:22
  183. 2015-07-27 12:26:50,297 [CLISSHSocket 172.28.199.35:22] Closing socket
  184. 2015-07-27 12:26:50,297 Unregister socket CLISSHSocket 172.28.199.35:22
  185. 2015-07-27 12:26:50,303 Timed out
  186. 2015-07-27 12:26:50,303 Closing
  187. 2015-07-27 12:26:50,303 Requesting call: <bound method CLISSHSocket.close of <CLISSHSocket(0x7fb39896c850, 172.28.199.35:22, closing, stale)>>(*(), **{'flush': True})
  188. 2015-07-27 12:26:51,298 Tick
  189. 2015-07-27 12:26:51,298 Calling delayed <bound method CLISSHSocket.close of <CLISSHSocket(0x7fb39896c850, 172.28.199.35:22, closing, stale)>>(*(), **{'flush': True})
  190. 2015-07-27 12:26:51,299 3 TICKS TO EXIT
  191. 2015-07-27 12:26:52,300 Tick
  192. 2015-07-27 12:26:52,300 2 TICKS TO EXIT
  193. 2015-07-27 12:26:53,301 Tick
  194. 2015-07-27 12:26:53,301 1 TICKS TO EXIT
  195. 2015-07-27 12:26:54,302 Tick
  196. 2015-07-27 12:26:54,303 EXIT
  197. 2015-07-27 12:26:54,303 Shutting down the factory
  198. 2015-07-27 12:26:54,303 Metrics:
  199. noc.socketfactory.handle.closed_reads: 0
  200. noc.socketfactory.handle.reads: 12
  201. noc.socketfactory.handle.writes: 1
  202. noc.socketfactory.loops: 48
  203. noc.socketfactory.sockets.count: 0
  204. noc.socketfactory.sockets.register: 1
  205. noc.socketfactory.sockets.unregister: 0
  206. noc.socketfactory.ticks: 35
  207. 2015-07-27 12:26:54,303 0 TICKS TO EXIT
  208. 2015-07-27 12:26:54,303 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement