View difference between Paste ID: EWicQUSn and 6frnRF5M
SHOW: | | - or go back to the newest paste.
1-
./noc debug-script MikroTik.RouterOS.get_version telnet://noc:[email protected]
1+
./noc debug-script MikroTik.RouterOS.get_version telnet://noc:[email protected]
2
2013-05-30 12:40:20,532 SSH: Using gmpy
3
2013-05-30 12:40:20,696 Using JSON library: cjson
4
2013-05-30 12:40:20,832 Loading PeriodicRegistry
5
2013-05-30 12:40:20,860 Loading DownloaderRegistry
6
2013-05-30 12:40:20,895 Loading ProfileRegistry
7
2013-05-30 12:40:21,601 Loading ScriptRegistry
8
2013-05-30 12:40:22,003 Setting up 'select' polling method
9
2013-05-30 12:40:22,004 Activating 'select' poller
10
2013-05-30 12:40:22,004 Loading private ssh key from 'etc/ssh/id_rsa'
11
2013-05-30 12:40:22,004 Loading public ssh key from 'etc/ssh/id_rsa.pub'
12
access_profile {
13
  profile: "MikroTik.RouterOS"
14
  scheme: TELNET
15
  address: "10.1.1.1"
16
  user: "noc"
17-
  password: "H0knp0"
17+
  password: "12345"
18
  path: ""
19
}
20-
object_name: "telnet://noc:[email protected]"
20+
object_name: "telnet://noc:[email protected]"
21
script: "MikroTik.RouterOS.get_version"
22
23
2013-05-30 12:40:22,008 Running script thread
24
2013-05-30 12:40:22,009 Running socket factory (SelectPoller)
25
2013-05-30 12:40:22,009 Creating transaction id=1769169302 method=None callback=None
26-
2013-05-30 12:40:22,010 [MikroTik.RouterOS.get_version(telnet://noc:[email protected], 10.1.1.1)] Running
26+
2013-05-30 12:40:22,010 [MikroTik.RouterOS.get_version(telnet://noc:[email protected], 10.1.1.1)] Running
27-
2013-05-30 12:40:22,010 [MikroTik.RouterOS.get_version(telnet://noc:[email protected], 10.1.1.1)] Running script: MikroTik.RouterOS.get_version ({})
27+
2013-05-30 12:40:22,010 [MikroTik.RouterOS.get_version(telnet://noc:[email protected], 10.1.1.1)] Running script: MikroTik.RouterOS.get_version ({})
28-
2013-05-30 12:40:22,011 [MikroTik.RouterOS.get_version(telnet://noc:[email protected], 10.1.1.1)] cli(system resource print)
28+
2013-05-30 12:40:22,011 [MikroTik.RouterOS.get_version(telnet://noc:[email protected], 10.1.1.1)] cli(system resource print)
29-
2013-05-30 12:40:22,011 [MikroTik.RouterOS.get_version(telnet://noc:[email protected], 10.1.1.1)] Running new provider
29+
2013-05-30 12:40:22,011 [MikroTik.RouterOS.get_version(telnet://noc:[email protected], 10.1.1.1)] Running new provider
30
2013-05-30 12:40:22,011 [TELNET: 10.1.1.1] ==> START
31
2013-05-30 12:40:22,011 [TELNET: 10.1.1.1] set_patterns([('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('\\[(?P<prompt>.+?@.+?)\\] > ', 'PROMPT'), ('(Please press "Enter" to continue!)', 'PAGER')])
32
2013-05-30 12:40:22,012 [TELNET: 10.1.1.1] set_timeout(600)
33
2013-05-30 12:40:22,012 register_socket(<CLITelnetSocket(0x80e497190, 10.1.1.1:23, )>,None)
34
2013-05-30 12:40:23,010 Tick
35
2013-05-30 12:40:23,010 3 TICKS TO EXIT
36
2013-05-30 12:40:23,010 [TELNET: 10.1.1.1] Initializing socket
37
2013-05-30 12:40:23,011 [TELNET: 10.1.1.1] Connecting 10.1.1.1:23
38
2013-05-30 12:40:23,030 [TELNET: 10.1.1.1] Connected
39
2013-05-30 12:40:23,051 [TELNET: 10.1.1.1] Received IAC DO TTYPE (253 24)
40
2013-05-30 12:40:23,051 [TELNET: 10.1.1.1] Sending IAC WILL TTYPE (251 24)
41
2013-05-30 12:40:23,052 [TELNET: 10.1.1.1] Received IAC DO TSPEED (253 32)
42
2013-05-30 12:40:23,052 [TELNET: 10.1.1.1] Sending IAC WONT TSPEED (252 32)
43
2013-05-30 12:40:23,052 [TELNET: 10.1.1.1] Received IAC DO XDISPLOC (253 35)
44
2013-05-30 12:40:23,052 [TELNET: 10.1.1.1] Sending IAC WONT XDISPLOC (252 35)
45
2013-05-30 12:40:23,052 [TELNET: 10.1.1.1] Received IAC DO NEW_ENVIRON (253 39)
46
2013-05-30 12:40:23,052 [TELNET: 10.1.1.1] Sending IAC WONT NEW_ENVIRON (252 39)
47
2013-05-30 12:40:23,071 [TELNET: 10.1.1.1] Received SB '\x18\x01'
48
2013-05-30 12:40:23,071 [TELNET: 10.1.1.1] Sending SB '\xff\xfa\x18\x00XTERM\xff\xf0'
49
2013-05-30 12:40:23,089 [TELNET: 10.1.1.1] Received IAC WILL SGA (251 3)
50
2013-05-30 12:40:23,089 [TELNET: 10.1.1.1] Sending IAC DO SGA (253 3)
51
2013-05-30 12:40:23,089 [TELNET: 10.1.1.1] Received IAC DO ECHO (253 1)
52
2013-05-30 12:40:23,089 [TELNET: 10.1.1.1] Sending IAC WILL ECHO (251 1)
53
2013-05-30 12:40:23,089 [TELNET: 10.1.1.1] Received IAC DO NAWS (253 31)
54
2013-05-30 12:40:23,089 [TELNET: 10.1.1.1] Sending IAC WILL NAWS (251 31)
55
2013-05-30 12:40:23,089 [TELNET: 10.1.1.1] Sending SB '\xff\xfa\x1f\xff\xff\xff\xff\xff\xf0'
56
2013-05-30 12:40:23,089 [TELNET: 10.1.1.1] Received IAC WILL STATUS (251 5)
57
2013-05-30 12:40:23,089 [TELNET: 10.1.1.1] Sending IAC DONT STATUS (254 5)
58
2013-05-30 12:40:23,089 [TELNET: 10.1.1.1] Received IAC DO LFLOW (253 33)
59
2013-05-30 12:40:23,089 [TELNET: 10.1.1.1] Sending IAC WONT LFLOW (252 33)
60
2013-05-30 12:40:23,109 [TELNET: 10.1.1.1] Received IAC DONT ECHO (254 1)
61
2013-05-30 12:40:23,109 [TELNET: 10.1.1.1] Sending IAC WONT ECHO (252 1)
62
2013-05-30 12:40:23,109 [TELNET: 10.1.1.1] Received IAC WILL ECHO (251 1)
63
2013-05-30 12:40:23,109 [TELNET: 10.1.1.1] Sending IAC DO ECHO (253 1)
64
2013-05-30 12:40:23,109 [TELNET: 10.1.1.1] on_read: '\r\nMikroTik v6.0rc13\r\n'
65
2013-05-30 12:40:23,126 [TELNET: 10.1.1.1] on_read: 'Login: '
66
2013-05-30 12:40:23,126 [TELNET: 10.1.1.1] Starting synchronous FSM check
67
2013-05-30 12:40:23,126 [TELNET: 10.1.1.1] match '([Uu]sername|[Ll]ogin):'
68
2013-05-30 12:40:23,126 [TELNET: 10.1.1.1] event(USERNAME)
69
2013-05-30 12:40:23,127 [TELNET: 10.1.1.1] ==> USERNAME
70
2013-05-30 12:40:23,127 [TELNET: 10.1.1.1] set_patterns([('[Pp]assword:', 'PASSWORD'), ('\\[(?P<prompt>.+?@.+?)\\] > ', 'PROMPT')])
71
2013-05-30 12:40:23,127 [TELNET: 10.1.1.1] submit('noc+ct', bulk_lines=None, streaming=False)
72
2013-05-30 12:40:23,146 [TELNET: 10.1.1.1] on_read: 'noc+ct\r\nPassword: '
73
2013-05-30 12:40:23,146 [TELNET: 10.1.1.1] Starting synchronous FSM check
74
2013-05-30 12:40:23,146 [TELNET: 10.1.1.1] match '[Pp]assword:'
75
2013-05-30 12:40:23,146 [TELNET: 10.1.1.1] event(PASSWORD)
76
2013-05-30 12:40:23,146 [TELNET: 10.1.1.1] ==> PASSWORD
77
2013-05-30 12:40:23,147 [TELNET: 10.1.1.1] set_patterns([('\\[(?P<prompt>.+?@.+?)\\] > ', 'PROMPT'), ('([Uu]sername|[Ll]ogin):', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('(Please press "Enter" to continue!)', 'PAGER')])
78-
2013-05-30 12:40:23,147 [TELNET: 10.1.1.1] submit('H0knp0', bulk_lines=None, streaming=False)
78+
2013-05-30 12:40:23,147 [TELNET: 10.1.1.1] submit('12345', bulk_lines=None, streaming=False)
79
2013-05-30 12:40:23,165 [TELNET: 10.1.1.1] on_read: '\r\n'
80
2013-05-30 12:40:23,286 [TELNET: 10.1.1.1] on_read: '\r\r\n\r\r\n\r\r\n\r\r\n\r\r\n\r\r\n\r\r\n\r\n\r  MMM      MMM       KKK                          TTTTTTTTTTT      KKK\r\n\r  MMMM    MMMM       KKK                          TTTTTTTTTTT      KKK\r\n\r  MMM MMMM MMM  III  KKK  KKK  RRRRRR     OOOOOO      TTT     III  KKK  KKK\r\n\r  MMM  MM  MMM  III  KKKKK     RRR  RRR  OOO  OOO     TTT     III  KKKKK\r\n\r  MMM      MMM  III  KKK KKK   RRRRRR    OOO  OOO     TTT     III  KKK KKK\r\n\r  MMM      MMM  III  KKK  KKK  RRR  RRR   OOOOOO      TTT     III  KKK  KKK\r\n\r\r\n\r  MikroTik RouterOS 6.0rc13 (c) 1999-2013       http://www.mikrotik.com/\r\n\r\r\n[?]             Gives the list of available commands\r\n\rcommand [?]     Gives help on the command and list of arguments\r\n\r\r\n\r[Tab]           Completes the command/word. If the input is ambigous,\r\n\r                a second [Tab] gives possible options\r\n\r\r\n\r/               Move up to base level\r\n\r..              Move up one level\r\n\r/command        Use command at the base level\r\n\r\x1b[9999B\r\x1b[9999B\r\r\r\x1b[9999B[noc@zar-rtr-1] > '
81
2013-05-30 12:40:23,286 [TELNET: 10.1.1.1] Starting synchronous FSM check
82
2013-05-30 12:40:23,286 [TELNET: 10.1.1.1] match '\[(?P<prompt>.+?@.+?)\] > '
83
2013-05-30 12:40:23,287 [TELNET: 10.1.1.1] event(PROMPT)
84
2013-05-30 12:40:23,287 [TELNET: 10.1.1.1] ==> PROMPT
85
2013-05-30 12:40:23,287 [TELNET: 10.1.1.1] on_PROMPT_enter
86
2013-05-30 12:40:23,287 [TELNET: 10.1.1.1] Using prompt pattern: \[Tab\]\ gives\ possible\ options\
87
\
88
\/\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Move\ up\ to\ base\ level\
89
\.\.\ \ \ \ \ \ \ \ \ \ \ \ \ \ Move\ up\ one\ level\
90
\/command\ \ \ \ \ \ \ \ Use\ command\ at\ the\ base\ level\
91
\[noc\@zar\-rtr\-1\] > 
92
2013-05-30 12:40:23,287 [TELNET: 10.1.1.1] set_patterns([('\\[Tab\\]\\ gives\\ possible\\ options\\\n\\\n\\/\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ Move\\ up\\ to\\ base\\ level\\\n\\.\\.\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ Move\\ up\\ one\\ level\\\n\\/command\\ \\ \\ \\ \\ \\ \\ \\ Use\\ command\\ at\\ the\\ base\\ level\\\n\\[noc\\@zar\\-rtr\\-1\\] > ', 'PROMPT'), ('(Please press "Enter" to continue!)', 'PAGER')])
93-
2013-05-30 12:40:23,287 [MikroTik.RouterOS.get_version(telnet://noc:[email protected], 10.1.1.1)] CLI Provider is ready
93+
2013-05-30 12:40:23,287 [MikroTik.RouterOS.get_version(telnet://noc:[email protected], 10.1.1.1)] CLI Provider is ready
94
2013-05-30 12:40:23,289 [TELNET: 10.1.1.1] submit('system resource print', bulk_lines=None, streaming=False)
95
2013-05-30 12:40:23,973 [TELNET: 10.1.1.1] on_read: '\r[noc@zar-rtr-1] > \x1b[K\x1b7\x1b[r\x1b8'
96
2013-05-30 12:40:23,991 [TELNET: 10.1.1.1] on_read: 'system resource print\r\n'
97
2013-05-30 12:40:24,111 [TELNET: 10.1.1.1] on_read: '\r                   uptime: 1w20h57m12s\r\n                  version: 6.0rc13\r\n               build-time: Apr/08/2013 14:25:10\r\n              free-memory: 90.5MiB\r\n             total-memory: 128.0MiB\r\n                      cpu: MIPS 74Kc V4.12\r\n                cpu-count: 1\r\n            cpu-frequency: 600MHz\r\n                 cpu-load: 5%\r\n           free-hdd-space: 110.4MiB\r\n          total-hdd-space: 128.0MiB\r\n  write-sect-since-reboot: 35136\r\n         write-sect-total: 35136\r\n               bad-blocks: 0%\r\n        architecture-name: mipsbe\r\n               board-name: RB2011UAS-2HnD\r\n                 platform: MikroTik\r\r\n\r\r\r\x1b[9999B[noc@zar-rtr-1] > '
98
2013-05-30 12:40:24,111 Tick
99
2013-05-30 12:40:24,111 Resetting wait ticks
100
2013-05-30 12:40:24,750 [TELNET: 10.1.1.1] on_read: '\x1b7\x1b[r\x1b8'
101
2013-05-30 12:40:25,751 Tick
102
2013-05-30 12:40:25,751 Resetting wait ticks
103
2013-05-30 12:40:26,752 Tick
104
2013-05-30 12:40:26,752 Resetting wait ticks
105
2013-05-30 12:40:27,753 Tick
106
2013-05-30 12:40:27,753 Resetting wait ticks
107
2013-05-30 12:40:28,754 Tick
108
2013-05-30 12:40:28,754 Resetting wait ticks
109
2013-05-30 12:40:29,755 Tick
110
2013-05-30 12:40:29,755 Resetting wait ticks
111
2013-05-30 12:40:30,756 Tick
112
2013-05-30 12:40:30,756 Resetting wait ticks
113
2013-05-30 12:40:31,757 Tick
114
2013-05-30 12:40:31,757 Resetting wait ticks
115
2013-05-30 12:40:32,758 Tick
116
2013-05-30 12:40:32,758 Resetting wait ticks
117
2013-05-30 12:40:33,759 Tick
118
2013-05-30 12:40:33,759 Resetting wait ticks
119
2013-05-30 12:40:34,760 Tick
120
2013-05-30 12:40:34,760 Resetting wait ticks
121
2013-05-30 12:40:35,761 Tick
122
2013-05-30 12:40:35,761 Resetting wait ticks
123
2013-05-30 12:40:36,762 Tick
124
2013-05-30 12:40:36,762 Resetting wait ticks
125
2013-05-30 12:40:37,763 Tick
126
2013-05-30 12:40:37,763 Resetting wait ticks
127
2013-05-30 12:40:38,764 Tick
128
2013-05-30 12:40:38,764 Resetting wait ticks
129
2013-05-30 12:40:39,765 Tick
130
2013-05-30 12:40:39,765 Resetting wait ticks
131
2013-05-30 12:40:40,766 Tick
132
2013-05-30 12:40:40,766 Resetting wait ticks
133
2013-05-30 12:40:41,767 Tick
134
2013-05-30 12:40:41,767 Resetting wait ticks
135
2013-05-30 12:40:42,768 Tick
136
2013-05-30 12:40:42,768 Resetting wait ticks
137
2013-05-30 12:40:43,769 Tick
138
2013-05-30 12:40:43,769 Resetting wait ticks
139
2013-05-30 12:40:44,770 Tick
140
2013-05-30 12:40:44,770 Resetting wait ticks
141
2013-05-30 12:40:45,771 Tick
142
2013-05-30 12:40:45,771 Resetting wait ticks
143
2013-05-30 12:40:46,772 Tick
144
2013-05-30 12:40:46,772 Resetting wait ticks
145
2013-05-30 12:40:47,773 Tick
146
2013-05-30 12:40:47,773 Resetting wait ticks
147
2013-05-30 12:40:48,774 Tick
148
2013-05-30 12:40:48,774 Resetting wait ticks
149
2013-05-30 12:40:49,775 Tick
150
2013-05-30 12:40:49,775 Resetting wait ticks
151
2013-05-30 12:40:50,776 Tick
152
2013-05-30 12:40:50,776 Resetting wait ticks
153
2013-05-30 12:40:51,777 Tick
154
2013-05-30 12:40:51,777 Resetting wait ticks
155
2013-05-30 12:40:52,778 Tick
156
2013-05-30 12:40:52,778 Resetting wait ticks
157
2013-05-30 12:40:53,779 Tick
158
2013-05-30 12:40:53,779 Resetting wait ticks
159
2013-05-30 12:40:54,780 Tick
160
2013-05-30 12:40:54,780 Resetting wait ticks
161
2013-05-30 12:40:55,781 Tick
162
2013-05-30 12:40:55,781 Resetting wait ticks
163
2013-05-30 12:40:56,782 Tick
164
2013-05-30 12:40:56,782 Resetting wait ticks
165
^C2013-05-30 12:40:56,783 SIGINT