Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ssh://root@***.**.**.***:22/opt/noc/bin/python -u /opt/noc/commands/script.py --debug Eltex.MES.get_uptime Begovaya229_4_Teh
- 2021-03-12 15:57:27,194 [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-12 18:57:27,360 [noc.core.ioloop.util] Setting up asyncio event loop policy
- 2021-03-12 18:57:27,360 [noc.core.ioloop.util] Setting up default event loop
- 2021-03-12 18:57:27,361 [asyncio] Using selector: EpollSelector
- 2021-03-12 18:57:27,362 [root] Starting DCS runner thread
- 2021-03-12 18:57:27,362 [asyncio] Using selector: EpollSelector
- 2021-03-12 18:57:27,363 [root] DCS runner thread is ready
- 2021-03-12 18:57:27,363 [root] Starting DCS consul://consul:8500/noc
- 2021-03-12 18:57:27,426 [noc.core.dcs.base] Resolve near service postgres
- 2021-03-12 18:57:27,427 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/postgres?passing=1&near=_agent
- 2021-03-12 18:57:27,431 [noc.core.http.client] HTTP Response 200
- 2021-03-12 18:57:27,432 [noc.core.dcs.base] Resolved near service postgres to ['***.**.**.***:****']
- 2021-03-12 18:57:27,650 [noc.main.models.textindex] Adding FTS index for ip.vrf
- 2021-03-12 18:57:27,677 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
- 2021-03-12 18:57:27,722 [noc.main.models.doccategory] Registering Capability
- 2021-03-12 18:57:27,724 [noc.main.models.doccategory] Registering MetricType
- 2021-03-12 18:57:27,757 [noc.main.models.doccategory] Registering ConnectionType
- 2021-03-12 18:57:27,766 [noc.main.models.doccategory] Registering ObjectModel
- 2021-03-12 18:57:27,796 [noc.main.models.textindex] Adding FTS index for sa.managedobject
- 2021-03-12 18:57:27,808 [asyncio] Using selector: EpollSelector
- 2021-03-12 18:57:27,809 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
- 2021-03-12 18:57:27,810 [noc.core.dcs.base] [mongo] Requesting changes from index 0
- 2021-03-12 18:57:27,810 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
- 2021-03-12 18:57:27,813 [noc.core.http.client] HTTP Response 200
- 2021-03-12 18:57:27,814 [noc.core.dcs.base] [mongo] Index changed 0 -> 265998. Applying changes
- 2021-03-12 18:57:27,814 [noc.core.dcs.base] [mongo] Set active services to: mongo: ***.**.**.***:****
- 2021-03-12 18:57:27,815 [noc.core.dcs.base] [mongo] Stopping resolver
- 2021-03-12 18:57:27,816 [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-03-12 18:57:27,897 [noc.core.loader.base] [script] Loading script Eltex.MES.get_uptime
- 2021-03-12 18:57:27,912 [noc.core.loader.base] [profile] Loading profile Eltex.MES
- 2021-03-12 18:57:27,920 [script] [Eltex.MES.get_uptime|***.**.**.***] Filling get_version cache with {'vendor': 'Eltex', 'platform': 'MES-2308', 'version': '4.0.10.1', 'image': 'mes3300-4010-1R16.ros'}
- 2021-03-12 18:57:27,920 [script] [Eltex.MES.get_uptime|***.**.**.***] is_has_image = True
- 2021-03-12 18:57:27,921 [script] [Eltex.MES.get_uptime|***.**.**.***] is_has_chgroup = True
- 2021-03-12 18:57:27,921 [script] [Eltex.MES.get_uptime|***.**.**.***] is_3124 = False
- 2021-03-12 18:57:27,921 [script] [Eltex.MES.get_uptime|***.**.**.***] Running. Input arguments: {}, timeout 3600
- 2021-03-12 18:57:27,922 [script] [Eltex.MES.get_uptime|***.**.**.***] Result: None
- 2021-03-12 18:57:27,922 [script] [Eltex.MES.get_uptime|***.**.**.***] Complete (0.71ms)
- None
- Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment