Guest User

Untitled

a guest
Mar 24th, 2015
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. root@ubuntu:/opt/noc# ./noc debug-script DLink.DxS.interface-discovery 11
  2. 2015-03-24 18:41:51,581 Using JSON library: cjson
  3. 2015-03-24 18:41:51,588 SSH: Using gmpy
  4. 2015-03-24 18:41:51,743 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  5. 2015-03-24 18:41:51,836 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
  6. 2015-03-24 18:41:51,845 Loading PeriodicRegistry
  7. 2015-03-24 18:41:51,856 Registering MetricType
  8. 2015-03-24 18:41:51,861 Loading compiled MIBs
  9. 2015-03-24 18:41:51,861 Loading compiled MIBs from 'cmibs'
  10. 2015-03-24 18:41:51,862 Loading MIB: RFC1213-MIB
  11. 2015-03-24 18:41:51,862 Loading MIB: SNMPv2-MIB
  12. 2015-03-24 18:41:51,862 Loading MIB: IP-MIB
  13. 2015-03-24 18:41:51,867 Loading MIB: IF-MIB
  14. 2015-03-24 18:41:51,868 Loading MIB: CISCO-PPPOE-MIB
  15. 2015-03-24 18:41:51,868 Loading MIB: CISCO-VPDN-MGMT-MIB
  16. 2015-03-24 18:41:51,874 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
  17. 2015-03-24 18:41:51,874 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
  18. 2015-03-24 18:41:51,876 Loading DownloaderRegistry
  19. 2015-03-24 18:41:51,896 Loading ProfileRegistry
  20. 2015-03-24 18:41:52,394 Loading ScriptRegistry
  21. 2015-03-24 18:41:52,487 Adding FTS index for sa.managedobject
  22. 2015-03-24 18:41:52,499 Registering ConnectionType
  23. 2015-03-24 18:41:52,503 Registering ObjectModel
  24. 2015-03-24 18:41:52,505 Registering Capability
  25. 2015-03-24 18:41:52,510 Adding FTS index for vc.vc
  26. 2015-03-24 18:41:52,533 Adding FTS index for ip.vrf
  27. 2015-03-24 18:41:52,535 Adding FTS index for ip.prefix
  28. 2015-03-24 18:41:52,537 Adding FTS index for ip.address
  29. 2015-03-24 18:41:52,721 Setting up 'select' polling method
  30. 2015-03-24 18:41:52,722 Activating 'select' poller
  31. 2015-03-24 18:41:52,722 Loading private ssh key from 'etc/ssh/id_rsa'
  32. 2015-03-24 18:41:52,722 Loading public ssh key from 'etc/ssh/id_rsa.pub'
  33. access_profile {
  34. profile: "DLink.DxS"
  35. scheme: TELNET
  36. address: "10.17.0.6"
  37. port: 23
  38. user: ""
  39. password: ""
  40. path: "10.17.0.6"
  41. attrs {
  42. key: "Boot PROM"
  43. value: "1.10-B09"
  44. }
  45. attrs {
  46. key: "HW version"
  47. value: "A1"
  48. }
  49. attrs {
  50. key: "platform"
  51. value: "DGS-3627G"
  52. }
  53. attrs {
  54. key: "Serial Number"
  55. value: "P1JN1A7000298"
  56. }
  57. attrs {
  58. key: "vendor"
  59. value: "DLink"
  60. }
  61. attrs {
  62. key: "version"
  63. value: "3.00.B33"
  64. }
  65. caps {
  66. capability: "SNMP"
  67. bool_value: true
  68. }
  69. caps {
  70. capability: "SNMP | Bulk"
  71. bool_value: true
  72. }
  73. caps {
  74. capability: "SNMP | IF-MIB"
  75. bool_value: true
  76. }
  77. caps {
  78. capability: "SNMP | IF-MIB | HC"
  79. bool_value: true
  80. }
  81. }
  82. object_name: "11"
  83. script: "DLink.DxS.interface-discovery"
  84. timeout: 120
  85.  
  86. 2015-03-24 18:41:52,724 Running socket factory (SelectPoller)
  87. 2015-03-24 18:41:52,724 Running script thread
  88. 2015-03-24 18:41:52,725 Creating transaction id=959010979 method=None callback=None
  89. 2015-03-24 18:41:52,725 Error: Invalid script 'DLink.DxS.interface-discovery'
  90. 2015-03-24 18:41:53,726 Tick
  91. 2015-03-24 18:41:53,726 3 TICKS TO EXIT
  92. 2015-03-24 18:41:54,727 Tick
  93. 2015-03-24 18:41:54,727 2 TICKS TO EXIT
  94. 2015-03-24 18:41:55,728 Tick
  95. 2015-03-24 18:41:55,728 1 TICKS TO EXIT
  96. 2015-03-24 18:41:56,729 Tick
  97. 2015-03-24 18:41:56,729 EXIT
  98. 2015-03-24 18:41:56,730 Shutting down the factory
  99. 2015-03-24 18:41:56,730 Metrics:
  100. noc.socketfactory.handle.closed_reads: 0
  101. noc.socketfactory.handle.reads: 0
  102. noc.socketfactory.handle.writes: 0
  103. noc.socketfactory.loops: 4
  104. noc.socketfactory.sockets.count: 0
  105. noc.socketfactory.sockets.register: 0
  106. noc.socketfactory.sockets.unregister: 0
  107. noc.socketfactory.ticks: 4
  108. 2015-03-24 18:41:56,730 0 TICKS TO EXIT
  109. 2015-03-24 18:41:56,730 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment