Advertisement
Guest User

ES-3124

a guest
Aug 27th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.92 KB | None | 0 0
  1. root@noc:/opt/noc# ./noc debug-script Zyxel.ZyNOS.get_discovery_id telnet://admin:1234@172.16.6.4
  2. 2013-08-27 18:53:37,523 SSH: Using gmpy
  3. 2013-08-27 18:53:37,699 Using JSON library: cjson
  4. 2013-08-27 18:53:37,850 Loading PeriodicRegistry
  5. 2013-08-27 18:53:37,858 Loading DownloaderRegistry
  6. 2013-08-27 18:53:37,917 Loading ProfileRegistry
  7. 2013-08-27 18:53:39,004 Loading ScriptRegistry
  8. 2013-08-27 18:53:39,557 Setting up 'select' polling method
  9. 2013-08-27 18:53:39,558 Activating 'select' poller
  10. 2013-08-27 18:53:39,559 Loading private ssh key from 'etc/ssh/id_rsa'
  11. 2013-08-27 18:53:39,559 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  12. access_profile {
  13. profile: "Zyxel.ZyNOS"
  14. scheme: TELNET
  15. address: "172.16.6.4"
  16. user: "admin"
  17. password: "1234"
  18. path: ""
  19. }
  20. object_name: "telnet://admin:1234@172.16.6.4"
  21. script: "Zyxel.ZyNOS.get_discovery_id"
  22.  
  23. 2013-08-27 18:53:39,564 Running socket factory (SelectPoller)
  24. 2013-08-27 18:53:39,565 Running script thread
  25. 2013-08-27 18:53:39,566 Creating transaction id=1462437172 method=None callback=None
  26. 2013-08-27 18:53:39,567 [Generic.get_discovery_id(telnet://admin:1234@172.16.6.4, 172.16.6.4)] Running
  27. 2013-08-27 18:53:39,568 [Generic.get_discovery_id(telnet://admin:1234@172.16.6.4, 172.16.6.4)] Running script: Generic.get_discovery_id ({})
  28. 2013-08-27 18:53:39,569 [Zyxel.ZyNOS.get_chassis_id(telnet://admin:1234@172.16.6.4, 172.16.6.4)] Running script: Zyxel.ZyNOS.get_chassis_id ({})
  29. 2013-08-27 18:53:39,569 [Zyxel.ZyNOS.get_chassis_id(telnet://admin:1234@172.16.6.4, 172.16.6.4)] Not in call cache: 'Zyxel.ZyNOS.get_chassis_id', {}
  30. 2013-08-27 18:53:39,570 [Zyxel.ZyNOS.get_chassis_id(telnet://admin:1234@172.16.6.4, 172.16.6.4)] cli(show system-information)
  31. 2013-08-27 18:53:39,570 [Generic.get_discovery_id(telnet://admin:1234@172.16.6.4, 172.16.6.4)] Running new provider
  32. 2013-08-27 18:53:39,570 [TELNET: 172.16.6.4] ==> START
  33. 2013-08-27 18:53:39,570 [TELNET: 172.16.6.4] set_patterns([('User name:', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('^\\S+?>', 'UNPRIVELEGED_PROMPT'), ('^\\S+?#', 'PROMPT'), ('(^-- more --.*?$)', 'PAGER')])
  34. 2013-08-27 18:53:39,572 [TELNET: 172.16.6.4] set_timeout(600)
  35. 2013-08-27 18:53:39,572 register_socket(<CLITelnetSocket(0xa5872ac, 172.16.6.4:23, )>,None)
  36. 2013-08-27 18:53:40,566 Tick
  37. 2013-08-27 18:53:40,566 3 TICKS TO EXIT
  38. 2013-08-27 18:53:40,567 [TELNET: 172.16.6.4] Initializing socket
  39. 2013-08-27 18:53:40,567 [TELNET: 172.16.6.4] Connecting 172.16.6.4:23
  40. 2013-08-27 18:53:40,569 [TELNET: 172.16.6.4] Connected
  41. 2013-08-27 18:53:40,571 [TELNET: 172.16.6.4] Received IAC WILL SGA (251 3)
  42. 2013-08-27 18:53:40,572 [TELNET: 172.16.6.4] Sending IAC DO SGA (253 3)
  43. 2013-08-27 18:53:40,572 [TELNET: 172.16.6.4] Received IAC WILL ECHO (251 1)
  44. 2013-08-27 18:53:40,572 [TELNET: 172.16.6.4] Sending IAC DO ECHO (253 1)
  45. 2013-08-27 18:53:40,573 [TELNET: 172.16.6.4] on_read: '\r\nUser name: '
  46. 2013-08-27 18:53:40,573 [TELNET: 172.16.6.4] Starting synchronous FSM check
  47. 2013-08-27 18:53:40,574 [TELNET: 172.16.6.4] match 'User name:'
  48. 2013-08-27 18:53:40,574 [TELNET: 172.16.6.4] event(USERNAME)
  49. 2013-08-27 18:53:40,574 [TELNET: 172.16.6.4] ==> USERNAME
  50. 2013-08-27 18:53:40,574 [TELNET: 172.16.6.4] set_patterns([('[Pp]assword:', 'PASSWORD'), ('^\\S+?#', 'PROMPT')])
  51. 2013-08-27 18:53:40,574 [TELNET: 172.16.6.4] submit('admin', bulk_lines=None, streaming=False)
  52. 2013-08-27 18:53:40,578 [TELNET: 172.16.6.4] on_read: 'a'
  53. 2013-08-27 18:53:40,617 [TELNET: 172.16.6.4] on_read: 'dmin\r\n\r\nPassword: '
  54. 2013-08-27 18:53:40,618 [TELNET: 172.16.6.4] Starting synchronous FSM check
  55. 2013-08-27 18:53:40,619 [TELNET: 172.16.6.4] match '[Pp]assword:'
  56. 2013-08-27 18:53:40,619 [TELNET: 172.16.6.4] event(PASSWORD)
  57. 2013-08-27 18:53:40,620 [TELNET: 172.16.6.4] ==> PASSWORD
  58. 2013-08-27 18:53:40,620 [TELNET: 172.16.6.4] set_patterns([('^\\S+?>', 'UNPRIVELEGED_PROMPT'), ('^\\S+?#', 'PROMPT'), ('User name:', 'USERNAME'), ('[Pp]assword:', 'PASSWORD'), ('(^-- more --.*?$)', 'PAGER')])
  59. 2013-08-27 18:53:40,621 [TELNET: 172.16.6.4] submit('1234', bulk_lines=None, streaming=False)
  60. 2013-08-27 18:53:40,624 [TELNET: 172.16.6.4] on_read: '*'
  61. 2013-08-27 18:53:40,626 [TELNET: 172.16.6.4] on_read: '***\r\nCopyright (c) 1994 - 2011 ZyXEL Communications Corp.\r\nES3124-1MA# \x1b7'
  62. 2013-08-27 18:53:40,627 [TELNET: 172.16.6.4] Starting synchronous FSM check
  63. 2013-08-27 18:53:40,627 [TELNET: 172.16.6.4] match '^\S+?#'
  64. 2013-08-27 18:53:40,628 [TELNET: 172.16.6.4] event(PROMPT)
  65. 2013-08-27 18:53:40,628 [TELNET: 172.16.6.4] ==> PROMPT
  66. 2013-08-27 18:53:40,629 [TELNET: 172.16.6.4] on_PROMPT_enter
  67. 2013-08-27 18:53:40,629 [TELNET: 172.16.6.4] Using prompt pattern: ^\S+?#
  68. 2013-08-27 18:53:40,630 [TELNET: 172.16.6.4] set_patterns([('^\\S+?#', 'PROMPT'), ('(^-- more --.*?$)', 'PAGER')])
  69. 2013-08-27 18:53:40,630 [TELNET: 172.16.6.4] Closing socket
  70. 2013-08-27 18:53:40,631 unregister_socket(<CLITelnetSocket(0xa5872ac, 172.16.6.4:23, closing)>)
  71. 2013-08-27 18:53:40,638 [Generic.get_discovery_id(telnet://admin:1234@172.16.6.4, 172.16.6.4)] CLI Provider is ready
  72. 2013-08-27 18:53:40,638 [TELNET: 172.16.6.4] submit('show system-information', bulk_lines=None, streaming=False)
  73. 2013-08-27 18:53:40,638 [CLITelnetSocket(0xa5872ac)]<PROMPT> Attempting to write to closing socket
  74. 2013-08-27 18:53:40,638 [Generic.get_discovery_id(telnet://admin:1234@172.16.6.4, 172.16.6.4)] Closing
  75. 2013-08-27 18:53:40,639 Requesting call: <bound method CLITelnetSocket.close of <CLITelnetSocket(0xa5872ac, 172.16.6.4:23, closing)>>(*(), **{'flush': True})
  76. 2013-08-27 18:53:41,633 Tick
  77. 2013-08-27 18:53:41,633 Calling delayed <bound method CLITelnetSocket.close of <CLITelnetSocket(0xa5872ac, 172.16.6.4:23, closing)>>(*(), **{'flush': True})
  78. 2013-08-27 18:53:41,633 2 TICKS TO EXIT
  79. 2013-08-27 18:53:42,634 Tick
  80. 2013-08-27 18:53:42,634 1 TICKS TO EXIT
  81. 2013-08-27 18:53:43,635 Tick
  82. 2013-08-27 18:53:43,636 EXIT
  83. 2013-08-27 18:53:43,636 Shutting down the factory
  84. 2013-08-27 18:53:43,636 0 TICKS TO EXIT
  85. 2013-08-27 18:53:43,636 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement