Advertisement
Guest User

Untitled

a guest
Mar 7th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. [root@kovreng noc]# cd /opt/noc/
  2. [root@kovreng noc]# ./noc debug-script get_version -c public crt01-koz-ltc
  3. /opt/noc/contrib/lib/pycrypto-2.5-py2.6-linux-i686.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
  4. 2012-03-07 14:21:23,641 SSH: Using gmpy
  5. 2012-03-07 14:21:25,167 Using JSON library: cjson
  6. 2012-03-07 14:21:25,325 Loading PeriodicRegistry
  7. 2012-03-07 14:21:25,422 Loading DownloaderRegistry
  8. 2012-03-07 14:21:25,507 Loading ProfileRegistry
  9. 2012-03-07 14:21:27,145 Loading ScriptRegistry
  10. 2012-03-07 14:21:27,733 Setting up 'select' polling method
  11. 2012-03-07 14:21:27,733 Set up select() poller
  12. 2012-03-07 14:21:27,733 Loading private ssh key from 'etc/ssh/id_rsa'
  13. 2012-03-07 14:21:27,739 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  14. access_profile {
  15. profile: "Cisco.IOS"
  16. scheme: TELNET
  17. address: "192.168.65.33"
  18. user: "+km"
  19. password: "gjikbdctyf[eq"
  20. super_password: "rere:tyth"
  21. snmp_ro: "public"
  22. attrs {
  23. key: "image"
  24. value: "C3745-ADVENTERPRISEK9-M"
  25. }
  26. attrs {
  27. key: "platform"
  28. value: "3700"
  29. }
  30. attrs {
  31. key: "vendor"
  32. value: "Cisco"
  33. }
  34. attrs {
  35. key: "version"
  36. value: "12.3(14)T7"
  37. }
  38. }
  39. script: "Cisco.IOS.get_version"
  40.  
  41. 2012-03-07 14:21:27,747 Running script thread
  42. 2012-03-07 14:21:27,747 Running socket factory
  43. 2012-03-07 14:21:27,747 Creating transaction id=2039327636 method=None callback=None
  44. 2012-03-07 14:21:27,749 [script-192.168.65.33-Cisco.IOS.get_version] Running
  45. 2012-03-07 14:21:27,750 [script-192.168.65.33-Cisco.IOS.get_version] Running script: Cisco.IOS.get_version ({})
  46. 2012-03-07 14:21:27,750 register_socket(<noc.sa.script.snmp.SNMPGetSocket object at 0x9e376ac>,None)
  47. 2012-03-07 14:21:27,751 [script-192.168.65.33-Cisco.IOS.get_version] 192.168.65.33 SNMP GET 1.3.6.1.2.1.1.1.0
  48. 2012-03-07 14:21:28,749 Tick
  49. 2012-03-07 14:21:28,749 3 TICKS TO EXIT
  50. 2012-03-07 14:21:28,749 [SNMPGetSocket(0x9e376ac)] Initializing socket
  51. 2012-03-07 14:21:28,796 [script-192.168.65.33-Cisco.IOS.get_version] 192.168.65.33 SNMP GET REPLY: 1.3.6.1.2.1.1.1.0 0x436973636f20494f5320536f6674776172652c203337303020536f667477617265202843333734352d414456454e54455250524953454b392d4d292c2056657273696f6e2031322e332831342954372c2052454c4541534520534f465457415245202866633229da546563686e6963616c20537570706f72743a20687474703a2f2f7777772e636973636f2e636f6d2f74656368737570706f7274da436f707972696768742028632920313938362d3230303620627920436973636f2053797374656d732c20496e632eda436f6d70696c6564205468752032332d4d61722d30362030303a3237206279207077616465
  52. 2012-03-07 14:21:28,797 [script-192.168.65.33-Cisco.IOS.get_version] Script returns with result: {'platform': '3700', 'version': '12.3(14)T7', 'vendor': 'Cisco', 'attributes': {'image': 'C3745-ADVENTERPRISEK9-M'}}
  53. 2012-03-07 14:21:28,797 [script-192.168.65.33-Cisco.IOS.get_version] Closing
  54. 2012-03-07 14:21:28,798 unregister_socket(<noc.sa.script.snmp.SNMPGetSocket object at 0x9e376ac>)
  55. 2012-03-07 14:21:28,798 Resetting wait ticks
  56. 2012-03-07 14:21:29,800 Tick
  57. 2012-03-07 14:21:29,800 3 TICKS TO EXIT
  58. 2012-03-07 14:21:30,801 Tick
  59. 2012-03-07 14:21:30,802 2 TICKS TO EXIT
  60. 2012-03-07 14:21:31,803 Tick
  61. 2012-03-07 14:21:31,803 1 TICKS TO EXIT
  62. 2012-03-07 14:21:32,804 Tick
  63. 2012-03-07 14:21:32,805 EXIT
  64. 2012-03-07 14:21:32,806 SCRIPT RESULT: script-192.168.65.33-Cisco.IOS.get_version
  65. {'attributes': {'image': 'C3745-ADVENTERPRISEK9-M'},
  66. 'platform': '3700',
  67. 'vendor': 'Cisco',
  68. 'version': '12.3(14)T7'}
  69. 2012-03-07 14:21:32,806 Shutting down the factory
  70. 2012-03-07 14:21:32,806 0 TICKS TO EXIT
  71. [root@kovreng noc]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement