Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@Node01:/opt/noc# ./noc discovery --debug run box 4
- 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
- warnings.warn(
- 2021-07-23 11:01:33,649 [noc.core.ioloop.util] Setting up asyncio event loop policy
- 2021-07-23 11:01:33,650 [noc.core.ioloop.util] Setting up default event loop
- 2021-07-23 11:01:33,682 [noc.core.dcs.base] Resolve near service pgbouncer
- 2021-07-23 11:01:33,686 [noc.core.dcs.base] Resolved near service pgbouncer to ['xx.xx.12.100:6432']
- 2021-07-23 11:01:33,711 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
- 2021-07-23 11:01:33,787 [asyncio] Using selector: EpollSelector
- 2021-07-23 11:01:33,788 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
- 2021-07-23 11:01:33,788 [noc.core.dcs.base] [mongo] Requesting changes from index 0
- 2021-07-23 11:01:33,788 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
- 2021-07-23 11:01:33,790 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:33,790 [noc.core.dcs.base] [mongo] Index changed 0 -> 272352. Applying changes
- 2021-07-23 11:01:33,790 [noc.core.dcs.base] [mongo] Set active services to: mongo: xx.xx.12.100:27017
- 2021-07-23 11:01:33,790 [noc.core.dcs.base] [mongo] Stopping resolver
- 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'}
- 2021-07-23 11:01:33,814 [noc.main.models.doccategory] Registering ConnectionType
- 2021-07-23 11:01:33,817 [noc.main.models.doccategory] Registering ObjectModel
- 2021-07-23 11:01:33,831 [noc.main.models.textindex] Adding FTS index for sa.managedobject
- 2021-07-23 11:01:33,855 [scheduler.discovery] Open collection noc.schedules.discovery.default
- Job ID: 60f012401b814ee8672b5796
- 2021-07-23 11:01:33,874 [noc.core.mib] Loading MIB: SNMPv2-MIB
- 2021-07-23 11:01:33,875 [noc.main.models.doccategory] Registering ProfileCheckRule
- 2021-07-23 11:01:33,895 [noc.main.models.textindex] Adding FTS index for vc.vc
- 2021-07-23 11:01:33,897 [noc.main.models.textindex] Adding FTS index for ip.prefix
- 2021-07-23 11:01:33,898 [noc.main.models.textindex] Adding FTS index for ip.address
- Loading job context from jobctx-discovery-default-60f012401b814ee8672b5796
- Job context is empty
- 2021-07-23 11:01:33,948 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|resolver] FQDN field is empty
- 2021-07-23 11:01:33,948 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|resolver] Check is disabled. Skipping
- 2021-07-23 11:01:33,952 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] Checking profile accordance
- 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"
- 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)
- 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
- 2021-07-23 11:01:34,091 [asyncio] Using selector: EpollSelector
- 2021-07-23 11:01:34,091 [stub] Activating stub service
- 2021-07-23 11:01:34,092 [stub] Starting IOLoop
- 2021-07-23 11:01:34,092 [asyncio] Using selector: EpollSelector
- 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'), {})
- 2021-07-23 11:01:34,092 [noc.core.dcs.base] Running resolver for service activator-default
- 2021-07-23 11:01:34,092 [noc.core.dcs.base] [activator-default] Starting resolver (near=False)
- 2021-07-23 11:01:34,092 [noc.core.dcs.base] [activator-default] Requesting changes from index 0
- 2021-07-23 11:01:34,093 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/activator-default?passing=1
- 2021-07-23 11:01:34,095 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,095 [noc.core.dcs.base] [activator-default] Index changed 0 -> 315982. Applying changes
- 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
- 2021-07-23 11:01:34,095 [noc.core.dcs.base] [activator-default] Requesting changes from index 315982
- 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
- 2021-07-23 11:01:34,096 [noc.core.http.client] HTTP POST http://xx.xx.12.100:31237/api/activator/
- 2021-07-23 11:01:34,131 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,131 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (38.82ms)
- 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)
- 2021-07-23 11:01:34,131 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] Using cached value
- 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)
- 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
- 2021-07-23 11:01:34,132 [asyncio] Using selector: EpollSelector
- 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'), {})
- 2021-07-23 11:01:34,132 [noc.core.http.client] HTTP POST http://xx.xx.12.100:36967/api/activator/
- 2021-07-23 11:01:34,192 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,192 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (60.11ms)
- 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)
- 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
- 2021-07-23 11:01:34,193 [asyncio] Using selector: EpollSelector
- 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'), {})
- 2021-07-23 11:01:34,193 [noc.core.http.client] HTTP POST http://xx.xx.12.100:41489/api/activator/
- 2021-07-23 11:01:34,232 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,232 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (39.15ms)
- 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)
- 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
- 2021-07-23 11:01:34,233 [asyncio] Using selector: EpollSelector
- 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'), {})
- 2021-07-23 11:01:34,234 [noc.core.http.client] HTTP POST http://xx.xx.12.100:37543/api/activator/
- 2021-07-23 11:01:34,267 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,267 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (34.00ms)
- 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
- 2021-07-23 11:01:34,268 [asyncio] Using selector: EpollSelector
- 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'), {})
- 2021-07-23 11:01:34,268 [noc.core.http.client] HTTP POST http://xx.xx.12.100:41089/api/activator/
- 2021-07-23 11:01:34,318 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,318 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v2c_get (50.00ms)
- 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)
- 2021-07-23 11:01:34,318 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] Using cached value
- 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)
- 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
- 2021-07-23 11:01:34,318 [asyncio] Using selector: EpollSelector
- 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'), {})
- 2021-07-23 11:01:34,319 [noc.core.http.client] HTTP POST http://xx.xx.12.100:37543/api/activator/
- 2021-07-23 11:01:34,369 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,369 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (51.21ms)
- 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
- 2021-07-23 11:01:34,370 [asyncio] Using selector: EpollSelector
- 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'), {})
- 2021-07-23 11:01:34,370 [noc.core.http.client] HTTP POST http://xx.xx.12.100:37543/api/activator/
- 2021-07-23 11:01:34,403 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,403 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v2c_get (33.17ms)
- 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)
- 2021-07-23 11:01:34,403 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] Using cached value
- 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)
- 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
- 2021-07-23 11:01:34,404 [asyncio] Using selector: EpollSelector
- 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'), {})
- 2021-07-23 11:01:34,405 [noc.core.http.client] HTTP POST http://xx.xx.12.100:31237/api/activator/
- 2021-07-23 11:01:34,435 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,435 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (30.92ms)
- 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)
- 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
- 2021-07-23 11:01:34,436 [asyncio] Using selector: EpollSelector
- 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'), {})
- 2021-07-23 11:01:34,436 [noc.core.http.client] HTTP POST http://xx.xx.12.100:22387/api/activator/
- 2021-07-23 11:01:34,465 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,465 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v1_get (28.99ms)
- 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
- 2021-07-23 11:01:34,465 [asyncio] Using selector: EpollSelector
- 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'), {})
- 2021-07-23 11:01:34,466 [noc.core.http.client] HTTP POST http://xx.xx.12.100:41089/api/activator/
- 2021-07-23 11:01:34,496 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,496 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.snmp_v2c_get (30.75ms)
- 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)
- 2021-07-23 11:01:34,496 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] [default|xx.xx.37.1] Using cached value
- 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)
- 2021-07-23 11:01:34,497 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|profile] Profile is correct: CheckPoint.GaiaOS
- 2021-07-23 11:01:34,512 [scheduler.discovery] [4] [discovery|box|fw1_Konda_KON|version] Checking version
- 2021-07-23 11:01:34,513 [asyncio] Using selector: EpollSelector
- 2021-07-23 11:01:34,513 [noc.core.service.rpc] [sae] [SYNC CALL>] sae.script((4, 'get_version', {}, None), {})
- 2021-07-23 11:01:34,513 [noc.core.dcs.base] Running resolver for service sae
- 2021-07-23 11:01:34,513 [noc.core.dcs.base] [sae] Starting resolver (near=False)
- 2021-07-23 11:01:34,513 [noc.core.dcs.base] [sae] Requesting changes from index 0
- 2021-07-23 11:01:34,513 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?passing=1
- 2021-07-23 11:01:34,515 [noc.core.http.client] HTTP Response 200
- 2021-07-23 11:01:34,515 [noc.core.dcs.base] [sae] Index changed 0 -> 316062. Applying changes
- 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
- 2021-07-23 11:01:34,515 [noc.core.dcs.base] [sae] Requesting changes from index 316062
- 2021-07-23 11:01:34,515 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=316062&passing=1
- 2021-07-23 11:01:34,516 [noc.core.http.client] HTTP POST http://xx.xx.12.100:33971/api/sae/
- 2021-07-23 11:01:34,534 [noc.core.http.client] HTTP Response 307
- 2021-07-23 11:01:34,534 [noc.core.service.rpc] [sae] Redirecting to http://xx.xx.12.100:27789/api/activator/
- 2021-07-23 11:01:34,534 [noc.core.http.client] HTTP POST http://xx.xx.12.100:27789/api/activator/
- 2021-07-23 11:01:34,630 [noc.core.http.client] HTTP Response 200
- 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