@nocproject

Страница 841 из 2357
E_zombie
21.02.2017
08:01:48
внёс ты изменение в днс.

а кто его на оборудование внесёт?

Ivan
21.02.2017
08:02:05
я, конечно

E_zombie
21.02.2017
08:02:38
напиши на стене на видном месте маркером "везде где работают люди - бардак и ошибки"

Google
E_zombie
21.02.2017
08:02:55
и к тебе прийдёт

просветление.

Ivan
21.02.2017
08:04:07
ну, у меня не меняется.

E_zombie
21.02.2017
08:04:23
ты ещё не постиг дзена.

юный подаван

Ivan
21.02.2017
08:04:43
как мне просто сделать s/\.domain\.name/nothing/?

Bitbucket
21.02.2017
08:05:18
Dmitry Luhtionov pushed to noc/feature/microservices Dmitry Luhtionov: Merged in Maksim13/nocproject/Vitesse (pull request #356) Vitesse : fix get_interfaces

Dmitry Luhtionov pushed to noc/feature/microservices Dmitry Luhtionov: Merged in Maksim13/nocproject/Vitesse (pull request #356) Vitesse : fix get_interfaces : fix get_interfaces : fix get_interfaces

pushed to noc/Vitesse : fix get_interfaces : fix get_interfaces : fix get_interfaces Andrey: Fix get_lacp_discovery script name Andrey: Fix ... See all

Misak
21.02.2017
08:05:47
здрасте

E_zombie
21.02.2017
08:05:50
m.name.split(".")[1][2] = "sdfdsf" что то такое.

хотяяя

Google
Misak
21.02.2017
08:06:35
у кого есть опыт запуска Juniper Virtual Route Reflector или Оливки или на крайняк Фряхи 10 на виртуалке по KVM?

Andrey
21.02.2017
08:06:39
а если я хочу "1.2"?
".".join("1.2.3.4".split(".")[0:2]) Out[24]: '1.2'

E_zombie
21.02.2017
08:06:42
m.name.split(".domain")[1]

Ivan
21.02.2017
08:07:08
m.name.split(".domain")[1]
это наверное, красивше

E_zombie
21.02.2017
08:07:28
ну типа скрести первое со вторым

вернее у тебя будет первое + "dfsfsdf"

nn = m.name........ + "dsfsdf"

Andrey
21.02.2017
08:08:11
это наверное, красивше
да, но я не люблю регулярки

E_zombie
21.02.2017
08:08:20
в начале у тебя будет хостнейм. а дальше приделай что тебе надо.

ВОПРОС:

correlator:correlator-00 RUNNING pid 1041, uptime 1:51:03 correlator-default:correlator-default-00 RUNNING pid 23181, uptime 0:01:10

correlator:correlator-00 это правильно ? или должен быть только correlator-default

Алексей
21.02.2017
08:15:00
тока дефалут

E_zombie
21.02.2017
08:15:21
тоесть у меня неправильные настройки конфига супервизора ?

discovery-default:discovery-default-009 RUNNING pid 8235, uptime 1:30:42 escalator RUNNING pid 973, uptime 1:51:03 mrt:mrt-000 RUNNING pid 1004, uptime 1:51:03 omap:omap-000 RUNNING pid 12690, uptime 1:02:59 ping-default:ping-default-000 RUNNING pid 983, uptime 1:51:03

Ivan
21.02.2017
08:24:34
nn = m.name........ + "dsfsdf"
псс.., как выбрать те имена через filter(), которые включают в себя строку?

E_zombie
21.02.2017
08:25:25
switches = ManagedObject.objects.filter(Q(name__startswith="fsw") & Q(administrative_domain=domain_city))

from django.db.models import Q

читай про этот модуль.

Google
K
21.02.2017
08:27:09
как снять трейс с web.log ?

или где он лежит

root@debiannode1:/opt/noc# find -name noc-web.log root@debiannode1:/opt/noc# find -name web.log root@debiannode1:/opt/noc# find / -name web.log root@debiannode1:/opt/noc# find / -name noc-web.log

E_zombie
21.02.2017
08:27:33
cd /opt/noc

tail -f ./var/log/....

K
21.02.2017
08:27:47
мне посмотреть манаджет объекты существующие

E_zombie
21.02.2017
08:28:19
from noc.sa.models.managedobject import * from noc.sa.models.managedobjectprofile import * from noc.sa.models.authprofile import * mo = ManagedObject.objects.filter() for m in mo: print m

K
21.02.2017
08:28:55
root@debiannode1:/opt/noc# from noc.sa.models.managedobject import * from: can't read /var/mail/noc.sa.models.managedobject

E_zombie
21.02.2017
08:30:24
./noc shell

сперва

K
21.02.2017
08:31:27
root@debiannode1:/opt/noc# ./noc shell Python 2.7.9 (default, Jun 29 2016, 13:08:31) Type "copyright", "credits" or "license" for more information. IPython 5.2.2 — An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: from noc.sa.models.managedobject import * In [2]: In [2]: from noc.sa.models.managedobjectprofile import * from noc.sa.models.authprofile import * In [3]: from noc.sa.models.authprofile import * In [4]: mo = ManagedObject.objects.filter() In [5]: for m in mo: ...: print m ...: SAE wiping-2 wiping-3 wiping-6 wiping-7 In [6]:

E_zombie
21.02.2017
08:31:48
блять. что это

випинговн е должно тут быть.

это у тебя после миграции БД ?

K
21.02.2017
08:32:26
никакую миграция не делал

одну железку тока начал заводить

Ivan
21.02.2017
08:33:41
Много удалял, видимо

K
21.02.2017
08:34:05
я делал випинг - но только тех каких вспомнил имен (манаджед обжект)

E_zombie
21.02.2017
08:34:12
https://kb.nocproject.org/pages/viewpage.action?pageId=25886747 чита это и не мучайся

Google
E_zombie
21.02.2017
08:39:10
запихай туда маленький кусок сети и протестируйся

K
21.02.2017
08:41:31
это nmap надо поставить -по ходу

Nikolay
21.02.2017
08:42:12
добрый день! на одном из коммутатором не проходит дискавери. Выдает такую ошибку: Unknown error during dereference: 'ascii' codec can't encode character u'\u0421' in position 27: ordinal not in range(128) . на остальных все нормально, не знаете с чем это связато? коммутаторы cisco

K
21.02.2017
08:42:42
че то line vty ?

E_zombie
21.02.2017
08:42:44
полный дебаг в студию.

./noc script —debug —pretty get_..... "MO name"

через пастебин

https://pp.vk.me/c837735/v837735228/3448d/GG0TrJbBUZo.jpg

Nikolay
21.02.2017
08:47:43
полный дебаг в студию.
./noc script —debug —pretty get_Campus-str-С-l3-sw-1 2017-02-21 11:47:17,971 [root] Loading PeriodicRegistry 2017-02-21 11:47:18,741 [noc.lib.nosql] Connecting to MongoDB {'username': 'noc' , 'authentication_source': 'noc', 'replicaSet': 'noc', 'db': 'noc', 'socketKeepA live': True, 'host': 'mongodb://noc:noc@10.117.2.33:27017/noc', 'password': '*** *****', 'slave_okay': True} 2017-02-21 11:47:18,900 [noc.core.cache.base] Using cache backend: noc.core.cach e.memcached.MemcachedCache Object is not found: —pretty

E_zombie
21.02.2017
08:47:55
— поставь

Admin
ERROR: S client not available

E_zombie
21.02.2017
08:48:05
две тире

get_version <hostname>

./noc psql ./noc ctl restart correlator ./noc script —debug ./noc script —debug —pretty get_lldp_neighbors "MO name" ./noc script —debug get_metrics MO_NAME metrics:='{"CPU | Usage": {"scope": "o"}}' ./noc discovery —debug run —check=config box BALT-AR1 ./noc script —debug login /tmp/input.json Кстати, насколько я правильно понял, то папка custom была реализована для того что бы юзать измененные скрипт для тех же профилей, которые есть в основной папке. ./noc discovery —debug run box <MOName> —check=interfacestatus ./noc discovery —debug run —check=lldp box sdc-c-s2 ./noc discovery —debug run —check=lldp box "MO name" ./noc discovery —debug run periodic MO ./noc fix list ./noc ctl serialrestart activator* ./noc crashinfo list ./noc rpc omap.get_ping_mappings ./noc run cli -c 'save' @'MO Selector | DLink Switches' # -c могут идти много раз подряд

занеси себе в вики

Nikolay
21.02.2017
08:53:39
— поставь
./noc script —debug —pretty get_version "Campus-str-С-l3-sw-1" 2017-02-21 11:51:42,236 [root] Loading PeriodicRegistry 2017-02-21 11:51:42,376 [noc.lib.nosql] Connecting to MongoDB {'username': 'noc', 'authentication_source': 'noc', 'replicaSet': 'noc', 'db': 'noc', 'socketKeepAlive': True, 'host': 'mongodb://noc:noc@10.117.2.33:27017/noc', 'password': '********', 'slave_okay': True} 2017-02-21 11:51:42,405 [noc.core.cache.base] Using cache backend: noc.core.cache.memcached.MemcachedCache 2017-02-21 11:51:42,412 [noc.core.cache.memcached] Starting memcached pool: hosts=10.117.2.33:11211, pool size=8 2017-02-21 11:51:42,456 [noc.main.models.doccategory] Registering Capability 2017-02-21 11:51:42,457 [noc.main.models.doccategory] Registering MetricType 2017-02-21 11:51:42,789 [noc.main.models.doccategory] Registering ConnectionType 2017-02-21 11:51:42,793 [noc.main.models.doccategory] Registering ObjectModel 2017-02-21 11:51:42,817 [noc.main.models.textindex] Adding FTS index for sa.managedobject 2017-02-21 11:51:42,849 [noc.main.models.textindex] Adding FTS index for ip.vrf 2017-02-21 11:51:42,856 [noc.main.models.textindex] Adding FTS index for vc.vc 2017-02-21 11:51:42,862 [noc.main.models.textindex] Adding FTS index for ip.prefix 2017-02-21 11:51:42,864 [noc.main.models.textindex] Adding FTS index for ip.address 2017-02-21 11:51:42,906 [noc.core.script.loader] Loading script Cisco.IOS.get_version 2017-02-21 11:51:42,974 [noc.core.profile.loader] Loading profile Cisco.IOS 2017-02-21 11:51:42,976 [script] [Cisco.IOS.get_version|10.117.1.161] Running. Input arguments: {}, timeout 3600 2017-02-21 11:51:42,976 [script] [Cisco.IOS.get_version|10.117.1.161] [snmp] Creating IOLoop 2017-02-21 11:51:42,983 [noc.core.ioloop.snmp] [10.117.1.161] SNMP GET ['1.3.6.1.2.1.1.1.0'] 2017-02-21 11:51:53,000 [script] [Cisco.IOS.get_version|10.117.1.161] Open ssh CLI 2017-02-21 11:51:53,112 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Setup session 2017-02-21 11:51:53,112 [script] [Cisco.IOS.get_version|10.117.1.161] Disable paging 2017-02-21 11:51:53,112 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Creating IOLoop 2017-02-21 11:51:53,116 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Connecting (u'10.117.1.161', 22) 2017-02-21 11:51:53,119 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Connected 2017-02-21 11:51:53,120 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Startup ssh session for user 'lenn' 2017-02-21 11:51:54,716 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Connected. Host fingerprint is a31b669f1a0475db 2017-02-21 11:51:54,720 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Supported authentication methods: publickey, keyboard-interactive, password 2017-02-21 11:51:54,720 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Trying publickey authentication 2017-02-21 11:51:54,720 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] public_key=var/etc/ssh/default/id_rsa.pub private_key=var/etc/ssh/default/id_rsa 2017-02-21 11:51:54,721 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Failed: Unable to open public key file (Code: -16) 2017-02-21 11:51:54,721 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Trying keyboard-interactive 2017-02-21 11:51:54,752 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Success 2017-02-21 11:51:54,752 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] User is authenticated 2017-02-21 11:51:54,753 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Open channel 2017-02-21 11:51:54,799 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] State: <START> 2017-02-21 11:51:54,799 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Setting timeout: 60s 2017-02-21 11:51:54,807 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: '\r\nCampus-str-C-l3-sw1#' 2017-02-21 11:51:54,808 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Match: ^(?P<hostname>[a-zA-Z0-9/.]\S{0,35})(?:[-_\d\w]+)?(?:\(config[^\)]*\))?# 2017-02-21 11:51:54,808 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] State: <PROMT>

— поставь
2017-02-21 11:51:54,809 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Refining pattern prompt to '^Campus\\-str\\-C\\-l3\\-sw1(?:[-_\\d\\w]+)?(?:\\(config[^\\)]*\\))?#' 2017-02-21 11:51:54,810 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Resetting timeouts 2017-02-21 11:51:54,811 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Send: 'terminal length 0\n' 2017-02-21 11:51:54,816 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 't' 2017-02-21 11:51:54,818 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'e' 2017-02-21 11:51:54,818 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'r' 2017-02-21 11:51:54,819 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'm' 2017-02-21 11:51:54,820 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'i' 2017-02-21 11:51:54,820 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'n' 2017-02-21 11:51:54,821 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'a' 2017-02-21 11:51:54,823 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'l' 2017-02-21 11:51:54,834 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: ' ' 2017-02-21 11:51:54,834 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'l' 2017-02-21 11:51:54,836 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'e' 2017-02-21 11:51:54,837 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'n' 2017-02-21 11:51:54,838 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'g' 2017-02-21 11:51:54,840 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 't' 2017-02-21 11:51:54,841 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'h' 2017-02-21 11:51:54,842 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: ' ' 2017-02-21 11:51:54,843 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: '0' 2017-02-21 11:51:54,844 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: '\r\n' 2017-02-21 11:51:54,847 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'Campus-str-C-l3-sw1#' 2017-02-21 11:51:54,847 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Match: ^Campus\-str\-C\-l3\-sw1(?:[-_\d\w]+)?(?:\(config[^\)]*\))?# 2017-02-21 11:51:54,848 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] State: <PROMT> 2017-02-21 11:51:54,848 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Command: terminal length 0 terminal length 0

— поставь
2017-02-21 11:51:54,849 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Send: 'show version\n' 2017-02-21 11:51:54,887 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 's' 2017-02-21 11:51:54,889 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'h' 2017-02-21 11:51:54,890 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'o' 2017-02-21 11:51:54,890 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'w' 2017-02-21 11:51:54,892 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: ' ' 2017-02-21 11:51:54,893 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'v' 2017-02-21 11:51:54,894 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'e' 2017-02-21 11:51:54,895 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'r' 2017-02-21 11:51:54,896 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 's' 2017-02-21 11:51:54,898 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'io' 2017-02-21 11:51:54,906 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'n' 2017-02-21 11:51:54,908 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: '\r\n' 2017-02-21 11:51:54,932 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Received: 'Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 15.0(2)SE4, RELEASE SOFTWARE (fc1)\r\nTechnical Support: http://www.cisco.com/techsupport\r\nCopyright (c) 1986-2013 by Cisco Systems, Inc.\r\nCompiled Wed 26-Jun-13 02:28 by prod_rel_team\r\n\r\nROM: Bootstrap program is C3560 boot loader\r\nBOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)\r\n\r\nCampus-str-C-l3-sw1 uptime is 8 weeks, 2 days, 32 minutes\r\nSystem returned to ROM by power-on\r\nSystem image file is "flash:/c3560-ipservicesk9-mz.150-2.SE4/c3560-ipservicesk9-mz.150-2.SE4.bin"\r\n\r\n\r\nThis product contains cryptographic features and is subject to United\r\nStates and local country laws governing import, export, transfer and\r\nuse. Delivery of Cisco cryptographic products does not imply\r\nthird-party authority to import, export, distribute or use encryption.\r\nImporters, exporters, distributors and users are responsible for\r\ncompliance with U.S. and local country laws. By using this product you\r\nagree to comply with applicable laws and regulations. If you are unable\r\nto comply with U.S. and local laws, return this product immediately.\r\n\r\nA summary of U.S. laws governing Cisco cryptographic products may be found at:\r\nhttp://www.cisco.com/wwl/export/crypto/tool/stqrg.html\r\n\r\nIf you require further assistance please contact us by sending email to\r\nexport@cisco.com.\r\n\r\ncisco WS-C3560G-48TS (PowerPC405) processor (revision D0) with 131072K bytes of memory.\r\nProcessor board ID FOC1229Y4W7\r\nLast reset from power-on\r\n2 Virtual Ethernet interfaces\r\n52 Gigabit Ethernet interfaces\r\nThe password-recovery mechanism is enabled.\r\n\r\n512K bytes of flash-simulated non-volatile configuration memory.\r\nBase ethernet MAC Address : 00:22:56:51:3D:80\r\nMotherboard assembly number : 73-10214-04\r\nPower supply part number : 341-0107-01\r\nMotherboard serial number : FOC122853RT\r\nPower supply serial number : AZS122806H4\r\nModel revision number : D0\r\nMotherboard revision number : B0\r\nModel number : WS-C3560G-48TS-S\r\nSystem serial number : FOC1229Y4W7\r\nTop Assembly Part Number : 800-26849-01\r\nTop Assembly Revision Number : B0\r\nVersion ID : V03\r\nCLEI Code Number : CNMWY00ARC\r\nHardware Board Revision Number : 0x09\r\n\r\n\r\nSwitch Ports Model SW Version SW Image \r\n------ —--- —--- —------— —------— \r\n* 1 52 WS-C3560G-48TS 15.0(2)SE4 C3560-IPSERVICESK9-M \r\n\r\n\r\nConfiguration register is 0xF\r\n\r\nCampus-str-C-l3-sw1#'

— поставь
2017-02-21 11:51:54,933 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Match: ^Campus\-str\-C\-l3\-sw1(?:[-_\d\w]+)?(?:\(config[^\)]*\))?# 2017-02-21 11:51:54,934 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] State: <PROMT> 2017-02-21 11:51:54,934 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Command: show version show version Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 15.0(2)SE4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2013 by Cisco Systems, Inc. Compiled Wed 26-Jun-13 02:28 by prod_rel_team ROM: Bootstrap program is C3560 boot loader BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1) Campus-str-C-l3-sw1 uptime is 8 weeks, 2 days, 32 minutes System returned to ROM by power-on System image file is "flash:/c3560-ipservicesk9-mz.150-2.SE4/c3560-ipservicesk9-mz.150-2.SE4.bin" This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. cisco WS-C3560G-48TS (PowerPC405) processor (revision D0) with 131072K bytes of memory. Processor board ID FOC1229Y4W7 Last reset from power-on 2 Virtual Ethernet interfaces 52 Gigabit Ethernet interfaces The password-recovery mechanism is enabled. 512K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address : 00:22:56:51:3D:80 Motherboard assembly number : 73-10214-04 Power supply part number : 341-0107-01 Motherboard serial number : FOC122853RT Power supply serial number : AZS122806H4 Model revision number : D0 Motherboard revision number : B0 Model number : WS-C3560G-48TS-S System serial number : FOC1229Y4W7 Top Assembly Part Number : 800-26849-01 Top Assembly Revision Number : B0 Version ID : V03 CLEI Code Number : CNMWY00ARC Hardware Board Revision Number : 0x09 Switch Ports Model SW Version SW Image —---- —--- —--- —------— —------— * 1 52 WS-C3560G-48TS 15.0(2)SE4 C3560-IPSERVICESK9-M Configuration register is 0xF 2017-02-21 11:51:54,940 [script] [Cisco.IOS.get_version|10.117.1.161] [snmp] Closing IOLoop 2017-02-21 11:51:54,941 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Closing channel 2017-02-21 11:51:55,072 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Cannot close channel clearly: Unable to close the channel. 2017-02-21 11:51:55,073 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Closing ssh session 2017-02-21 11:51:55,074 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Closing IOLoop 2017-02-21 11:51:55,074 [script] [Cisco.IOS.get_version|10.117.1.161] Result: {'platform': 'C3560', 'version': '15.0(2)SE4', 'vendor': 'Cisco', 'attributes': {'image': 'C3560-IPSERVICESK9-M'}} 2017-02-21 11:51:55,075 [script] [Cisco.IOS.get_version|10.117.1.161] Complete (12099.10ms) {'attributes': {'image': 'C3560-IPSERVICESK9-M'}, 'platform': 'C3560', 'vendor': 'Cisco', 'version': '15.0(2)SE4'}

E_zombie
21.02.2017
08:54:08
рррпл.я. на пастебин

Google
E_zombie
21.02.2017
08:54:33
и найди какой скрипт у тедя крашится.

Nikolay
21.02.2017
08:56:42
рррпл.я. на пастебин
http://pastebin.com/S2Tfkx1i

E_zombie
21.02.2017
08:57:12
это т нормально отработал.

какой крашится ?

Bitbucket
21.02.2017
08:57:19
uncol pushed to noc/feature/microservices #inv.networksegment switch to tree

E_zombie
21.02.2017
08:57:40
вот жеж опять сломают родителей походу.

Алексей
21.02.2017
08:58:16
2017-02-21 11:51:54,933 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Match: ^Campus\-str\-C\-l3\-sw1(?:[-_\d\w]+)?(?:\(config[^\)]*\))?# 2017-02-21 11:51:54,934 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] State: <PROMT> 2017-02-21 11:51:54,934 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Command: show version show version Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 15.0(2)SE4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2013 by Cisco Systems, Inc. Compiled Wed 26-Jun-13 02:28 by prod_rel_team ROM: Bootstrap program is C3560 boot loader BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1) Campus-str-C-l3-sw1 uptime is 8 weeks, 2 days, 32 minutes System returned to ROM by power-on System image file is "flash:/c3560-ipservicesk9-mz.150-2.SE4/c3560-ipservicesk9-mz.150-2.SE4.bin" This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. cisco WS-C3560G-48TS (PowerPC405) processor (revision D0) with 131072K bytes of memory. Processor board ID FOC1229Y4W7 Last reset from power-on 2 Virtual Ethernet interfaces 52 Gigabit Ethernet interfaces The password-recovery mechanism is enabled. 512K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address : 00:22:56:51:3D:80 Motherboard assembly number : 73-10214-04 Power supply part number : 341-0107-01 Motherboard serial number : FOC122853RT Power supply serial number : AZS122806H4 Model revision number : D0 Motherboard revision number : B0 Model number : WS-C3560G-48TS-S System serial number : FOC1229Y4W7 Top Assembly Part Number : 800-26849-01 Top Assembly Revision Number : B0 Version ID : V03 CLEI Code Number : CNMWY00ARC Hardware Board Revision Number : 0x09 Switch Ports Model SW Version SW Image —---- —--- —--- —------— —------— * 1 52 WS-C3560G-48TS 15.0(2)SE4 C3560-IPSERVICESK9-M Configuration register is 0xF 2017-02-21 11:51:54,940 [script] [Cisco.IOS.get_version|10.117.1.161] [snmp] Closing IOLoop 2017-02-21 11:51:54,941 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Closing channel 2017-02-21 11:51:55,072 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Cannot close channel clearly: Unable to close the channel. 2017-02-21 11:51:55,073 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Closing ssh session 2017-02-21 11:51:55,074 [script] [Cisco.IOS.get_version|10.117.1.161] [ssh] Closing IOLoop 2017-02-21 11:51:55,074 [script] [Cisco.IOS.get_version|10.117.1.161] Result: {'platform': 'C3560', 'version': '15.0(2)SE4', 'vendor': 'Cisco', 'attributes': {'image': 'C3560-IPSERVICESK9-M'}} 2017-02-21 11:51:55,075 [script] [Cisco.IOS.get_version|10.117.1.161] Complete (12099.10ms) {'attributes': {'image': 'C3560-IPSERVICESK9-M'}, 'platform': 'C3560', 'vendor': 'Cisco', 'version': '15.0(2)SE4'}
файлом. или на пасту.

Nikolay
21.02.2017
09:00:57
какой крашится ?
вручную если запускать то все работает, а автоматически он даже конфиг не грузит(только на этом объекте)

E_zombie
21.02.2017
09:01:32
./noc discovery —debug run box sdc-c-s2

вот так прогони

http://www.opennet.ru/opennews/art.shtml?num=46075

Алексей
21.02.2017
09:05:45
перманентная альфа же

E_zombie
21.02.2017
09:08:48
не надо клеветать на лучший дистр после генту

Алексей
21.02.2017
09:09:25
ахаха тоесть мяу

E_zombie
21.02.2017
09:09:55
я на нём живу уже давно и не видел особох грабель

Serg
21.02.2017
09:10:16
@E_zombie тоже любит красноглазить с генту :)

E_zombie
21.02.2017
09:10:26
нееенененене .

не ставил никогда

Serg
21.02.2017
09:11:54
если правльно готовить то самое-то, только пока научишься готовить, станешь ярым виндузятником :)

E_zombie
21.02.2017
09:12:36
данунахуй.

не хачу на винду

Serg
21.02.2017
09:14:10
везунчик... а мне без венды на работе никак

K
21.02.2017
09:14:12
короче я не разобрался с автоматизацийей добавления устройств., мне назад вернуться чтоб , т.е. сброситься. если я запущу обратно деплой с башни- и выберу только инсталл???

Страница 841 из 2357