Izya12

noc discovery --debug run box 4

Jul 23rd, 2021
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.18 KB | None | 0 0
  1. root@Node01:/opt/noc# ./noc discovery --debug run box 4
  2. 2021-07-23 11:01:33,550 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: None: 'pattern_more' '^---MORE---' pattern must be of binary type. Support for text values will be removed in NOC 20.2
  3. warnings.warn(
  4.  
  5. 2021-07-23 11:01:33,649 [noc.core.ioloop.util] Setting up asyncio event loop policy
  6. 2021-07-23 11:01:33,650 [noc.core.ioloop.util] Setting up default event loop
  7. 2021-07-23 11:01:33,682 [noc.core.dcs.base] Resolve near service pgbouncer
  8. 2021-07-23 11:01:33,686 [noc.core.dcs.base] Resolved near service pgbouncer to ['xx.xx.12.100:6432']
  9. 2021-07-23 11:01:33,711 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
  10. 2021-07-23 11:01:33,787 [asyncio] Using selector: EpollSelector
  11. 2021-07-23 11:01:33,788 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
  12. 2021-07-23 11:01:33,788 [noc.core.dcs.base] [mongo] Requesting changes from index 0
  13. 2021-07-23 11:01:33,788 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
  14. 2021-07-23 11:01:33,790 [noc.core.http.client] HTTP Response 200
  15. 2021-07-23 11:01:33,790 [noc.core.dcs.base] [mongo] Index changed 0 -> 272352. Applying changes
  16. 2021-07-23 11:01:33,790 [noc.core.dcs.base] [mongo] Set active services to: mongo: xx.xx.12.100:27017
  17. 2021-07-23 11:01:33,790 [noc.core.dcs.base] [mongo] Stopping resolver
  18. 2021-07-23 11:01:33,790 [noc.core.mongo.connection] Connecting to MongoDB {'db': 'noc', 'username': 'noc', 'password': '********', 'authentication_source': 'noc', 'replicaSet': 'noc', 'readPreference': 'secondaryPreferred', 'maxIdleTimeMS': 60000, 'host': 'mongodb://noc:********@xx.xx.12.100:27017/noc'}
  19. 2021-07-23 11:01:33,814 [noc.main.models.doccategory] Registering ConnectionType
  20. 2021-07-23 11:01:33,817 [noc.main.models.doccategory] Registering ObjectModel
  21. 2021-07-23 11:01:33,831 [noc.main.models.textindex] Adding FTS index for sa.managedobject
  22. 2021-07-23 11:01:33,855 [scheduler.discovery] Open collection noc.schedules.discovery.default
  23. Job ID: 60f012401b814ee8672b5796
  24. 2021-07-23 11:01:33,874 [noc.core.mib] Loading MIB: SNMPv2-MIB
  25. 2021-07-23 11:01:33,875 [noc.main.models.doccategory] Registering ProfileCheckRule
  26. 2021-07-23 11:01:33,895 [noc.main.models.textindex] Adding FTS index for vc.vc
  27. 2021-07-23 11:01:33,897 [noc.main.models.textindex] Adding FTS index for ip.prefix
  28. 2021-07-23 11:01:33,898 [noc.main.models.textindex] Adding FTS index for ip.address
  29. Loading job context from jobctx-discovery-default-60f012401b814ee8672b5796
  30. Job context is empty
  31. 2021-07-23 11:01:33,948 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|resolver] FQDN field is empty
  32. 2021-07-23 11:01:33,948 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|resolver] Check is disabled. Skipping
  33. 2021-07-23 11:01:33,952 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] Checking profile accordance
  34. 2021-07-23 11:01:33,953 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] Compiling "Profile Check rules"
  35. 2021-07-23 11:01:34,091 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] do_check(snmp_v2c_get, SNMPv2-MIB::sysObjectID.0)
  36. 2021-07-23 11:01:34,091 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] SNMP v1 GET: 1.3.6.1.2.1.1.2.0
  37. 2021-07-23 11:01:34,091 [asyncio] Using selector: EpollSelector
  38. 2021-07-23 11:01:34,091 [stub] Activating stub service
  39. 2021-07-23 11:01:34,092 [stub] Starting IOLoop
  40. 2021-07-23 11:01:34,092 [asyncio] Using selector: EpollSelector
  41. 2021-07-23 11:01:34,092 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.snmp_v1_get(('xx.xx.37.1', 'xxxxxxx', '1.3.6.1.2.1.1.2.0'), {})
  42. 2021-07-23 11:01:34,092 [noc.core.dcs.base] Running resolver for service activator-default
  43. 2021-07-23 11:01:34,092 [noc.core.dcs.base] [activator-default] Starting resolver (near=False)
  44. 2021-07-23 11:01:34,092 [noc.core.dcs.base] [activator-default] Requesting changes from index 0
  45. 2021-07-23 11:01:34,093 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/activator-default?passing=1
  46. 2021-07-23 11:01:34,095 [noc.core.http.client] HTTP Response 200
  47. 2021-07-23 11:01:34,095 [noc.core.dcs.base] [activator-default] Index changed 0 -> 315982. Applying changes
  48. 2021-07-23 11:01:34,095 [noc.core.dcs.base] [activator-default] Set active services to: svc-017eb67f-8940-40dd-80d7-93730fc53703: xx.xx.12.100:41489, svc-0d669737-cbd8-4704-a252-3966b7edb5a8: xx.xx.12.100:41089, svc-11fe7ec6-dc19-4337-8107-3ee001d77666: xx.xx.12.100:27789, svc-1d502d0c-a2df-43ea-a698-c715cfe359b5: xx.xx.12.100:22387, svc-632f415a-5c5d-4c36-9375-cabe118c88e5: xx.xx.12.100:36967, svc-83675ec4-45d6-4eff-9994-122d8f8054d8: xx.xx.12.100:37543, svc-bd682ea2-4353-4f28-8fd7-9d84603fa51d: xx.xx.12.100:21865, svc-d8ba5567-881d-4837-ba46-8a17855b6d7f: xx.xx.12.100:31237
  49. 2021-07-23 11:01:34,095 [noc.core.dcs.base] [activator-default] Requesting changes from index 315982
  50. 2021-07-23 11:01:34,095 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/activator-default?index=315982&passing=1
  51. 2021-07-23 11:01:34,096 [noc.core.http.client] HTTP POST http://xx.xx.12.100:31237/api/activator/
  52. 2021-07-23 11:01:34,131 [noc.core.http.client] HTTP Response 200
  53. 2021-07-23 11:01:34,131 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (38.82ms)
  54. 2021-07-23 11:01:34,131 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] do_check(snmp_v2c_get, SNMPv2-MIB::sysObjectID.0)
  55. 2021-07-23 11:01:34,131 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] Using cached value
  56. 2021-07-23 11:01:34,132 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] do_check(snmp_v2c_get, 1.3.6.1.2.1.1.1.0)
  57. 2021-07-23 11:01:34,132 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] SNMP v1 GET: 1.3.6.1.2.1.1.1.0
  58. 2021-07-23 11:01:34,132 [asyncio] Using selector: EpollSelector
  59. 2021-07-23 11:01:34,132 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.snmp_v1_get(('xx.xx.37.1', 'xxxxxxx', '1.3.6.1.2.1.1.1.0'), {})
  60. 2021-07-23 11:01:34,132 [noc.core.http.client] HTTP POST http://xx.xx.12.100:36967/api/activator/
  61. 2021-07-23 11:01:34,192 [noc.core.http.client] HTTP Response 200
  62. 2021-07-23 11:01:34,192 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (60.11ms)
  63. 2021-07-23 11:01:34,193 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] do_check(snmp_v2c_get, SNMPv2-MIB::sysDescr.0)
  64. 2021-07-23 11:01:34,193 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] SNMP v1 GET: 1.3.6.1.2.1.1.1.0
  65. 2021-07-23 11:01:34,193 [asyncio] Using selector: EpollSelector
  66. 2021-07-23 11:01:34,193 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.snmp_v1_get(('xx.xx.37.1', 'xxxxxxx', '1.3.6.1.2.1.1.1.0'), {})
  67. 2021-07-23 11:01:34,193 [noc.core.http.client] HTTP POST http://xx.xx.12.100:41489/api/activator/
  68. 2021-07-23 11:01:34,232 [noc.core.http.client] HTTP Response 200
  69. 2021-07-23 11:01:34,232 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (39.15ms)
  70. 2021-07-23 11:01:34,233 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] do_check(snmp_v2c_get, 1.3.6.1.4.1.27514.103.0.1)
  71. 2021-07-23 11:01:34,233 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] SNMP v1 GET: 1.3.6.1.4.1.27514.103.0.1
  72. 2021-07-23 11:01:34,233 [asyncio] Using selector: EpollSelector
  73. 2021-07-23 11:01:34,233 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.snmp_v1_get(('xx.xx.37.1', 'xxxxxxx', '1.3.6.1.4.1.27514.103.0.1'), {})
  74. 2021-07-23 11:01:34,234 [noc.core.http.client] HTTP POST http://xx.xx.12.100:37543/api/activator/
  75. 2021-07-23 11:01:34,267 [noc.core.http.client] HTTP Response 200
  76. 2021-07-23 11:01:34,267 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (34.00ms)
  77. 2021-07-23 11:01:34,267 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] SNMP v2c GET: 1.3.6.1.4.1.27514.103.0.1
  78. 2021-07-23 11:01:34,268 [asyncio] Using selector: EpollSelector
  79. 2021-07-23 11:01:34,268 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.snmp_v2c_get(('xx.xx.37.1', 'xxxxxxx', '1.3.6.1.4.1.27514.103.0.1'), {})
  80. 2021-07-23 11:01:34,268 [noc.core.http.client] HTTP POST http://xx.xx.12.100:41089/api/activator/
  81. 2021-07-23 11:01:34,318 [noc.core.http.client] HTTP Response 200
  82. 2021-07-23 11:01:34,318 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v2c_get (50.00ms)
  83. 2021-07-23 11:01:34,318 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] do_check(snmp_v2c_get, SNMPv2-MIB::sysDescr.0)
  84. 2021-07-23 11:01:34,318 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] Using cached value
  85. 2021-07-23 11:01:34,318 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] do_check(snmp_v2c_get, 1.3.6.1.2.1.47.1.1.1.1.2.65536)
  86. 2021-07-23 11:01:34,318 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] SNMP v1 GET: 1.3.6.1.2.1.47.1.1.1.1.2.65536
  87. 2021-07-23 11:01:34,318 [asyncio] Using selector: EpollSelector
  88. 2021-07-23 11:01:34,318 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.snmp_v1_get(('xx.xx.37.1', 'xxxxxxx', '1.3.6.1.2.1.47.1.1.1.1.2.65536'), {})
  89. 2021-07-23 11:01:34,319 [noc.core.http.client] HTTP POST http://xx.xx.12.100:37543/api/activator/
  90. 2021-07-23 11:01:34,369 [noc.core.http.client] HTTP Response 200
  91. 2021-07-23 11:01:34,369 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (51.21ms)
  92. 2021-07-23 11:01:34,370 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] SNMP v2c GET: 1.3.6.1.2.1.47.1.1.1.1.2.65536
  93. 2021-07-23 11:01:34,370 [asyncio] Using selector: EpollSelector
  94. 2021-07-23 11:01:34,370 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.snmp_v2c_get(('xx.xx.37.1', 'xxxxxxx', '1.3.6.1.2.1.47.1.1.1.1.2.65536'), {})
  95. 2021-07-23 11:01:34,370 [noc.core.http.client] HTTP POST http://xx.xx.12.100:37543/api/activator/
  96. 2021-07-23 11:01:34,403 [noc.core.http.client] HTTP Response 200
  97. 2021-07-23 11:01:34,403 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v2c_get (33.17ms)
  98. 2021-07-23 11:01:34,403 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] do_check(snmp_v2c_get, SNMPv2-MIB::sysDescr.0)
  99. 2021-07-23 11:01:34,403 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] Using cached value
  100. 2021-07-23 11:01:34,404 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] do_check(snmp_v2c_get, SNMPv2-MIB::sysName.0)
  101. 2021-07-23 11:01:34,404 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] SNMP v1 GET: 1.3.6.1.2.1.1.5.0
  102. 2021-07-23 11:01:34,404 [asyncio] Using selector: EpollSelector
  103. 2021-07-23 11:01:34,404 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.snmp_v1_get(('xx.xx.37.1', 'xxxxxxx', '1.3.6.1.2.1.1.5.0'), {})
  104. 2021-07-23 11:01:34,405 [noc.core.http.client] HTTP POST http://xx.xx.12.100:31237/api/activator/
  105. 2021-07-23 11:01:34,435 [noc.core.http.client] HTTP Response 200
  106. 2021-07-23 11:01:34,435 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (30.92ms)
  107. 2021-07-23 11:01:34,436 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] do_check(snmp_v2c_get, 1.3.6.1.2.1.47.1.1.1.1.2.1)
  108. 2021-07-23 11:01:34,436 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] SNMP v1 GET: 1.3.6.1.2.1.47.1.1.1.1.2.1
  109. 2021-07-23 11:01:34,436 [asyncio] Using selector: EpollSelector
  110. 2021-07-23 11:01:34,436 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.snmp_v1_get(('xx.xx.37.1', 'xxxxxxx', '1.3.6.1.2.1.47.1.1.1.1.2.1'), {})
  111. 2021-07-23 11:01:34,436 [noc.core.http.client] HTTP POST http://xx.xx.12.100:22387/api/activator/
  112. 2021-07-23 11:01:34,465 [noc.core.http.client] HTTP Response 200
  113. 2021-07-23 11:01:34,465 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (28.99ms)
  114. 2021-07-23 11:01:34,465 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] SNMP v2c GET: 1.3.6.1.2.1.47.1.1.1.1.2.1
  115. 2021-07-23 11:01:34,465 [asyncio] Using selector: EpollSelector
  116. 2021-07-23 11:01:34,465 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.snmp_v2c_get(('xx.xx.37.1', 'xxxxxxx', '1.3.6.1.2.1.47.1.1.1.1.2.1'), {})
  117. 2021-07-23 11:01:34,466 [noc.core.http.client] HTTP POST http://xx.xx.12.100:41089/api/activator/
  118. 2021-07-23 11:01:34,496 [noc.core.http.client] HTTP Response 200
  119. 2021-07-23 11:01:34,496 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v2c_get (30.75ms)
  120. 2021-07-23 11:01:34,496 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] do_check(snmp_v2c_get, SNMPv2-MIB::sysObjectID.0)
  121. 2021-07-23 11:01:34,496 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] Using cached value
  122. 2021-07-23 11:01:34,497 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] Matched profile: CheckPoint.GaiaOS (CheckPoint | GaiaOS)
  123. 2021-07-23 11:01:34,497 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] Profile is correct: CheckPoint.GaiaOS
  124. 2021-07-23 11:01:34,512 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|version] Checking version
  125. 2021-07-23 11:01:34,513 [asyncio] Using selector: EpollSelector
  126. 2021-07-23 11:01:34,513 [noc.core.service.rpc] [sae] [SYNC CALL>] sae.script((4, 'get_version', {}, None), {})
  127. 2021-07-23 11:01:34,513 [noc.core.dcs.base] Running resolver for service sae
  128. 2021-07-23 11:01:34,513 [noc.core.dcs.base] [sae] Starting resolver (near=False)
  129. 2021-07-23 11:01:34,513 [noc.core.dcs.base] [sae] Requesting changes from index 0
  130. 2021-07-23 11:01:34,513 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?passing=1
  131. 2021-07-23 11:01:34,515 [noc.core.http.client] HTTP Response 200
  132. 2021-07-23 11:01:34,515 [noc.core.dcs.base] [sae] Index changed 0 -> 316062. Applying changes
  133. 2021-07-23 11:01:34,515 [noc.core.dcs.base] [sae] Set active services to: svc-20a46a72-82db-4270-b4a8-b69dd328f5c9: xx.xx.12.100:25527, svc-90023fd6-8967-42ee-98e8-3a5d4c321c99: xx.xx.12.100:33971
  134. 2021-07-23 11:01:34,515 [noc.core.dcs.base] [sae] Requesting changes from index 316062
  135. 2021-07-23 11:01:34,515 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=316062&passing=1
  136. 2021-07-23 11:01:34,516 [noc.core.http.client] HTTP POST http://xx.xx.12.100:33971/api/sae/
  137. 2021-07-23 11:01:34,534 [noc.core.http.client] HTTP Response 307
  138. 2021-07-23 11:01:34,534 [noc.core.service.rpc] [sae] Redirecting to http://xx.xx.12.100:27789/api/activator/
  139. 2021-07-23 11:01:34,534 [noc.core.http.client] HTTP POST http://xx.xx.12.100:27789/api/activator/
  140. 2021-07-23 11:01:34,630 [noc.core.http.client] HTTP Response 200
  141. 2021-07-23 11:01:34,630 [noc.core.service.rpc] [sae] [CALL<] sae.script (117.17ms)
Advertisement
Add Comment
Please, Sign In to add comment