Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- noc@noc:/opt/noc$ ./noc debug-script get_version post.intt
- 2015-01-21 11:09:14,802 Using JSON library: cjson
- 2015-01-21 11:09:14,885 SSH: Using gmpy
- 2015-01-21 11:09:17,729 Loading PeriodicRegistry
- 2015-01-21 11:09:17,840 Registering MetricType
- 2015-01-21 11:09:17,881 Loading compiled MIBs
- 2015-01-21 11:09:17,881 Loading compiled MIBs from 'cmibs'
- 2015-01-21 11:09:17,886 Loading MIB: RFC1213-MIB
- 2015-01-21 11:09:17,890 Loading MIB: SNMPv2-MIB
- 2015-01-21 11:09:17,891 Loading MIB: CISCO-PPPOE-MIB
- 2015-01-21 11:09:17,891 Loading MIB: CISCO-VPDN-MGMT-MIB
- 2015-01-21 11:09:17,892 Loading MIB: IF-MIB
- 2015-01-21 11:09:17,907 Loading MIB: IP-MIB
- 2015-01-21 11:09:17,966 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
- 2015-01-21 11:09:17,967 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
- 2015-01-21 11:09:17,970 Loading DownloaderRegistry
- 2015-01-21 11:09:18,016 Loading ProfileRegistry
- 2015-01-21 11:09:19,447 Loading ScriptRegistry
- 2015-01-21 11:09:19,708 Adding FTS index for sa.managedobject
- 2015-01-21 11:09:19,747 Registering ConnectionType
- 2015-01-21 11:09:19,764 Registering ObjectModel
- 2015-01-21 11:09:19,773 Registering Capability
- 2015-01-21 11:09:19,817 Adding FTS index for vc.vc
- 2015-01-21 11:09:19,902 Adding FTS index for ip.vrf
- 2015-01-21 11:09:19,907 Adding FTS index for ip.prefix
- 2015-01-21 11:09:19,912 Adding FTS index for ip.address
- 2015-01-21 11:09:20,456 Setting up 'select' polling method
- 2015-01-21 11:09:20,465 Activating 'select' poller
- 2015-01-21 11:09:20,466 Loading private ssh key from 'etc/ssh/id_rsa'
- 2015-01-21 11:09:20,471 Loading public ssh key from 'etc/ssh/id_rsa.pub'
- access_profile {
- profile: "OS.FreeBSD"
- scheme: SSH
- address: *
- user: *
- password: *
- }
- object_name: "post.intt"
- script: "OS.FreeBSD.get_version"
- 2015-01-21 11:09:20,478 Running socket factory (SelectPoller)
- 2015-01-21 11:09:20,478 Running script thread
- 2015-01-21 11:09:20,478 Creating transaction id=1160506705 method=None callback=None
- 2015-01-21 11:09:20,479 Capabilities: {}
- 2015-01-21 11:09:20,479 [OS.FreeBSD.get_version(post.intt, 192.168.253.4)] Running
- 2015-01-21 11:09:20,480 Running script: OS.FreeBSD.get_version ({})
- 2015-01-21 11:09:20,480 [OS.FreeBSD.get_version(post.intt, 192.168.253.4)] cli(uname -m -r)
- 2015-01-21 11:09:20,480 [OS.FreeBSD.get_version(post.intt, 192.168.253.4)] Running new provider
- 2015-01-21 11:09:20,480 [CLISSHSocket(0x38fc390)]<None> ==> SSH_START
- 2015-01-21 11:09:20,481 [CLISSHSocket(0x38fc390)]<SSH_START> set_timeout(30)
- 2015-01-21 11:09:20,481 Register socket CLISSHSocket 192.168.253.4:22 (None)
- 2015-01-21 11:09:21,479 Tick
- 2015-01-21 11:09:21,480 3 TICKS TO EXIT
- 2015-01-21 11:09:21,480 [CLISSHSocket(0x38fc390)]<SSH_START> Initializing socket
- 2015-01-21 11:09:21,480 [CLISSHSocket 192.168.253.4:22] Connecting 192.168.253.4:22
- 2015-01-21 11:09:21,498 [CLISSHSocket 192.168.253.4:22] create_socket returns non-zero code 115[EINPROGRESS]
- 2015-01-21 11:09:21,499 [CLISSHSocket 192.168.253.4:22] Connected
- 2015-01-21 11:09:21,510 [CLISSHSocket(0x38fc390)]<SSH_START> event(SSH_VERSION)
- 2015-01-21 11:09:21,511 [CLISSHSocket(0x38fc390)]<SSH_START> ==> SSH_VERSION
- 2015-01-21 11:09:21,511 [CLISSHSocket 192.168.253.4:22] Remote protocol version 1.99, remote software version OpenSSH_4.5p1 FreeBSD-20061110
- 2015-01-21 11:09:21,512 [CLISSHSocket(0x38fc390)]<SSH_VERSION> Setting SSH transforms to: in=none none, out=none none
- 2015-01-21 11:09:21,512 [CLISSHSocket(0x38fc390)]<SSH_VERSION> Setting SSH transform keys
- 2015-01-21 11:09:21,513 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_KEXINIT (20)
- 2015-01-21 11:09:21,513 [CLISSHSocket(0x38fc390)]<SSH_VERSION> event(SSH_KEY_EXCHANGE)
- 2015-01-21 11:09:21,514 [CLISSHSocket(0x38fc390)]<SSH_VERSION> ==> SSH_KEY_EXCHANGE
- 2015-01-21 11:09:21,514 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_KEXINIT (20)
- 2015-01-21 11:09:21,515 [CLISSHSocket 192.168.253.4:22] Receiving server proposals: kex=['diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] key=['ssh-dss'] enc_cs=['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', '[email protected]', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] enc_sc=['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', '[email protected]', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] mac_cs=['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', '[email protected]', 'hmac-sha1-96', 'hmac-md5-96'] mac_sc=['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', '[email protected]', 'hmac-sha1-96', 'hmac-md5-96'] comp_cs=['none', '[email protected]'] comp_sc['none', '[email protected]']
- 2015-01-21 11:09:21,515 [CLISSHSocket(0x38fc390)]<SSH_KEY_EXCHANGE> Setting SSH transforms to: in=aes256-ctr hmac-sha1, out=aes256-ctr hmac-sha1
- 2015-01-21 11:09:21,516 [CLISSHSocket 192.168.253.4:22] Selecting diffie-hellman-group14-sha1 ssh-dss, in=(aes256-ctr hmac-sha1 [email protected]) out=(aes256-ctr hmac-sha1 [email protected])
- 2015-01-21 11:09:21,519 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
- 2015-01-21 11:09:21,539 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_KEXDH_REPLY (31)
- 2015-01-21 11:09:21,540 [CLISSHSocket 192.168.253.4:22] Server PK fingerprint: 7e:85:f8:77:79:5c:73:31:b6:75:0c:71:4d:2f:fd:c0
- 2015-01-21 11:09:21,542 [CLISSHSocket(0x38fc390)]<SSH_KEY_EXCHANGE> Setting SSH transform keys
- 2015-01-21 11:09:21,543 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_NEWKEYS (21)
- 2015-01-21 11:09:21,543 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_NEWKEYS (21)
- 2015-01-21 11:09:21,544 [CLISSHSocket 192.168.253.4:22] Using new keys
- 2015-01-21 11:09:21,544 [CLISSHSocket(0x38fc390)]<SSH_KEY_EXCHANGE> event(SSH_AUTH)
- 2015-01-21 11:09:21,545 [CLISSHSocket(0x38fc390)]<SSH_KEY_EXCHANGE> ==> SSH_AUTH
- 2015-01-21 11:09:21,545 [CLISSHSocket 192.168.253.4:22] Requesting service ssh-userauth
- 2015-01-21 11:09:21,546 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_SERVICE_REQUEST (5)
- 2015-01-21 11:09:21,547 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_SERVICE_ACCEPT (6)
- 2015-01-21 11:09:21,547 [CLISSHSocket 192.168.253.4:22] Starting service ssh-userauth
- 2015-01-21 11:09:21,548 [CLISSHSocket(0x38fc390)]<SSH_AUTH> event(SSH_AUTH_PASSWORD)
- 2015-01-21 11:09:21,548 [CLISSHSocket(0x38fc390)]<SSH_AUTH> ==> SSH_AUTH_PASSWORD
- 2015-01-21 11:09:21,549 [CLISSHSocket 192.168.253.4:22] Authenticating with 'none' method
- 2015-01-21 11:09:21,549 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_USERAUTH_REQUEST (50)
- 2015-01-21 11:09:21,553 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_USERAUTH_FAILURE (51)
- 2015-01-21 11:09:21,553 [CLISSHSocket 192.168.253.4:22] Authentication method 'none' has been failed. Trying next method (publickey,password,keyboard-interactive)
- 2015-01-21 11:09:21,554 [CLISSHSocket 192.168.253.4:22] Partially authenticated with 'none'. Trying next method
- 2015-01-21 11:09:21,554 [CLISSHSocket 192.168.253.4:22] Authenticating with 'publickey' method
- 2015-01-21 11:09:21,556 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_USERAUTH_REQUEST (50)
- 2015-01-21 11:09:21,558 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_USERAUTH_FAILURE (51)
- 2015-01-21 11:09:21,558 [CLISSHSocket 192.168.253.4:22] Authentication method 'publickey' has been failed. Trying next method (publickey,password,keyboard-interactive)
- 2015-01-21 11:09:21,558 [CLISSHSocket 192.168.253.4:22] Partially authenticated with 'publickey'. Trying next method
- 2015-01-21 11:09:21,559 [CLISSHSocket 192.168.253.4:22] Authenticating with 'password' method
- 2015-01-21 11:09:21,559 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_USERAUTH_REQUEST (50)
- 2015-01-21 11:09:21,563 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_USERAUTH_SUCCESS (52)
- 2015-01-21 11:09:21,564 [CLISSHSocket 192.168.253.4:22] Enabling delayed out compression [email protected]
- 2015-01-21 11:09:21,564 [CLISSHSocket 192.168.253.4:22] Enabling delayed in compression [email protected]
- 2015-01-21 11:09:21,564 [CLISSHSocket(0x38fc390)]<SSH_AUTH_PASSWORD> event(SSH_CHANNEL)
- 2015-01-21 11:09:21,565 [CLISSHSocket(0x38fc390)]<SSH_AUTH_PASSWORD> ==> SSH_CHANNEL
- 2015-01-21 11:09:21,565 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_CHANNEL_OPEN (90)
- 2015-01-21 11:09:21,567 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_CHANNEL_OPEN_CONFIRMATION (91)
- 2015-01-21 11:09:21,567 [CLISSHSocket 192.168.253.4:22] Opening channel. local=0 remote=0
- 2015-01-21 11:09:21,568 [CLISSHSocket(0x38fc390)]<SSH_CHANNEL> event(SSH_PTY)
- 2015-01-21 11:09:21,568 [CLISSHSocket(0x38fc390)]<SSH_CHANNEL> ==> SSH_PTY
- 2015-01-21 11:09:21,569 [CLISSHSocket 192.168.253.4:22] Requesting PTY
- 2015-01-21 11:09:21,569 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_CHANNEL_REQUEST (98)
- 2015-01-21 11:09:21,574 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2015-01-21 11:09:21,574 [CLISSHSocket(0x38fc390)]<SSH_PTY> event(SSH_SHELL)
- 2015-01-21 11:09:21,575 [CLISSHSocket(0x38fc390)]<SSH_PTY> ==> SSH_SHELL
- 2015-01-21 11:09:21,575 [CLISSHSocket 192.168.253.4:22] Requesting shell
- 2015-01-21 11:09:21,575 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_CHANNEL_REQUEST (98)
- 2015-01-21 11:09:21,578 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_CHANNEL_WINDOW_ADJUST (93)
- 2015-01-21 11:09:21,578 [CLISSHSocket 192.168.253.4:22] Receiving message type MSG_CHANNEL_SUCCESS (99)
- 2015-01-21 11:09:21,579 [CLISSHSocket(0x38fc390)]<SSH_SHELL> event(START)
- 2015-01-21 11:09:21,579 [CLISSHSocket(0x38fc390)]<SSH_SHELL> ==> START
- 2015-01-21 11:09:21,579 [CLISSHSocket(0x38fc390)]<START> set_patterns([('^[Ll]ogin:', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^\\S*?(%|\\$)', 'UNPRIVELEGED_PROMPT'), ('^(?P<hostname>[\\S\\s~]+)\\$', 'PROMPT'), ('(^---MORE---)', 'PAGER')])
- 2015-01-21 11:09:21,581 [CLISSHSocket(0x38fc390)]<START> on_read: 'Last login: Wed Jan 21 11:05:50 2015 from wsi243.intt\r\r\nCopyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994\r\n'
- 2015-01-21 11:09:21,582 [CLISSHSocket(0x38fc390)]<START> on_read: '\tThe Regents of the University of California. All rights reserved.\r\n\r\nFreeBSD 6.4-STABLE (POST) #0: Mon Jan 19 10:36:11 NOVT 2009\r\n\r\nWelcome to FreeBSD!\r\n\r\n'
- 2015-01-21 11:09:21,606 [CLISSHSocket(0x38fc390)]<START> on_read: '\xf7 \xd7\xc1\xdb\xc5\xcd \xd4\xc5\xcc\xc5 \xd0\xd2\xcf\xc9\xda\xcf\xdb\xcc\xc1 \xcb\xd2\xc9\xd4\xc9\xde\xc5\xd3\xcb\xc1\xd1 \xcf\xdb\xc9\xc2\xcb\xc1. \xf0\xcf\xd6\xc1\xcc\xd5\xca\xd3\xd4\xc1, \r\n\xcf\xd3\xd4\xc1\xce\xcf\xd7\xc9\xd4\xc5 \xd7\xd3\xc5 \xd0\xd2\xcf\xc3\xc5\xd3\xd3\xd9 \xd6\xc9\xda\xce\xc5\xc4\xc5\xd1\xd4\xc5\xcc\xd8\xce\xcf\xd3\xd4\xc9, \xd5\xcd\xd2\xc9\xd4\xc5 \xc9 \r\n\xd2\xcf\xc4\xc9\xd4\xc5\xd3\xd8 \xda\xc1\xce\xcf\xd7\xcf.\r\n -- \xedi\xd3r\xcfs\xcfft \xf3\xcfr\xd2\xcfr\xc1ti\xcfn.\r\n'
- 2015-01-21 11:09:21,607 [CLISSHSocket(0x38fc390)]<START> on_read: 'Need to leave your terminal for a few minutes and don\'t want to logout?\r\nUse "lock -p". When you return, use your password as the key to unlock the\r\nterminal.\r\n\t\t-- Dru <[email protected]>\r\n'
- 2015-01-21 11:09:21,610 [CLISSHSocket(0x38fc390)]<START> on_read: '[inv@mail ~]$ '
- 2015-01-21 11:09:21,610 [CLISSHSocket(0x38fc390)]<START> Starting synchronous FSM check
- 2015-01-21 11:09:21,611 [CLISSHSocket(0x38fc390)]<START> match '^(?P<hostname>[\S\s~]+)\$'
- 2015-01-21 11:09:21,611 [CLISSHSocket(0x38fc390)]<START> event(PROMPT)
- 2015-01-21 11:09:21,611 [CLISSHSocket(0x38fc390)]<START> ==> PROMPT
- 2015-01-21 11:09:21,612 [CLISSHSocket(0x38fc390)]<PROMPT> on_PROMPT_enter
- 2015-01-21 11:09:21,612 [CLISSHSocket(0x38fc390)]<PROMPT> Using prompt pattern: ^\▒\▒\▒\▒\▒\▒\▒\▒\ \▒\▒\▒\▒\▒\▒\.\
- \ \ \ \-\-\ \ \▒i\▒r\▒s\▒ft\ \▒\▒r\▒\▒r\▒ti\▒n\.\
- Need\ to\ leave\ your\ terminal\ for\ a\ few\ minutes\ and\ don\'t\ want\ to\ logout\?\
- Use\ \"lock\ \-p\"\.\ When\ you\ return\,\ use\ your\ password\ as\ the\ key\ to\ unlock\ the\
- terminal\.\
- \ \ \-\-\ Dru\ \<genesis\@istar\.ca\>\
- \[inv\@mail\ \~\]\$
- 2015-01-21 11:09:21,614 [CLISSHSocket(0x38fc390)]<PROMPT> set_patterns([('^\\\xd2\\\xcf\\\xc4\\\xc9\\\xd4\\\xc5\\\xd3\\\xd8\\ \\\xda\\\xc1\\\xce\\\xcf\\\xd7\\\xcf\\.\\\n\\ \\ \\ \\-\\-\\ \\ \\\xedi\\\xd3r\\\xcfs\\\xcfft\\ \\\xf3\\\xcfr\\\xd2\\\xcfr\\\xc1ti\\\xcfn\\.\\\nNeed\\ to\\ leave\\ your\\ terminal\\ for\\ a\\ few\\ minutes\\ and\\ don\\\'t\\ want\\ to\\ logout\\?\\\nUse\\ \\"lock\\ \\-p\\"\\.\\ When\\ you\\ return\\,\\ use\\ your\\ password\\ as\\ the\\ key\\ to\\ unlock\\ the\\\nterminal\\.\\\n\\\t\\\t\\-\\-\\ Dru\\ \\<genesis\\@istar\\.ca\\>\\\n\\[inv\\@mail\\ \\~\\]\\$', 'PROMPT'), ('(^---MORE---)', 'PAGER')])
- 2015-01-21 11:09:21,662 [OS.FreeBSD.get_version(post.intt, 192.168.253.4)] CLI Provider is ready
- 2015-01-21 11:09:21,662 [CLISSHSocket(0x38fc390)]<PROMPT> submit('uname -m -r', bulk_lines=None, streaming=False)
- 2015-01-21 11:09:21,662 [CLISSHSocket 192.168.253.4:22] Sending message type MSG_CHANNEL_DATA (94)
- 2015-01-21 11:09:21,667 [CLISSHSocket(0x38fc390)]<PROMPT> on_read: 'un'
- 2015-01-21 11:09:21,668 [CLISSHSocket(0x38fc390)]<PROMPT> on_read: 'ame -m -'
- 2015-01-21 11:09:21,668 [CLISSHSocket(0x38fc390)]<PROMPT> on_read: 'r\r\n'
- 2015-01-21 11:09:21,668 [CLISSHSocket(0x38fc390)]<PROMPT> on_read: '6.4-STABLE i386\r\n'
- 2015-01-21 11:09:21,668 [CLISSHSocket(0x38fc390)]<PROMPT> on_read: '[inv@mail ~]$ '
- 2015-01-21 11:09:22,670 Tick
- 2015-01-21 11:09:22,670 Resetting wait ticks
- 2015-01-21 11:09:23,671 Tick
- 2015-01-21 11:09:23,671 Resetting wait ticks
- 2015-01-21 11:09:24,672 Tick
- 2015-01-21 11:09:24,672 Resetting wait ticks
- 2015-01-21 11:09:25,674 Tick
- 2015-01-21 11:09:25,674 Resetting wait ticks
- 2015-01-21 11:09:26,675 Tick
- 2015-01-21 11:09:26,675 Resetting wait ticks
- 2015-01-21 11:09:27,676 Tick
- 2015-01-21 11:09:27,676 Resetting wait ticks
- 2015-01-21 11:09:28,678 Tick
- 2015-01-21 11:09:28,678 Resetting wait ticks
- 2015-01-21 11:09:29,680 Tick
- 2015-01-21 11:09:29,680 Resetting wait ticks
- 2015-01-21 11:09:30,680 Tick
- 2015-01-21 11:09:30,680 Resetting wait ticks
- 2015-01-21 11:09:31,681 Tick
- 2015-01-21 11:09:31,681 Resetting wait ticks
- 2015-01-21 11:09:32,682 Tick
- 2015-01-21 11:09:32,682 Resetting wait ticks
- 2015-01-21 11:09:33,684 Tick
- 2015-01-21 11:09:33,684 Resetting wait ticks
- 2015-01-21 11:09:34,685 Tick
- 2015-01-21 11:09:34,685 Resetting wait ticks
- 2015-01-21 11:09:35,686 Tick
- 2015-01-21 11:09:35,686 Resetting wait ticks
- ^C2015-01-21 11:09:36,629 SIGINT
- noc@noc:/opt/noc$
Add Comment
Please, Sign In to add comment