Advertisement
Guest User

Untitled

a guest
Jul 24th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. root@noc:/opt/noc# ./noc debug-script stp_discovery jex2200-svao-sv-fl-0-A-1
  2. 2015-07-24 15:45:05,543 Using JSON library: cjson
  3. 2015-07-24 15:45:05,552 SSH: Using gmpy
  4. 2015-07-24 15:45:05,642 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  5. 2015-07-24 15:45:05,728 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  6. 2015-07-24 15:45:05,737 Loading PeriodicRegistry
  7. 2015-07-24 15:45:05,751 Registering MetricType
  8. 2015-07-24 15:45:05,756 Loading compiled MIBs
  9. 2015-07-24 15:45:05,756 Loading compiled MIBs from 'cmibs'
  10. 2015-07-24 15:45:05,757 Loading MIB: CISCO-VPDN-MGMT-MIB
  11. 2015-07-24 15:45:05,757 Loading MIB: RFC1213-MIB
  12. 2015-07-24 15:45:05,758 Loading MIB: SNMPv2-MIB
  13. 2015-07-24 15:45:05,758 Loading MIB: IF-MIB
  14. 2015-07-24 15:45:05,759 Loading MIB: CISCO-PPPOE-MIB
  15. 2015-07-24 15:45:05,759 Loading MIB: IP-MIB
  16. 2015-07-24 15:45:05,765 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
  17. 2015-07-24 15:45:05,766 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
  18. 2015-07-24 15:45:05,768 Loading DownloaderRegistry
  19. 2015-07-24 15:45:05,796 Loading ProfileRegistry
  20. 2015-07-24 15:45:06,939 Loading ScriptRegistry
  21. 2015-07-24 15:45:07,016 Adding FTS index for sa.managedobject
  22. 2015-07-24 15:45:07,027 Registering ConnectionType
  23. 2015-07-24 15:45:07,031 Registering ObjectModel
  24. 2015-07-24 15:45:07,032 Registering Capability
  25. 2015-07-24 15:45:07,037 Adding FTS index for vc.vc
  26. 2015-07-24 15:45:07,051 Adding FTS index for ip.vrf
  27. 2015-07-24 15:45:07,053 Adding FTS index for ip.prefix
  28. 2015-07-24 15:45:07,055 Adding FTS index for ip.address
  29. 2015-07-24 15:45:07,211 Setting up 'select' polling method
  30. 2015-07-24 15:45:07,211 Activating 'select' poller
  31. 2015-07-24 15:45:07,211 Loading private ssh key from 'etc/ssh/id_rsa'
  32. 2015-07-24 15:45:07,212 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  33. access_profile {
  34. profile: "Juniper.JUNOS"
  35. scheme: SSH
  36. address: "10.36.157.63"
  37. user: "admin"
  38. password: "xxxxxxx"
  39. attrs {
  40. key: "platform"
  41. value: "ex2200-24p-4g"
  42. }
  43. attrs {
  44. key: "vendor"
  45. value: "Juniper"
  46. }
  47. attrs {
  48. key: "version"
  49. value: "11.4R7.5"
  50. }
  51. caps {
  52. capability: "SNMP"
  53. bool_value: true
  54. }
  55. caps {
  56. capability: "SNMP | Bulk"
  57. bool_value: true
  58. }
  59. caps {
  60. capability: "SNMP | IF-MIB"
  61. bool_value: true
  62. }
  63. caps {
  64. capability: "SNMP | IF-MIB | HC"
  65. bool_value: true
  66. }
  67. }
  68. object_name: "jex2200-svao-sv-fl-0-A-1"
  69. script: "Juniper.JUNOS.stp_discovery"
  70. timeout: 120
  71.  
  72. 2015-07-24 15:45:07,215 Running script thread
  73. 2015-07-24 15:45:07,216 Running socket factory (SelectPoller)
  74. 2015-07-24 15:45:07,216 Creating transaction id=1921126262 method=None callback=None
  75. 2015-07-24 15:45:07,216 Error: Invalid script 'Juniper.JUNOS.stp_discovery'
  76. 2015-07-24 15:45:08,217 Tick
  77. 2015-07-24 15:45:08,218 3 TICKS TO EXIT
  78. 2015-07-24 15:45:09,219 Tick
  79. 2015-07-24 15:45:09,219 2 TICKS TO EXIT
  80. 2015-07-24 15:45:10,221 Tick
  81. 2015-07-24 15:45:10,221 1 TICKS TO EXIT
  82. 2015-07-24 15:45:11,223 Tick
  83. 2015-07-24 15:45:11,224 EXIT
  84. 2015-07-24 15:45:11,224 Shutting down the factory
  85. 2015-07-24 15:45:11,224 Metrics:
  86. noc.socketfactory.handle.closed_reads: 0
  87. noc.socketfactory.handle.reads: 0
  88. noc.socketfactory.handle.writes: 0
  89. noc.socketfactory.loops: 4
  90. noc.socketfactory.sockets.count: 0
  91. noc.socketfactory.sockets.register: 0
  92. noc.socketfactory.sockets.unregister: 0
  93. noc.socketfactory.ticks: 4
  94. 2015-07-24 15:45:11,225 0 TICKS TO EXIT
  95. 2015-07-24 15:45:11,225 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement