Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2021-04-04 18:09:42,364 [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-04-04 18:09:48,331 [noc.core.ioloop.util] Setting up asyncio event loop policy
- 2021-04-04 18:09:48,331 [noc.core.ioloop.util] Setting up default event loop
- 2021-04-04 18:09:49,249 [noc.core.dcs.base] Resolve near service postgres
- 2021-04-04 18:09:49,323 [noc.core.dcs.base] Resolved near service postgres to ['***.***.**.**:5432']
- 2021-04-04 21:09:56,180 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
- 2021-04-04 21:10:03,476 [asyncio] Using selector: EpollSelector
- 2021-04-04 21:10:03,477 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
- 2021-04-04 21:10:03,477 [noc.core.dcs.base] [mongo] Requesting changes from index 0
- 2021-04-04 21:10:03,478 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
- 2021-04-04 21:10:03,483 [noc.core.http.client] HTTP Response 200
- 2021-04-04 21:10:03,484 [noc.core.dcs.base] [mongo] Index changed 0 -> 591389. Applying changes
- 2021-04-04 21:10:03,484 [noc.core.dcs.base] [mongo] Set active services to: mongo: ***.***.**.**:27017
- 2021-04-04 21:10:03,484 [noc.core.dcs.base] [mongo] Stopping resolver
- 2021-04-04 21:10:03,487 [noc.core.mongo.connection] Connecting to MongoDB {'db': 'noc', 'username': 'noc', 'password': '********', 'authentication_source': 'noc', 'replicaSet': 'noc', 'readPreference': 'secondaryPreferred', 'maxIdleTimeMS': 60000, 'host': 'mongodb://noc:********@***.***.**.**:27017/noc'}
- 2021-04-04 21:10:06,506 [noc.main.models.doccategory] Registering ConnectionType
- 2021-04-04 21:10:06,526 [noc.main.models.doccategory] Registering ObjectModel
- 2021-04-04 21:10:06,756 [noc.main.models.textindex] Adding FTS index for sa.managedobject
- 2021-04-04 21:10:07,235 [scheduler.discovery] Open collection noc.schedules.discovery.default
- Job ID: 603fb3e881bcbeaa5d4ee908
- 2021-04-04 21:10:12,558 [noc.core.mib] Loading MIB: SNMPv2-MIB
- 2021-04-04 21:10:12,791 [noc.main.models.doccategory] Registering ProfileCheckRule
- 2021-04-04 21:10:17,221 [noc.main.models.textindex] Adding FTS index for vc.vc
- 2021-04-04 21:10:17,242 [noc.main.models.textindex] Adding FTS index for ip.prefix
- 2021-04-04 21:10:17,275 [noc.main.models.textindex] Adding FTS index for ip.address
- Loading job context from jobctx-discovery-default-603fb3e881bcbeaa5d4ee908
- 2021-04-04 21:10:18,954 [scheduler.discovery] [5] [discovery|box|TestDev|resolver] Check is disabled. Skipping
- 2021-04-04 21:10:18,957 [scheduler.discovery] [5] [discovery|box|TestDev|profile] Check is disabled. Skipping
- 2021-04-04 21:10:18,957 [noc.core.loader.base] [profile] Loading profile Eltex.MES
- 2021-04-04 21:10:19,335 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Eltex.MES: 'pattern_more' '^More: <space>, Quit: q, One line: <return>$' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-04-04 21:10:19,335 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: Eltex.MES: 'pattern_more' ' ' command must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-04-04 21:10:19,336 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Eltex.MES: 'pattern_more' '\\[Yes/press any key for no\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-04-04 21:10:19,336 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: Eltex.MES: 'pattern_more' 'Y' command must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-04-04 21:10:19,336 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Eltex.MES: 'pattern_more' '<return>, Quit: q or <ctrl>' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-04-04 21:10:19,336 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Eltex.MES: 'pattern_more' 'q or <ctrl>+z' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-04-04 21:10:19,336 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Eltex.MES: 'pattern_more' 'Overwrite file \\[startup-config\\].... \\(Y\\/N\\)' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-04-04 21:10:19,337 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Eltex.MES: 'pattern_more' 'Would you like to continue \\? \\(Y\\/N\\)\\[N\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-04-04 21:10:19,337 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Eltex.MES: 'pattern_more' 'Clear Logging File \\? \\(Y\\/N\\)\\[N\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-04-04 21:10:19,342 [scheduler.discovery] [5] [discovery|box|TestDev] Using CLI sessions
- 2021-04-04 21:10:19,342 [scheduler.discovery] [5] [discovery|box|TestDev|version] Check is disabled. Skipping
- 2021-04-04 21:10:19,342 [scheduler.discovery] [5] [discovery|box|TestDev|config] Check is disabled. Skipping
- 2021-04-04 21:10:29,881 [scheduler.discovery] [5] [discovery|box|TestDev|caps] Checking capabilities: snmp, snmp_v1, snmp_v2c, bfd, cdp, fdp, huawei_ndp, lacp, lldp, oam, rep, stp, udld, hsrp, vrrp, vrrpv3, bgp, ospf, ospfv3, isis, ldp, rsvp
- 2021-04-04 21:10:29,882 [scheduler.discovery] [5] [discovery|box|TestDev|caps] Requesting data from device
- 2021-04-04 21:10:29,894 [asyncio] Using selector: EpollSelector
- 2021-04-04 21:10:29,895 [stub] Activating stub service
- 2021-04-04 21:10:29,895 [stub] Starting IOLoop
- 2021-04-04 21:10:29,895 [asyncio] Using selector: EpollSelector
- 2021-04-04 21:10:29,896 [noc.core.service.rpc] [sae] [SYNC CALL>] sae.get_credentials((5,), {})
- 2021-04-04 21:10:29,897 [noc.core.dcs.base] Running resolver for service sae
- 2021-04-04 21:10:29,898 [noc.core.dcs.base] [sae] Starting resolver (near=False)
- 2021-04-04 21:10:29,898 [noc.core.dcs.base] [sae] Requesting changes from index 0
- 2021-04-04 21:10:29,899 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?passing=1
- 2021-04-04 21:10:29,904 [noc.core.http.client] HTTP Response 200
- 2021-04-04 21:10:29,905 [noc.core.dcs.base] [sae] Index changed 0 -> 592569. Applying changes
- 2021-04-04 21:10:29,905 [noc.core.dcs.base] [sae] Set active services to: svc-a54b89dc-fa76-4070-bcd5-251d5fd6025f: ***.***.**.**:23623, svc-bb43c24d-b68b-4c44-9e4e-790cba143b98: ***.***.**.**:39183
- 2021-04-04 21:10:29,905 [noc.core.dcs.base] [sae] Requesting changes from index 592569
- 2021-04-04 21:10:29,906 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=592569&passing=1
- 2021-04-04 21:10:29,907 [noc.core.http.client] HTTP POST http://***.***.**.**:39183/api/sae/
- 2021-04-04 21:10:29,918 [noc.core.http.client] HTTP Response 200
- 2021-04-04 21:10:29,920 [noc.core.service.rpc] [sae] [CALL<] sae.get_credentials (23.29ms)
- 2021-04-04 21:10:29,920 [asyncio] Using selector: EpollSelector
- 2021-04-04 21:10:29,921 [noc.core.dcs.base] Running resolver for service activator-default
- 2021-04-04 21:10:29,922 [noc.core.dcs.base] [activator-default] Starting resolver (near=False)
- 2021-04-04 21:10:29,923 [noc.core.dcs.base] [activator-default] Requesting changes from index 0
- 2021-04-04 21:10:29,923 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/activator-default?passing=1
- 2021-04-04 21:10:29,928 [noc.core.http.client] HTTP Response 200
- 2021-04-04 21:10:29,928 [noc.core.dcs.base] [activator-default] Index changed 0 -> 592540. Applying changes
- 2021-04-04 21:10:29,929 [noc.core.dcs.base] [activator-default] Set active services to: svc-79010ad5-44dd-44d5-a627-309613921d8e: ***.***.**.**:20729, svc-a948af5b-f904-4134-8857-fcfe2419677c: ***.***.**.**:34273
- 2021-04-04 21:10:29,929 [noc.core.dcs.base] [activator-default] Requesting changes from index 592540
- 2021-04-04 21:10:29,929 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/activator-default?index=592540&passing=1
- 2021-04-04 21:10:29,932 [asyncio] Using selector: EpollSelector
- 2021-04-04 21:10:29,933 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.script(('Eltex.MES.get_capabilities', {'name': 'TestDev', 'address': '***.***.**.148', 'user': '**', 'password': '**', 'super_password': '**', 'path': None, 'raise_privileges': True, 'access_preference': 'SC', 'snmp_rate_limit': 0, 'snmp_ro': 'public', 'cli_protocol': 'telnet'}, {'Stack | Member Ids': '1', 'SNMP': False, 'Network | LACP': True, 'Stack | Members': 1, 'SNMP | v2c': False, 'Network | LLDP': True, 'Network | STP': True, 'SNMP | v1': False, 'DB | Interfaces': 29}, {'vendor': 'ELTEX', 'platform': 'MES-2308', 'version': '4.0.10.1', 'image': 'mes3300-4010-1R16.ros', 'attributes': {'Serial Number': '*********'}}, {'only': ['snmp', 'snmp_v1', 'snmp_v2c', 'bfd', 'cdp', 'fdp', 'huawei_ndp', 'lacp', 'lldp', 'oam', 'rep', 'stp', 'udld', 'hsrp', 'vrrp', 'vrrpv3', 'bgp', 'ospf', 'ospfv3', 'isis', 'ldp', 'rsvp']}, None, '*****-*******-*******-******', 60), {})
- 2021-04-04 21:10:29,933 [noc.core.http.client] HTTP POST http://***.***.**.**:20729/api/activator/
- 2021-04-04 21:10:30,752 [noc.core.http.client] HTTP Response 200
- 2021-04-04 21:10:30,753 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.script (820.09ms)
- 2021-04-04 21:10:30,753 [scheduler.discovery] [5] [discovery|box|TestDev|caps] Received capabilities:
- {
- "SNMP | v1": true,
- "SNMP | v2c": true,
- "SNMP | Bulk": true,
- "SNMP": true,
- "SNMP | IF-MIB": true,
- "SNMP | IF-MIB | HC": true,
- "SNMP | OID | EnterpriseID": 35265,
- "Network | STP": true,
- "Network | LLDP": true,
- "Stack | Members": 1,
- "Stack | Member Ids": "0"
- }
- 2021-04-04 21:10:30,759 [noc.sa.models.objectcapabilities] [TestDev|caps] Changing capability Stack | Member Ids: 1 -> 0
- 2021-04-04 21:10:30,762 [noc.sa.models.objectcapabilities] [TestDev|caps] Changing capability SNMP: False -> True
- 2021-04-04 21:10:30,765 [noc.sa.models.objectcapabilities] [TestDev|caps] Removing capability Network | LACP
- 2021-04-04 21:10:30,771 [noc.sa.models.objectcapabilities] [TestDev|caps] Changing capability SNMP | v2c: False -> True
- 2021-04-04 21:10:30,780 [noc.sa.models.objectcapabilities] [TestDev|caps] Changing capability SNMP | v1: False -> True
- 2021-04-04 21:10:30,786 [noc.sa.models.objectcapabilities] [TestDev|caps] Adding capability SNMP | IF-MIB | HC = True
- 2021-04-04 21:10:30,790 [noc.sa.models.objectcapabilities] [TestDev|caps] Adding capability SNMP | OID | EnterpriseID = 35265
- 2021-04-04 21:10:30,793 [noc.sa.models.objectcapabilities] [TestDev|caps] Adding capability SNMP | Bulk = True
- 2021-04-04 21:10:30,797 [noc.sa.models.objectcapabilities] [TestDev|caps] Adding capability SNMP | IF-MIB = True
- 2021-04-04 21:10:30,798 [noc.sa.models.objectcapabilities] [TestDev|caps] Saving changes
- 2021-04-04 21:10:30,822 [scheduler.discovery] [5] [discovery|box|TestDev|interface] Check is disabled. Skipping
- 2021-04-04 21:10:30,823 [scheduler.discovery] [5] [discovery|box|TestDev|id] Check is disabled. Skipping
- 2021-04-04 21:10:30,824 [scheduler.discovery] [5] [discovery|box|TestDev|configvalidation] Check is disabled. Skipping
- 2021-04-04 21:10:30,824 [scheduler.discovery] [5] [discovery|box|TestDev|vlan] Check is disabled. Skipping
- 2021-04-04 21:10:30,825 [scheduler.discovery] [5] [discovery|box|TestDev|mac] Check is disabled. Skipping
- 2021-04-04 21:10:30,826 [scheduler.discovery] [5] [discovery|box|TestDev|prefix] Check is disabled. Skipping
- 2021-04-04 21:10:30,826 [scheduler.discovery] [5] [discovery|box|TestDev|address] Check is disabled. Skipping
- 2021-04-04 21:10:30,827 [scheduler.discovery] [5] [discovery|box|TestDev|lldp] Check is disabled. Skipping
- 2021-04-04 21:10:30,828 [asyncio] Using selector: EpollSelector
- 2021-04-04 21:10:30,829 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.close_session(('*****-*******-*******-******',), {})
- 2021-04-04 21:10:30,830 [noc.core.http.client] HTTP POST http://***.***.**.**:20729/api/activator/
- 2021-04-04 21:10:30,868 [noc.core.http.client] HTTP Response 200
- 2021-04-04 21:10:30,869 [noc.core.service.rpc] [activator-default] [CALL<] activator-default.close_session (40.07ms)
- Saving job context to jobctx-discovery-default-603fb3e881bcbeaa5d4ee908
Advertisement
Add Comment
Please, Sign In to add comment