Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@centos7-noc noc]# ./noc discovery --debug run box 2
- 2021-03-05 14:16:07,665 [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-03-05 14:16:08,949 [noc.core.ioloop.util] Setting up asyncio event loop policy
- 2021-03-05 14:16:08,949 [noc.core.ioloop.util] Setting up default event loop
- 2021-03-05 14:16:09,898 [noc.core.dcs.base] Resolve near service postgres
- 2021-03-05 14:16:09,907 [noc.core.dcs.base] Resolved near service postgres to ['10.250.51.41:5432']
- 2021-03-05 12:16:10,257 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
- 2021-03-05 12:16:10,839 [asyncio] Using selector: EpollSelector
- 2021-03-05 12:16:10,840 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
- 2021-03-05 12:16:10,840 [noc.core.dcs.base] [mongo] Requesting changes from index 0
- 2021-03-05 12:16:10,840 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
- 2021-03-05 12:16:10,842 [noc.core.http.client] HTTP Response 200
- 2021-03-05 12:16:10,842 [noc.core.dcs.base] [mongo] Index changed 0 -> 10066. Applying changes
- 2021-03-05 12:16:10,842 [noc.core.dcs.base] [mongo] Set active services to: mongo: 10.250.51.41:27017
- 2021-03-05 12:16:10,842 [noc.core.dcs.base] [mongo] Stopping resolver
- 2021-03-05 12:16:10,843 [noc.core.mongo.connection] Connecting to MongoDB {'db': 'noc', 'username': 'noc', 'password': '********', 'authentication_source': 'noc', 'replicaSet': 'noc', 'readPreference': 'secondaryPreferred', 'maxIdleTimeMS': 60000, 'host': 'mongodb://noc:********@10.250.51.41:27017/noc'}
- 2021-03-05 12:16:11,078 [noc.main.models.doccategory] Registering ConnectionType
- 2021-03-05 12:16:11,085 [noc.main.models.doccategory] Registering ObjectModel
- 2021-03-05 12:16:11,180 [noc.main.models.textindex] Adding FTS index for sa.managedobject
- 2021-03-05 12:16:11,265 [scheduler.discovery] Open collection noc.schedules.discovery.default
- Job ID: 603e0b7026193be2ea303f55
- 2021-03-05 12:16:11,569 [noc.core.mib] Loading MIB: SNMPv2-MIB
- 2021-03-05 12:16:11,663 [noc.main.models.doccategory] Registering ProfileCheckRule
- 2021-03-05 12:16:11,901 [noc.main.models.textindex] Adding FTS index for vc.vc
- 2021-03-05 12:16:11,916 [noc.main.models.textindex] Adding FTS index for ip.prefix
- 2021-03-05 12:16:11,922 [noc.main.models.textindex] Adding FTS index for ip.address
- Loading job context from jobctx-discovery-default-603e0b7026193be2ea303f55
- 2021-03-05 12:16:12,126 [scheduler.discovery] [2] [discovery|box|C3560X|resolver] Resolving ussc.r
- 2021-03-05 12:16:17,191 [scheduler.discovery] [2] [discovery|box|C3560X|resolver] Failed to resolve
- 2021-03-05 12:16:17,191 [scheduler.discovery] [2] [discovery|box|C3560X|resolver] Set path: None
- 2021-03-05 12:16:17,191 [scheduler.discovery] [2] [discovery|box|C3560X] [resolver] Set problem: class=Discovery | Error | Unhandled Exception path=None message=Failed to resolve fqdn ussc.r fatal=True vars={}
- 2021-03-05 12:16:17,191 [noc.core.loader.base] [profile] Loading profile Cisco.IOS
- 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Cisco.IOS: 'pattern_more' '^ --More-- ' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: Cisco.IOS: 'pattern_more' ' ' command must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Cisco.IOS: 'pattern_more' '(?:\\?|interfaces)\\s*\\[confirm\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: Cisco.IOS: 'pattern_more' '\n' command must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Cisco.IOS: 'pattern_more' '^Destination filename \\[\\S+\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Cisco.IOS: 'pattern_more' '^Proceed with reload\\?\\s*\\[confirm\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: Cisco.IOS: 'pattern_more' 'y\n' command must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-03-05 12:16:17,268 [scheduler.discovery] [2] [discovery|box|C3560X] Using CLI sessions
- Saving job context to jobctx-discovery-default-603e0b7026193be2ea303f55
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement