root@NOC_Node_1:/opt/noc# ./noc script --debug --pretty get_interface Localhost
2021-08-16 13:45:58,711 [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-08-16 16:45:58,820 [noc.core.ioloop.util] Setting up asyncio event loop policy
2021-08-16 16:45:58,820 [noc.core.ioloop.util] Setting up default event loop
2021-08-16 16:45:58,820 [asyncio] Using selector: EpollSelector
2021-08-16 16:45:58,820 [root] Starting DCS runner thread
2021-08-16 16:45:58,821 [asyncio] Using selector: EpollSelector
2021-08-16 16:45:58,821 [root] DCS runner thread is ready
2021-08-16 16:45:58,821 [root] Starting DCS consul://consul:8500/noc
2021-08-16 16:45:58,865 [noc.core.dcs.base] Resolve near service postgres
2021-08-16 16:45:58,865 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/postgres?passing=1&near=_agent
2021-08-16 16:45:58,869 [noc.core.http.client] HTTP Response 200
2021-08-16 16:45:58,869 [noc.core.dcs.base] Resolved near service postgres to ['
192.168.8.247:5432']
2021-08-16 16:45:59,017 [noc.main.models.textindex] Adding FTS index for ip.vrf
2021-08-16 16:45:59,040 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
2021-08-16 16:45:59,077 [noc.main.models.doccategory] Registering Capability
2021-08-16 16:45:59,078 [noc.main.models.doccategory] Registering MetricType
2021-08-16 16:45:59,100 [noc.main.models.doccategory] Registering ConnectionType
2021-08-16 16:45:59,104 [noc.main.models.doccategory] Registering ObjectModel
2021-08-16 16:45:59,127 [noc.main.models.textindex] Adding FTS index for sa.managedobject
2021-08-16 16:45:59,136 [asyncio] Using selector: EpollSelector
2021-08-16 16:45:59,136 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
2021-08-16 16:45:59,136 [noc.core.dcs.base] [mongo] Requesting changes from index 0
2021-08-16 16:45:59,137 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
2021-08-16 16:45:59,138 [noc.core.http.client] HTTP Response 200
2021-08-16 16:45:59,139 [noc.core.dcs.base] [mongo] Index changed 0 -> 53347. Applying changes
2021-08-16 16:45:59,139 [noc.core.dcs.base] [mongo] Set active services to: mongo:
192.168.8.247:270172021-08-16 16:45:59,139 [noc.core.dcs.base] [mongo] Stopping resolver
2021-08-16 16:45:59,140 [noc.core.mongo.connection] Connecting to MongoDB {'db': 'noc', 'username': 'noc', 'password': '********', 'authentication_source': 'noc', 'replicaSet': 'noc', 'readPreference': 'secondaryPreferred', 'maxIdleTimeMS': 60000, 'host': 'mongodb://noc:********@192.168.8.247:27017/noc'}
2021-08-16 16:45:59,191 [noc.core.loader.base] [script] Loading script Linux.Debian.get_interface
2021-08-16 16:45:59,192 [noc.core.loader.base] [script] Failed to load script Linux.Debian.get_interface: No module named 'noc.sa.profiles.Generic.get_interface'
Failed to load script None
root@NOC_Node_1:/opt/noc#