Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@NOC:/opt/noc/sa/profiles/Ubiquiti/AirOS# /opt/noc/noc debug-script get_config ubnt-kolbasova
- 2015-07-27 12:26:17,384 Using JSON library: cjson
- 2015-07-27 12:26:17,389 SSH: Using gmpy
- 2015-07-27 12:26:17,440 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
- 2015-07-27 12:26:17,490 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
- 2015-07-27 12:26:17,495 Loading PeriodicRegistry
- 2015-07-27 12:26:17,503 Registering MetricType
- 2015-07-27 12:26:17,506 Loading compiled MIBs
- 2015-07-27 12:26:17,506 Loading compiled MIBs from 'cmibs'
- 2015-07-27 12:26:17,506 Loading MIB: IP-MIB
- 2015-07-27 12:26:17,506 Loading MIB: CISCO-PPPOE-MIB
- 2015-07-27 12:26:17,506 Loading MIB: SNMPv2-MIB
- 2015-07-27 12:26:17,506 Loading MIB: RFC1213-MIB
- 2015-07-27 12:26:17,506 Loading MIB: IF-MIB
- 2015-07-27 12:26:17,506 Loading MIB: CISCO-VPDN-MGMT-MIB
- 2015-07-27 12:26:17,510 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
- 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}}
- 2015-07-27 12:26:17,512 Loading DownloaderRegistry
- 2015-07-27 12:26:17,527 Loading ProfileRegistry
- 2015-07-27 12:26:18,272 Loading ScriptRegistry
- 2015-07-27 12:26:18,332 Adding FTS index for sa.managedobject
- 2015-07-27 12:26:18,341 Registering ConnectionType
- 2015-07-27 12:26:18,344 Registering ObjectModel
- 2015-07-27 12:26:18,345 Registering Capability
- 2015-07-27 12:26:18,348 Adding FTS index for vc.vc
- 2015-07-27 12:26:18,359 Adding FTS index for ip.vrf
- 2015-07-27 12:26:18,360 Adding FTS index for ip.prefix
- 2015-07-27 12:26:18,361 Adding FTS index for ip.address
- 2015-07-27 12:26:18,481 Setting up 'select' polling method
- 2015-07-27 12:26:18,482 Activating 'select' poller
- 2015-07-27 12:26:18,482 Loading private ssh key from 'etc/ssh/id_rsa'
- 2015-07-27 12:26:18,482 Loading public ssh key from 'etc/ssh/id_rsa.pub'
- access_profile {
- profile: "Ubiquiti.AirOS"
- scheme: SSH
- address: "172.28.199.35"
- user: "admin"
- password: "password"
- super_password: "password"
- }
- object_name: "ubnt-kolbasova"
- script: "Ubiquiti.AirOS.get_config"
- timeout: 120
- 2015-07-27 12:26:18,483 Running script thread
- 2015-07-27 12:26:18,483 Creating transaction id=1918686343 method=None callback=None
- 2015-07-27 12:26:18,483 Running socket factory (SelectPoller)
- 2015-07-27 12:26:18,484 Capabilities: {}
- 2015-07-27 12:26:18,484 Running
- 2015-07-27 12:26:18,484 Running script: Ubiquiti.AirOS.get_config ({}), timeout 120s
- 2015-07-27 12:26:18,484 cli(cat /tmp/system.cfg)
- 2015-07-27 12:26:18,484 Running new provider
- 2015-07-27 12:26:18,484 [CLISSHSocket(0x7fb39896c850)]<None> ==> SSH_START
- 2015-07-27 12:26:18,484 [CLISSHSocket(0x7fb39896c850)]<SSH_START> Set FSM timeout to 30
- 2015-07-27 12:26:18,484 Register socket CLISSHSocket 172.28.199.35:22 (None)
- 2015-07-27 12:26:19,485 Tick
- 2015-07-27 12:26:19,485 3 TICKS TO EXIT
- 2015-07-27 12:26:19,485 [CLISSHSocket(0x7fb39896c850)]<SSH_START> Initializing socket
- 2015-07-27 12:26:19,485 [CLISSHSocket 172.28.199.35:22] Connecting 172.28.199.35:22
- 2015-07-27 12:26:19,488 [CLISSHSocket 172.28.199.35:22] create_socket returns non-zero code 115[EINPROGRESS]
- 2015-07-27 12:26:19,503 [CLISSHSocket 172.28.199.35:22] Connected
- 2015-07-27 12:26:19,513 [CLISSHSocket(0x7fb39896c850)]<SSH_START> event(SSH_VERSION)
- 2015-07-27 12:26:19,513 [CLISSHSocket(0x7fb39896c850)]<SSH_START> ==> SSH_VERSION
- 2015-07-27 12:26:19,513 [CLISSHSocket 172.28.199.35:22] Remote protocol version 2.0, remote software version dropbear_0.51
- 2015-07-27 12:26:19,513 [CLISSHSocket(0x7fb39896c850)]<SSH_VERSION> Setting SSH transforms to: in=none none, out=none none
- 2015-07-27 12:26:19,513 [CLISSHSocket(0x7fb39896c850)]<SSH_VERSION> Setting SSH transform keys
- 2015-07-27 12:26:19,513 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_KEXINIT (20)
- 2015-07-27 12:26:19,514 [CLISSHSocket(0x7fb39896c850)]<SSH_VERSION> event(SSH_KEY_EXCHANGE)
- 2015-07-27 12:26:19,514 [CLISSHSocket(0x7fb39896c850)]<SSH_VERSION> ==> SSH_KEY_EXCHANGE
- 2015-07-27 12:26:19,528 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_KEXINIT (20)
- 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']
- 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
- 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)
- 2015-07-27 12:26:19,530 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
- 2015-07-27 12:26:20,122 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_KEXDH_REPLY (31)
- 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
- 2015-07-27 12:26:20,123 [CLISSHSocket(0x7fb39896c850)]<SSH_KEY_EXCHANGE> Setting SSH transform keys
- 2015-07-27 12:26:20,123 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_NEWKEYS (21)
- 2015-07-27 12:26:20,124 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_NEWKEYS (21)
- 2015-07-27 12:26:20,124 [CLISSHSocket 172.28.199.35:22] Using new keys
- 2015-07-27 12:26:20,124 [CLISSHSocket(0x7fb39896c850)]<SSH_KEY_EXCHANGE> event(SSH_AUTH)
- 2015-07-27 12:26:20,124 [CLISSHSocket(0x7fb39896c850)]<SSH_KEY_EXCHANGE> ==> SSH_AUTH
- 2015-07-27 12:26:20,124 [CLISSHSocket 172.28.199.35:22] Requesting service ssh-userauth
- 2015-07-27 12:26:20,124 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_SERVICE_REQUEST (5)
- 2015-07-27 12:26:20,155 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_SERVICE_ACCEPT (6)
- 2015-07-27 12:26:20,155 [CLISSHSocket 172.28.199.35:22] Starting service ssh-userauth
- 2015-07-27 12:26:20,155 [CLISSHSocket(0x7fb39896c850)]<SSH_AUTH> event(SSH_AUTH_PASSWORD)
- 2015-07-27 12:26:20,155 [CLISSHSocket(0x7fb39896c850)]<SSH_AUTH> ==> SSH_AUTH_PASSWORD
- 2015-07-27 12:26:20,155 [CLISSHSocket 172.28.199.35:22] Authenticating with 'none' method
- 2015-07-27 12:26:20,155 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_USERAUTH_REQUEST (50)
- 2015-07-27 12:26:20,172 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_USERAUTH_FAILURE (51)
- 2015-07-27 12:26:20,172 [CLISSHSocket 172.28.199.35:22] Authentication method 'none' has been failed. Trying next method (publickey,password)
- 2015-07-27 12:26:20,172 [CLISSHSocket 172.28.199.35:22] Partially authenticated with 'none'. Trying next method
- 2015-07-27 12:26:20,172 [CLISSHSocket 172.28.199.35:22] Authenticating with 'publickey' method
- 2015-07-27 12:26:20,173 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_USERAUTH_REQUEST (50)
- 2015-07-27 12:26:20,185 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_USERAUTH_FAILURE (51)
- 2015-07-27 12:26:20,185 [CLISSHSocket 172.28.199.35:22] Authentication method 'publickey' has been failed. Trying next method (publickey,password)
- 2015-07-27 12:26:20,185 [CLISSHSocket 172.28.199.35:22] Partially authenticated with 'publickey'. Trying next method
- 2015-07-27 12:26:20,185 [CLISSHSocket 172.28.199.35:22] Authenticating with 'password' method
- 2015-07-27 12:26:20,185 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_USERAUTH_REQUEST (50)
- 2015-07-27 12:26:20,201 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_USERAUTH_SUCCESS (52)
- 2015-07-27 12:26:20,201 [CLISSHSocket(0x7fb39896c850)]<SSH_AUTH_PASSWORD> event(SSH_CHANNEL)
- 2015-07-27 12:26:20,201 [CLISSHSocket(0x7fb39896c850)]<SSH_AUTH_PASSWORD> ==> SSH_CHANNEL
- 2015-07-27 12:26:20,201 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_CHANNEL_OPEN (90)
- 2015-07-27 12:26:20,210 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
- 2015-07-27 12:26:20,211 [CLISSHSocket 172.28.199.35:22] Opening channel. local=0 remote=0
- 2015-07-27 12:26:20,211 [CLISSHSocket(0x7fb39896c850)]<SSH_CHANNEL> event(SSH_PTY)
- 2015-07-27 12:26:20,211 [CLISSHSocket(0x7fb39896c850)]<SSH_CHANNEL> ==> SSH_PTY
- 2015-07-27 12:26:20,211 [CLISSHSocket 172.28.199.35:22] Requesting PTY
- 2015-07-27 12:26:20,211 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_CHANNEL_REQUEST (98)
- 2015-07-27 12:26:20,225 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2015-07-27 12:26:20,225 [CLISSHSocket(0x7fb39896c850)]<SSH_PTY> event(SSH_SHELL)
- 2015-07-27 12:26:20,225 [CLISSHSocket(0x7fb39896c850)]<SSH_PTY> ==> SSH_SHELL
- 2015-07-27 12:26:20,225 [CLISSHSocket 172.28.199.35:22] Requesting shell
- 2015-07-27 12:26:20,225 [CLISSHSocket 172.28.199.35:22] Sending message type MSG_CHANNEL_REQUEST (98)
- 2015-07-27 12:26:20,234 [CLISSHSocket 172.28.199.35:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2015-07-27 12:26:20,234 [CLISSHSocket(0x7fb39896c850)]<SSH_SHELL> event(START)
- 2015-07-27 12:26:20,234 [CLISSHSocket(0x7fb39896c850)]<SSH_SHELL> ==> START
- 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')])
- 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"
- 2015-07-27 12:26:20,256 [CLISSHSocket(0x7fb39896c850)]<START> on_read: 'kolbasova# '
- 2015-07-27 12:26:21,258 Tick
- 2015-07-27 12:26:21,258 Resetting wait ticks
- 2015-07-27 12:26:22,259 Tick
- 2015-07-27 12:26:22,259 Resetting wait ticks
- 2015-07-27 12:26:23,260 Tick
- 2015-07-27 12:26:23,261 Resetting wait ticks
- 2015-07-27 12:26:24,262 Tick
- 2015-07-27 12:26:24,262 Resetting wait ticks
- 2015-07-27 12:26:25,263 Tick
- 2015-07-27 12:26:25,263 Resetting wait ticks
- 2015-07-27 12:26:26,265 Tick
- 2015-07-27 12:26:26,265 Resetting wait ticks
- 2015-07-27 12:26:27,266 Tick
- 2015-07-27 12:26:27,266 Resetting wait ticks
- 2015-07-27 12:26:28,267 Tick
- 2015-07-27 12:26:28,268 Resetting wait ticks
- 2015-07-27 12:26:29,269 Tick
- 2015-07-27 12:26:29,269 Resetting wait ticks
- 2015-07-27 12:26:30,270 Tick
- 2015-07-27 12:26:30,270 Resetting wait ticks
- 2015-07-27 12:26:31,272 Tick
- 2015-07-27 12:26:31,272 Resetting wait ticks
- 2015-07-27 12:26:32,273 Tick
- 2015-07-27 12:26:32,273 Resetting wait ticks
- 2015-07-27 12:26:33,274 Tick
- 2015-07-27 12:26:33,274 Resetting wait ticks
- 2015-07-27 12:26:34,275 Tick
- 2015-07-27 12:26:34,275 Resetting wait ticks
- 2015-07-27 12:26:35,276 Tick
- 2015-07-27 12:26:35,276 Resetting wait ticks
- 2015-07-27 12:26:36,277 Tick
- 2015-07-27 12:26:36,278 Resetting wait ticks
- 2015-07-27 12:26:37,279 Tick
- 2015-07-27 12:26:37,279 Resetting wait ticks
- 2015-07-27 12:26:38,280 Tick
- 2015-07-27 12:26:38,280 Resetting wait ticks
- 2015-07-27 12:26:39,282 Tick
- 2015-07-27 12:26:39,282 Resetting wait ticks
- 2015-07-27 12:26:40,283 Tick
- 2015-07-27 12:26:40,283 Resetting wait ticks
- 2015-07-27 12:26:41,284 Tick
- 2015-07-27 12:26:41,284 Resetting wait ticks
- 2015-07-27 12:26:42,286 Tick
- 2015-07-27 12:26:42,286 Resetting wait ticks
- 2015-07-27 12:26:43,287 Tick
- 2015-07-27 12:26:43,287 Resetting wait ticks
- 2015-07-27 12:26:44,288 Tick
- 2015-07-27 12:26:44,289 Resetting wait ticks
- 2015-07-27 12:26:45,290 Tick
- 2015-07-27 12:26:45,290 Resetting wait ticks
- 2015-07-27 12:26:46,291 Tick
- 2015-07-27 12:26:46,291 Resetting wait ticks
- 2015-07-27 12:26:47,293 Tick
- 2015-07-27 12:26:47,293 Resetting wait ticks
- 2015-07-27 12:26:48,294 Tick
- 2015-07-27 12:26:48,294 Resetting wait ticks
- 2015-07-27 12:26:49,295 Tick
- 2015-07-27 12:26:49,295 Resetting wait ticks
- 2015-07-27 12:26:50,296 Tick
- 2015-07-27 12:26:50,296 Resetting wait ticks
- 2015-07-27 12:26:50,297 Closing stale socket CLISSHSocket 172.28.199.35:22
- 2015-07-27 12:26:50,297 [CLISSHSocket 172.28.199.35:22] Closing socket
- 2015-07-27 12:26:50,297 Unregister socket CLISSHSocket 172.28.199.35:22
- 2015-07-27 12:26:50,303 Timed out
- 2015-07-27 12:26:50,303 Closing
- 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})
- 2015-07-27 12:26:51,298 Tick
- 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})
- 2015-07-27 12:26:51,299 3 TICKS TO EXIT
- 2015-07-27 12:26:52,300 Tick
- 2015-07-27 12:26:52,300 2 TICKS TO EXIT
- 2015-07-27 12:26:53,301 Tick
- 2015-07-27 12:26:53,301 1 TICKS TO EXIT
- 2015-07-27 12:26:54,302 Tick
- 2015-07-27 12:26:54,303 EXIT
- 2015-07-27 12:26:54,303 Shutting down the factory
- 2015-07-27 12:26:54,303 Metrics:
- noc.socketfactory.handle.closed_reads: 0
- noc.socketfactory.handle.reads: 12
- noc.socketfactory.handle.writes: 1
- noc.socketfactory.loops: 48
- noc.socketfactory.sockets.count: 0
- noc.socketfactory.sockets.register: 1
- noc.socketfactory.sockets.unregister: 0
- noc.socketfactory.ticks: 35
- 2015-07-27 12:26:54,303 0 TICKS TO EXIT
- 2015-07-27 12:26:54,303 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement