Advertisement
Izya12

debug

Mar 29th, 2018
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.43 KB | None | 0 0
  1. root@Node1:/opt/noc# ./noc discovery --debug run box "CPS-TMP"
  2. 2018-03-29 04:57:27,506 [noc.core.dcs.base] Resolve near service postgres
  3. 2018-03-29 04:57:27,509 [noc.core.dcs.base] Resolved near service postgres to ['10.220.21.122:5432']
  4. 2018-03-29 02:57:28,426 [noc.core.dcs.base] Running resolver for service mongo
  5. 2018-03-29 02:57:28,427 [noc.core.dcs.base] [mongo] Starting resolver
  6. 2018-03-29 02:57:28,428 [noc.core.dcs.base] [mongo] Set active services to: mongo: 10.220.21.122:27017
  7. 2018-03-29 02:57:28,430 [noc.lib.nosql] Connecting to MongoDB {'username': 'noc', 'authentication_source': 'noc', 'readPreference': 'secondaryPreferred', 'replicaSet': 'noc', 'db': 'noc', 'socketKeepAlive': True, 'host': 'mongodb://noc:********@10.220.21.122:27017/noc', 'password': '********'}
  8. 2018-03-29 02:57:28,467 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
  9. 2018-03-29 02:57:28,564 [noc.main.models.doccategory] Registering Capability
  10. 2018-03-29 02:57:28,565 [noc.main.models.doccategory] Registering MetricType
  11. 2018-03-29 02:57:28,615 [noc.main.models.doccategory] Registering ConnectionType
  12. 2018-03-29 02:57:28,618 [noc.main.models.doccategory] Registering ObjectModel
  13. 2018-03-29 02:57:28,628 [noc.main.models.textindex] Adding FTS index for sa.managedobject
  14. 2018-03-29 02:57:28,645 [noc.main.models.textindex] Adding FTS index for ip.vrf
  15. 2018-03-29 02:57:28,648 [noc.main.models.textindex] Adding FTS index for vc.vc
  16. 2018-03-29 02:57:28,651 [noc.main.models.textindex] Adding FTS index for ip.prefix
  17. 2018-03-29 02:57:28,656 [noc.main.models.textindex] Adding FTS index for ip.address
  18. 2018-03-29 02:57:28,699 [scheduler.discovery] Open collection noc.schedules.discovery.default
  19. Job ID: 5aaa24ca93033a56789f533b
  20. 2018-03-29 02:57:28,712 [noc.core.mib] Loading compiled MIBs
  21. 2018-03-29 02:57:28,712 [noc.core.mib] Loading compiled MIBs from 'cmibs'
  22. 2018-03-29 02:57:28,713 [noc.core.mib] Loading MIB: ENTITY-STATE-MIB
  23. 2018-03-29 02:57:28,713 [noc.core.mib] Loading MIB: SNMPv2-MIB
  24. 2018-03-29 02:57:28,713 [noc.core.mib] Loading MIB: CISCO-PPPOE-MIB
  25. 2018-03-29 02:57:28,714 [noc.core.mib] Loading MIB: RMON2-MIB
  26. 2018-03-29 02:57:28,714 [noc.core.mib] Loading MIB: IF-MIB
  27. 2018-03-29 02:57:28,714 [noc.core.mib] Loading MIB: RFC1213-MIB
  28. 2018-03-29 02:57:28,714 [noc.core.mib] Loading MIB: BRIDGE-MIB
  29. 2018-03-29 02:57:28,714 [noc.core.mib] Loading MIB: EtherLike-MIB
  30. 2018-03-29 02:57:28,715 [noc.core.mib] Loading MIB: ENTITY-MIB
  31. 2018-03-29 02:57:28,715 [noc.core.mib] Loading MIB: IP-MIB
  32. 2018-03-29 02:57:28,715 [noc.core.mib] Loading MIB: ENTITY-SENSOR-MIB
  33. 2018-03-29 02:57:28,715 [noc.core.mib] Loading MIB: CISCO-VPDN-MGMT-MIB
  34. 2018-03-29 02:57:28,716 [noc.core.mib] Loading MIB: LLDP-MIB
  35. 2018-03-29 02:57:28,717 [noc.main.models.doccategory] Registering ProfileCheckRule
  36. Loading job context from jobctx-discovery-default-5aaa24ca93033a56789f533b
  37. 2018-03-29 02:57:28,757 [scheduler.discovery] [37] [discovery|box|CPS-TMP|profile] Checking profile accordance
  38. 2018-03-29 02:57:28,757 [scheduler.discovery] [37] [discovery|box|CPS-TMP|profile] Compiling "Profile Check rules"
  39. 2018-03-29 02:57:28,933 [scheduler.discovery] [37] [discovery|box|CPS-TMP|profile] do_check(snmp_v2c_get, 1.3.6.1.2.1.1.1.0)
  40. 2018-03-29 02:57:28,944 [scheduler.discovery] [37] [discovery|box|CPS-TMP|profile] Use snmp_v2c_get for request
  41. 2018-03-29 02:57:28,945 [stub] Activating stub service
  42. 2018-03-29 02:57:28,945 [stub] Starting IOLoop
  43. 2018-03-29 02:57:28,945 [noc.core.service.rpc] [activator-default] [SYNC CALL>] activator-default.snmp_v2c_get((u'10.20.52.1', u'kondaro', u'1.3.6.1.2.1.1.1.0'), {})
  44. 2018-03-29 02:57:28,945 [noc.core.dcs.base] Running resolver for service activator-default
  45. 2018-03-29 02:57:28,946 [noc.core.dcs.base] [activator-default] Starting resolver
  46. 2018-03-29 02:57:28,946 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/activator-default?passing=1
  47. 2018-03-29 02:57:28,947 [noc.core.http.client] HTTP Response 200
  48. 2018-03-29 02:57:28,948 [noc.core.dcs.base] [activator-default] No active services
  49. 2018-03-29 02:57:28,949 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/activator-default?index=713254&passing=1
  50. 2018-03-29 03:02:29,047 [scheduler.discovery] [37] [discovery|box|CPS-TMP|profile] Set path: None
  51. 2018-03-29 03:02:29,288 [scheduler.discovery] [37] [discovery|box|CPS-TMP|profile] UNHANDLED EXCEPTION (2018-03-29 03:02:29.063773)
  52. PROCESS: ./commands/discovery.py
  53. VERSION: 15.05.1+microservices.9255.694ddd84
  54. BRANCH: microservices CHANGESET: 694ddd84
  55. ERROR FINGERPRINT: 0502f500-51c5-58b5-bd65-f54ff7fda8f1
  56. WORKING DIRECTORY: /opt/noc
  57. EXCEPTION: <class 'noc.core.dcs.error.ResolutionError'>
  58. START OF TRACEBACK
  59. ------------------------------------------------------------------------
  60. File: core/dcs/base.py (Line: 272)
  61. Function: resolve
  62. 265 t = self.dcs.DEFAULT_SERVICE_RESOLUTION_TIMEOUT
  63. 266 try:
  64. 267 yield self.ready_event.wait(timeout=t)
  65. 268 except tornado.gen.TimeoutError:
  66. 269 metrics["errors", ("type", "dcs_resolver_timeout")] += 1
  67. 270 if self.critical:
  68. 271 self.dcs.set_faulty_status("Failed to resolve %s: Timeout" % self.name)
  69. 272 ==> raise ResolutionError()
  70. 273 if not wait and not self.ready_event.is_set():
  71. 274 if self.critical:
  72. 275 self.dcs.set_faulty_status("Failed to resolve %s: No active services" % self.name)
  73. 276 raise ResolutionError()
  74. 277 with self.lock:
  75. 278 if hint and hint in self.service_addresses:
  76. Variables:
  77. full_result = False
  78. hint = None
  79. self = <noc.core.dcs.consuldcs.ConsulResolver object at 0x7fcce0fb2c90>
  80. t = datetime.timedelta(0, 300)
  81. timeout = None
  82. wait = True
  83. ------------------------------------------------------------------------
  84. File: local/lib/python2.7/site-packages/tornado/gen.py (Line: 1063)
  85. Function: run
  86. 1056 except Exception:
  87. 1057 self.had_exception = True
  88. 1058 exc_info = sys.exc_info()
  89. 1059 future = None
  90. 1060
  91. 1061 if exc_info is not None:
  92. 1062 try:
  93. 1063 ==> yielded = self.gen.throw(*exc_info)
  94. 1064 finally:
  95. 1065 # Break up a reference to itself
  96. 1066 # for faster GC on CPython.
  97. 1067 exc_info = None
  98. 1068 else:
  99. 1069 yielded = self.gen.send(value)
  100. Variables:
  101. exc_info = None
  102. self = <tornado.gen.Runner object at 0x7fcce0fb2e10>
  103. future = None
  104. orig_stack_contexts = ((), None)
  105. ------------------------------------------------------------------------
  106. File: local/lib/python2.7/site-packages/tornado/concurrent.py (Line: 238)
  107. Function: result
  108. 231 before the `Future` is done, so the ``timeout`` is never used.
  109. 232 """
  110. 233 self._clear_tb_log()
  111. 234 if self._result is not None:
  112. 235 return self._result
  113. 236 if self._exc_info is not None:
  114. 237 try:
  115. 238 ==> raise_exc_info(self._exc_info)
  116. 239 finally:
  117. 240 self = None
  118. 241 self._check_done()
  119. 242 return self._result
  120. 243
  121. 244 def exception(self, timeout=None):
  122. Variables:
  123. self = None
  124. timeout = None
  125. ------------------------------------------------------------------------
  126. File: local/lib/python2.7/site-packages/tornado/gen.py (Line: 1055)
  127. Function: run
  128. 1048 return
  129. 1049 self.future = None
  130. 1050 try:
  131. 1051 orig_stack_contexts = stack_context._state.contexts
  132. 1052 exc_info = None
  133. 1053
  134. 1054 try:
  135. 1055 ==> value = future.result()
  136. 1056 except Exception:
  137. 1057 self.had_exception = True
  138. 1058 exc_info = sys.exc_info()
  139. 1059 future = None
  140. 1060
  141. 1061 if exc_info is not None:
  142. Variables:
  143. exc_info = None
  144. self = <tornado.gen.Runner object at 0x7fcce0fb2d50>
  145. future = None
  146. orig_stack_contexts = ((), None)
  147. ------------------------------------------------------------------------
  148. File: core/dcs/base.py (Line: 124)
  149. Function: resolve
  150. 117
  151. 118 @tornado.gen.coroutine
  152. 119 def resolve(self, name, hint=None, wait=True, timeout=None,
  153. 120 full_result=False, critical=False):
  154. 121 resolver = yield self.get_resolver(name, critical)
  155. 122 r = yield resolver.resolve(
  156. 123 hint=hint, wait=wait, timeout=timeout,
  157. 124 ==> full_result=full_result
  158. 125 )
  159. 126 raise tornado.gen.Return(r)
  160. 127
  161. 128 @tornado.gen.coroutine
  162. 129 def expire_resolvers(self):
  163. 130 with self.resolvers_lock:
  164. Variables:
  165. full_result = False
  166. hint = None
  167. self = <noc.core.dcs.consuldcs.ConsulDCS object at 0x7fcce0fb2490>
  168. resolver = <noc.core.dcs.consuldcs.ConsulResolver object at 0x7fcce0fb2c90>
  169. name = u'activator-default'
  170. critical = False
  171. timeout = None
  172. wait = True
  173. ------------------------------------------------------------------------
  174. File: local/lib/python2.7/site-packages/tornado/gen.py (Line: 1063)
  175. Function: run
  176. 1056 except Exception:
  177. 1057 self.had_exception = True
  178. 1058 exc_info = sys.exc_info()
  179. 1059 future = None
  180. 1060
  181. 1061 if exc_info is not None:
  182. 1062 try:
  183. 1063 ==> yielded = self.gen.throw(*exc_info)
  184. 1064 finally:
  185. 1065 # Break up a reference to itself
  186. 1066 # for faster GC on CPython.
  187. 1067 exc_info = None
  188. 1068 else:
  189. 1069 yielded = self.gen.send(value)
  190. Variables:
  191. exc_info = None
  192. self = <tornado.gen.Runner object at 0x7fcce0fb2d50>
  193. future = None
  194. orig_stack_contexts = ((), None)
  195. ------------------------------------------------------------------------
  196. File: local/lib/python2.7/site-packages/tornado/concurrent.py (Line: 238)
  197. Function: result
  198. 231 before the `Future` is done, so the ``timeout`` is never used.
  199. 232 """
  200. 233 self._clear_tb_log()
  201. 234 if self._result is not None:
  202. 235 return self._result
  203. 236 if self._exc_info is not None:
  204. 237 try:
  205. 238 ==> raise_exc_info(self._exc_info)
  206. 239 finally:
  207. 240 self = None
  208. 241 self._check_done()
  209. 242 return self._result
  210. 243
  211. 244 def exception(self, timeout=None):
  212. Variables:
  213. self = None
  214. timeout = None
  215. ------------------------------------------------------------------------
  216. File: local/lib/python2.7/site-packages/tornado/gen.py (Line: 1055)
  217. Function: run
  218. 1048 return
  219. 1049 self.future = None
  220. 1050 try:
  221. 1051 orig_stack_contexts = stack_context._state.contexts
  222. 1052 exc_info = None
  223. 1053
  224. 1054 try:
  225. 1055 ==> value = future.result()
  226. 1056 except Exception:
  227. 1057 self.had_exception = True
  228. 1058 exc_info = sys.exc_info()
  229. 1059 future = None
  230. 1060
  231. 1061 if exc_info is not None:
  232. Variables:
  233. exc_info = None
  234. self = <tornado.gen.Runner object at 0x7fcce0fb2c10>
  235. future = None
  236. orig_stack_contexts = ((), None)
  237. ------------------------------------------------------------------------
  238. File: core/service/rpc.py (Line: 125)
  239. Function: _call
  240. 118 # Get services
  241. 119 response = None
  242. 120 for t in self._service.iter_rpc_retry_timeout():
  243. 121 # Resolve service against service catalog
  244. 122 if self._hints:
  245. 123 svc = random.choice(self._hints)
  246. 124 else:
  247. 125 ==> svc = yield self._service.dcs.resolve(self._service_name)
  248. 126 response = yield make_call(
  249. 127 "http://%s/api/%s/" % (svc, self._api),
  250. 128 body
  251. 129 )
  252. 130 if response:
  253. 131 break
  254. Variables:
  255. body =
  256. '{"params":["10.20.52.1","kondaro","1.3.6.1.2.1.1.1.0"],"method":"snmp_v2c_get","id":0}'
  257. span_ctx = None
  258. self = <noc.core.service.rpc.RPCProxy object at 0x7fcce0fb2990>
  259. args = (u'10.20.52.1', u'kondaro', u'1.3.6.1.2.1.1.1.0')
  260. t0 = 1522281448.945723
  261. response = None
  262. tid = 0
  263. t = 0.1
  264. kwargs = {}
  265. msg =
  266. {'id': 0,
  267. 'method': 'snmp_v2c_get',
  268. 'params': [u'10.20.52.1', u'kondaro', u'1.3.6.1.2.1.1.1.0']}
  269. method = 'snmp_v2c_get'
  270. make_call = <function make_call at 0x7fcce0fba578>
  271. is_notify = False
  272. span_id = None
  273. ------------------------------------------------------------------------
  274. File: local/lib/python2.7/site-packages/tornado/gen.py (Line: 1063)
  275. Function: run
  276. 1056 except Exception:
  277. 1057 self.had_exception = True
  278. 1058 exc_info = sys.exc_info()
  279. 1059 future = None
  280. 1060
  281. 1061 if exc_info is not None:
  282. 1062 try:
  283. 1063 ==> yielded = self.gen.throw(*exc_info)
  284. 1064 finally:
  285. 1065 # Break up a reference to itself
  286. 1066 # for faster GC on CPython.
  287. 1067 exc_info = None
  288. 1068 else:
  289. 1069 yielded = self.gen.send(value)
  290. Variables:
  291. exc_info = None
  292. self = <tornado.gen.Runner object at 0x7fcce0fb2c10>
  293. future = None
  294. orig_stack_contexts = ((), None)
  295. ------------------------------------------------------------------------
  296. File: local/lib/python2.7/site-packages/tornado/concurrent.py (Line: 238)
  297. Function: result
  298. 231 before the `Future` is done, so the ``timeout`` is never used.
  299. 232 """
  300. 233 self._clear_tb_log()
  301. 234 if self._result is not None:
  302. 235 return self._result
  303. 236 if self._exc_info is not None:
  304. 237 try:
  305. 238 ==> raise_exc_info(self._exc_info)
  306. 239 finally:
  307. 240 self = None
  308. 241 self._check_done()
  309. 242 return self._result
  310. 243
  311. 244 def exception(self, timeout=None):
  312. Variables:
  313. self = None
  314. timeout = None
  315. ------------------------------------------------------------------------
  316. File: local/lib/python2.7/site-packages/tornado/gen.py (Line: 1055)
  317. Function: run
  318. 1048 return
  319. 1049 self.future = None
  320. 1050 try:
  321. 1051 orig_stack_contexts = stack_context._state.contexts
  322. 1052 exc_info = None
  323. 1053
  324. 1054 try:
  325. 1055 ==> value = future.result()
  326. 1056 except Exception:
  327. 1057 self.had_exception = True
  328. 1058 exc_info = sys.exc_info()
  329. 1059 future = None
  330. 1060
  331. 1061 if exc_info is not None:
  332. Variables:
  333. exc_info = None
  334. self = <tornado.gen.Runner object at 0x7fcce0fb2e50>
  335. future = None
  336. e = StopIteration()
  337. orig_stack_contexts = ((), None)
  338. ------------------------------------------------------------------------
  339. File: core/service/rpc.py (Line: 173)
  340. Function: _sync_call
  341. 166 result = yield _call(item, *args, **kwargs)
  342. 167 raise tornado.gen.Return(result)
  343. 168
  344. 169 def sync_wrapper(*args, **kwargs):
  345. 170 @tornado.gen.coroutine
  346. 171 def _sync_call():
  347. 172 try:
  348. 173 ==> r = yield _call(item, *args, **kwargs)
  349. 174 result.append(r)
  350. 175 except tornado.gen.Return as e:
  351. 176 result.append(e.value)
  352. 177 except Exception:
  353. 178 error.append(sys.exc_info())
  354. 179 finally:
  355. Variables:
  356. kwargs = {}
  357. args = (u'10.20.52.1', u'kondaro', u'1.3.6.1.2.1.1.1.0')
  358. item = 'snmp_v2c_get'
  359. result = []
  360. error =
  361. [(<class 'noc.core.dcs.error.ResolutionError'>,
  362. ResolutionError(),
  363. <traceback object at 0x7fcce0f6be18>)]
  364. ev = <threading._Event object at 0x7fcce0fb2a50>
  365. _call = <function _call at 0x7fcce0fba2a8>
  366. ------------------------------------------------------------------------
  367. File: core/service/rpc.py (Line: 188)
  368. Function: sync_wrapper
  369. 181
  370. 182 ev = threading.Event()
  371. 183 result = []
  372. 184 error = []
  373. 185 self._service.ioloop.add_callback(_sync_call)
  374. 186 ev.wait()
  375. 187 if error:
  376. 188 ==> six.reraise(*error[0])
  377. 189 else:
  378. 190 return result[0]
  379. 191
  380. 192 if item.startswith("_"):
  381. 193 return self.__dict__[item]
  382. 194 span_ctx, span_id = get_current_span()
  383. Variables:
  384. args = (u'10.20.52.1', u'kondaro', u'1.3.6.1.2.1.1.1.0')
  385. _sync_call = <function _sync_call at 0x7fcce0fba320>
  386. self = <noc.core.service.rpc.RPCProxy object at 0x7fcce0fb2990>
  387. kwargs = {}
  388. item = 'snmp_v2c_get'
  389. result = []
  390. error =
  391. [(<class 'noc.core.dcs.error.ResolutionError'>,
  392. ResolutionError(),
  393. <traceback object at 0x7fcce0f6be18>)]
  394. ev = <threading._Event object at 0x7fcce0fb2a50>
  395. _call = <function _call at 0x7fcce0fba2a8>
  396. ------------------------------------------------------------------------
  397. File: services/discovery/jobs/box/profile.py (Line: 181)
  398. Function: check_snmp_v2c_get
  399. 174 return open_sync_rpc(
  400. 175 "activator",
  401. 176 pool=self.object.pool.name,
  402. 177 calling_service="discovery"
  403. 178 ).__getattr__(self.snmp_version_def)(
  404. 179 self.object.address,
  405. 180 snmp_ro,
  406. 181 ==> param
  407. 182 )
  408. 183 except RPCError as e:
  409. 184 self.logger.error("RPC Error: %s", e)
  410. 185 return None
  411. 186
  412. 187 def check_http_get(self, param):
  413. Variables:
  414. self =
  415. <noc.services.discovery.jobs.box.profile.ProfileCheck object at 0x7fcce10f1590>
  416. snmp_ro = u'kondaro'
  417. param = u'1.3.6.1.2.1.1.1.0'
  418. caps =
  419. {u'DB | Interfaces': 19,
  420. u'Network | CDP': True,
  421. u'SNMP': True,
  422. u'SNMP | Bulk': True,
  423. u'SNMP | IF-MIB': True,
  424. u'SNMP | IF-MIB | HC': True,
  425. u'SNMP | v1': False,
  426. u'SNMP | v2c': True,
  427. u'SNMP | v3': False}
  428. ------------------------------------------------------------------------
  429. File: services/discovery/jobs/box/profile.py (Line: 141)
  430. Function: do_check
  431. 134 self.logger.debug("Using cached value")
  432. 135 return self.result_cache[method, param]
  433. 136 h = getattr(self, "check_%s" % method, None)
  434. 137 if not h:
  435. 138 self.logger.error("Invalid check method '%s'. Ignoring",
  436. 139 method)
  437. 140 return None
  438. 141 ==> result = h(param)
  439. 142 self.result_cache[method, param] = result
  440. 143 return result
  441. 144
  442. 145 def check_snmp_v2c_get(self, param):
  443. 146 """
  444. 147 Perform SNMP v2c GET. Param is OID or symbolic name
  445. Variables:
  446. h =
  447. <bound method ProfileCheck.check_snmp_v2c_get of <noc.services.discovery.jobs.box.profile.ProfileCheck object at 0x7fcce10f1590>>
  448. self =
  449. <noc.services.discovery.jobs.box.profile.ProfileCheck object at 0x7fcce10f1590>
  450. method = u'snmp_v2c_get'
  451. param = u'1.3.6.1.2.1.1.1.0'
  452. ------------------------------------------------------------------------
  453. File: services/discovery/jobs/box/profile.py (Line: 64)
  454. Function: get_profile
  455. 57 snmp_result = ""
  456. 58 http_result = ""
  457. 59 message = "Cannot detect profile"
  458. 60 fatal = False
  459. 61 for ruleset in self.get_rules():
  460. 62 for (method, param), actions in ruleset:
  461. 63 try:
  462. 64 ==> result = self.do_check(method, param)
  463. 65 if not result:
  464. 66 continue
  465. 67 if "snmp" in method:
  466. 68 snmp_result = result
  467. 69 if "http" in method:
  468. 70 http_result = result
  469. Variables:
  470. self =
  471. <noc.services.discovery.jobs.box.profile.ProfileCheck object at 0x7fcce10f1590>
  472. param = u'1.3.6.1.2.1.1.1.0'
  473. http_result = ''
  474. ruleset =
  475. [((u'snmp_v2c_get', u'1.3.6.1.2.1.1.1.0'),
  476. [(u're',
  477. u'^Huawei AR.*',
  478. u'match',
  479. <Profile: Huawei.VRP>,
  480. u'Huawei | VRP | AR sysDescr'),
  481. (u're',
  482. u'^S5700.*',
  483. u'match',
  484. <Profile: Huawei.VRP>,
  485. u'Huawei | VRP | S5700 sysDescr')]),
  486. ((u'snmp_v2c_get', u'SNMPv2-MIB::sysObjectID.0'),
  487. [(u'eq',
  488. u'1.3.6.1.4.1.27514.1.3.13.0',
  489. u'match',
  490. <Profile: Qtech.QSW>,
  491. u'Qtech | QSW | QSW-2900 sysObjectID'),
  492. (u'eq',
  493. u'1.3.6.1.4.1.890.1.5.11.13',
  494. u'match',
  495. <Profile: Zyxel.MSAN>,
  496. u'Zyxel | MSAN | IES1248-51 sysObjectID'),
  497. (u'eq',
  498. u'1.3.6.1.4.1.2011.10.1.232',
  499. u'match',
  500. <Profile: Huawei.VRP>,
  501. u'Huawei | VRP | S5628F-HI sysObjectID'),
  502. (u'eq',
  503. u'1.3.6.1.4.1.890.1.5.8.30',
  504. u'match',
  505. <Profile: Zyxel.ZyNOS>,
  506. u'Zyxel | ZyNOS | ES-2226 sysObjectID'),
  507. (u'contains',
  508. u'1.3.6.1.4.1.35419',
  509. u'match',
  510. <Profile: ElectronR.KO01M>,
  511. u'ElectronR | KO01M sysObjectID'),
  512. (u'contains',
  513. u'1.3.6.1.4.1.171.10.61.2',
  514. u'match',
  515. <Profile: DLink.DES21xx>,
  516. u'DLink | DES21xx | DES-2108 sysObjectID'),
  517. (u'contains',
  518. u'1.3.6.1.4.1.171.10.76.12',
  519. u'match',
  520. <Profile: DLink.DxS_Smart>,
  521. u'DLink | DxS_Smart | DGS-1210-10P sysObjectID'),
  522. (u'contains',
  523. u'1.3.6.1.4.1.171.10.76.15',
  524. u'match',
  525. <Profile: DLink.DxS_Smart>,
  526. u'DLink | DxS_Smart | DGS-1210-28 sysObjectID'),
  527. (u'eq',
  528. u'1.3.6.1.4.1.25506.1.33',
  529. u'match',
  530. <Profile: H3C.VRP>,
  531. u'H3C | VRP | S3600-52P-SI sysObjectID'),
  532. (u'eq',
  533. u'1.3.6.1.4.1.6486.800.1.1.2.1.7.1.10',
  534. u'match',
  535. <Profile: Alcatel.AOS>,
  536. u'Alcatel | AOS | OS6850-U24X'),
  537. (u'eq',
  538. u'1.3.6.1.4.1.2011.2.123',
  539. u'match',
  540. <Profile: Huawei.MA5600T>,
  541. u'Huawei | MA | MA5603T sysObjectID'),
  542. (u'eq',
  543. u'1.3.6.1.4.1.3320.1.228.0',
  544. u'match',
  545. <Profile: BDCOM.xPON>,
  546. u'BDCOM | xPON | P3310B sysObjectID'),
  547. (u'eq',
  548. u'1.3.6.1.4.1.27514.1.1.1.203',
  549. u'match',
  550. <Profile: Qtech.QSW>,
  551. u'Qtech | QSW | QSW-3400-28T-AC sysObjectID 2'),
  552. (u'eq',
  553. u'1.3.6.1.4.1.1795.1.14.9.14.5.3',
  554. u'match',
  555. <Profile: Zhone.Bitstorm>,
  556. u'Zhone | Bitstorm | 8820-A2-xxx sysObjectID'),
  557. (u'eq',
  558. u'1.3.6.1.4.1.6339.1.1.2.59',
  559. u'match',
  560. <Profile: Qtech.QSW2800>,
  561. u'Qtech | QSW | QSW-2800 sysObjectID'),
  562. (u'eq',
  563. u'1.3.6.1.4.1.40248.2',
  564. u'match',
  565. <Profile: Vitesse.VSC>,
  566. u'Vitesse | VSC | VSC7460v2 sysObjectID'),
  567. (u'contains',
  568. u'1.3.6.1.4.1.171.10.75.17.1',
  569. u'match',
  570. <Profile: DLink.DxS_Smart>,
  571. u'DLink | DxS_Smart | DES-1210-08P-cx sysObjectID'),
  572. (u're',
  573. u'1.3.6.1.4.1.207.1.4.12[56]',
  574. u'match',
  575. <Profile: AlliedTelesis.AT8000S>,
  576. u'AlliedTelesis | ATI | AT-8000S sysObjectID'),
  577. (u'eq',
  578. u'1.3.6.1.4.1.3955.6.9.224.1',
  579. u'match',
  580. <Profile: Linksys.SPS2xx>,
  581. u'Lynksis | SPS2xx | SPS224G4 sysObjectID'),
  582. (u'contains',
  583. u'1.3.6.1.4.1.171.10.75.13',
  584. u'match',
  585. <Profile: DLink.DxS_Smart>,
  586. u'DLink | DxS_Smart | DES-1210-08P sysObjectID'),
  587. (u'eq',
  588. u'1.3.6.1.4.1.2011.10.1.43',
  589. u'match',
  590. <Profile: Huawei.VRP>,
  591. u'Huawei | VRP | S5624P sysObjectID'),
  592. (u'eq',
  593. u'1.3.6.1.4.1.25506.1.37',
  594. u'match',
  595. <Profile: H3C.VRP>,
  596. u'H3C | VRP | S3600-28P-EI sysObjectID'),
  597. (u'eq',
  598. u'1.3.6.1.4.1.259.10.1.22.101',
  599. u'match',
  600. <Profile: EdgeCore.ES>,
  601. u'EdgeCore | ES | ES3528MV2 sysObjectID'),
  602. (u'eq',
  603. u'1.3.6.1.4.1.2011.2.135',
  604. u'match',
  605. <Profile: Huawei.MA5600T>,
  606. u'Huawei | MA | MA5626G sysObjectID'),
  607. (u'contains',
  608. u'1.3.6.1.4.1.2011.2.80.1',
  609. u'match',
  610. <Profile: Huawei.VRP3>,
  611. u'Huawei | MA | MA5605 sysObjectID'),
  612. (u'eq',
  613. u'1.3.6.1.4.1.890.1.5.5.2',
  614. u'match',
  615. <Profile: Zyxel.MSAN>,
  616. u'Zyxel | MSAN | IES-1000 sysObjectID'),
  617. (u'contains',
  618. u'1.3.6.1.4.1.171.10.76.14',
  619. u'match',
  620. <Profile: DLink.DxS_Smart>,
  621. u'DLink | DxS_Smart | DGS-1210-20 sysObjectID'),
  622. (u'eq',
  623. u'1.3.6.1.4.1.835457.3.4',
  624. u'match',
  625. <Profile: Alcatel.TIMOS>,
  626. u'Alcatel | TIMOS | 7750 SR-7'),
  627. (u'eq',
  628. u'1.3.6.1.4.1.43.1.8.41',
  629. u'match',
  630. <Profile: 3Com.SuperStack3>,
  631. u'3Com | SuperStack3 | 3226 sysObjectID'),
  632. (u'eq',
  633. u'1.3.6.1.4.1.2011.2.23.96',
  634. u'match',
  635. <Profile: Huawei.VRP>,
  636. u'Huawei | VRP | S5328C-EI-24S sysObjectID'),
  637. (u'eq',
  638. u'1.3.6.1.4.1.3955.6.1.2016.1',
  639. u'match',
  640. <Profile: Linksys.SRW>,
  641. u'Linksys | SRW | SRW2016 sysObjectID'),
  642. (u'eq',
  643. u'1.3.6.1.4.1.890.1.5.8.16',
  644. u'match',
  645. <Profile: Zyxel.ZyNOS>,
  646. u'Zyxel | ZyNOS | ES-2024A sysObjectID'),
  647. (u'eq',
  648. u'1.3.6.1.4.1.31926',
  649. u'match',
  650. <Profile: Siklu.EH>,
  651. u'Siklu | EH | EH-1200L.v700 sysObjectID'),
  652. (u'eq',
  653. u'1.3.6.1.4.1.35265.1.46',
  654. u'match',
  655. <Profile: Eltex.RG>,
  656. u'Eltex | RG| RG-1404GF-W sysObjectID'),
  657. (u'eq',
  658. u'1.3.6.1.4.1.2011.2.78',
  659. u'match',
  660. <Profile: Huawei.MA5600T>,
  661. u'Huawei | HONET | UA5000 sysObjectID'),
  662. (u'eq',
  663. u'1.3.6.1.4.1.40248.1',
  664. u'match',
  665. <Profile: Vitesse.VSC>,
  666. u'Vitesse | VSC | VSC7460 sysObjectID'),
  667. (u'eq',
  668. u'1.3.6.1.4.1.2011.2.23.92',
  669. u'match',
  670. <Profile: Huawei.VRP>,
  671. u'Huawei | VRP | S2326TP-EI sysObjectID'),
  672. (u'eq',
  673. u'1.3.6.1.4.1.35265.1.28',
  674. u'match',
  675. <Profile: Eltex.DSLAM>,
  676. u'Eltex | DSLAM | MXA32 sysObjectID'),
  677. (u'eq',
  678. u'1.3.6.1.4.1.3320.1.347.0',
  679. u'match',
  680. <Profile: BDCOM.IOS>,
  681. u'BDCOM | IOS | 2208P sysObjectID'),
  682. (u'eq',
  683. u'1.3.6.1.4.1.3320.1.347.0',
  684. u'match',
  685. <Profile: BDCOM.IOS>,
  686. u'BDCOM | IOS | S2210PB sysObjectID'),
  687. (u'eq',
  688. u'1.3.6.1.4.1.259.10.1.27.102',
  689. u'match',
  690. <Profile: EdgeCore.ES>,
  691. u'EdgeCore | ES | ECS3510-52T sysObjectID'),
  692. (u'eq',
  693. u'1.3.6.1.4.1.6527.1.15.1',
  694. u'match',
  695. <Profile: Alcatel.TIMOS>,
  696. u'Alcatel | TIMOS | 7950 XRS'),
  697. (u'eq',
  698. u'1.3.6.1.4.1.2011.2.23.102',
  699. u'match',
  700. <Profile: Huawei.VRP>,
  701. u'Huawei | VRP | S5300 sysObjectID'),
  702. (u'eq',
  703. u'1.3.6.1.4.1.14988.1',
  704. u'match',
  705. <Profile: MikroTik.RouterOS>,
  706. u'MikroTik | RouterOS | sysObjectID'),
  707. (u'eq',
  708. u'1.3.6.1.4.1.231.7.1.2.2.1.101.1.1',
  709. u'match',
  710. <Profile: NSN.hiX56xx>,
  711. u'NAG | NSN | hiX5622G2002GE sysObjectID.0'),
  712. (u'eq',
  713. u'1.3.6.1.4.1.3320.1.294.0',
  714. u'match',
  715. <Profile: BDCOM.xPON>,
  716. u'BDCOM | xPON | P3310C sysObjectID'),
  717. (u'eq',
  718. u'1.3.6.1.4.1.890.1.5.8.26',
  719. u'match',
  720. <Profile: Zyxel.ZyNOS>,
  721. u'Zyxel | ZyNOS | ES-3124-4F sysObjectID'),
  722. (u'contains',
  723. u'1.3.6.1.4.1.171.10.75.5',
  724. u'match',
  725. <Profile: DLink.DxS_Smart>,
  726. u'DLink | DxS_Smart | DES-1210-28 sysObjectID'),
  727. (u'eq',
  728. u'1.3.6.1.4.1.4874.1.1.1.6.1',
  729. u'match',
  730. <Profile: Juniper.JUNOSe>,
  731. u'Juniper | JUNOSe | E320 sysObjectID'),
  732. (u'eq',
  733. u'1.3.6.1.4.1.193.81.1.1.3',
  734. u'match',
  735. <Profile: Ericsson.SEOS>,
  736. u'Ericsson | MINI-LINK | CN510 sysObjectID'),
  737. (u'eq',
  738. u'1.3.6.1.4.1.40418.7.2',
  739. u'match',
  740. <Profile: NAG.SNR>,
  741. u'NAG | SNR | SNR-S2940 sysObjectID.0'),
  742. (u'eq',
  743. u'1.3.6.1.4.1.25506.1.34',
  744. u'match',
  745. <Profile: H3C.VRP>,
  746. u'H3C | VRP | S3600-28TP-SI sysObjectID'),
  747. (u'contains',
  748. u'1.3.6.1.4.1.171.10.75.19.1',
  749. u'match',
  750. <Profile: DLink.DxS_Smart>,
  751. u'DLink | DxS_Smart | DES-1210-28P V4 sysObjectID'),
  752. (u'eq',
  753. u'1.3.6.1.4.1.2011.2.6.5.21',
  754. u'match',
  755. <Profile: Huawei.VRP3>,
  756. u'Huawei | MA | MA5105 sysObjectID'),
  757. (u'eq',
  758. u'1.3.6.1.4.1.6486.800.1.1.2.1.7.1.48',
  759. u'match',
  760. <Profile: Alcatel.AOS>,
  761. u'Alcatel | AOS | OS6850E-U24X'),
  762. (u'eq',
  763. u'1.3.6.1.4.1.890.1.5.11.9',
  764. u'match',
  765. <Profile: Zyxel.MSAN>,
  766. u'Zyxel | ZyNOS | IES1248-71 sysObjectID'),
  767. (u'eq',
  768. u'1.3.6.1.4.1.2011.10.1.12',
  769. u'match',
  770. <Profile: Huawei.VRP>,
  771. u'Huawei | VRP | S3928TP-SI sysObjectID'),
  772. (u'contains',
  773. u'1.3.6.1.4.1.171.10.61.1',
  774. u'match',
  775. <Profile: DLink.DES21xx>,
  776. u'DLink | DES21xx | DES-2110 sysObjectID'),
  777. (u'eq',
  778. u'1.3.6.1.4.1.4249.1.114.1',
  779. u'match',
  780. <Profile: Nateks.FlexGain>,
  781. u'Nateks | FlexGain | FG-ACE120 sysObjectID'),
  782. (u'contains',
  783. u'1.3.6.1.4.1.171.10.75.6',
  784. u'match',
  785. <Profile: DLink.DxS_Smart>,
  786. u'DLink | DxS_Smart | DES-1210-28P sysObjectID'),
  787. (u'contains',
  788. u'1.3.6.1.4.1.171.10.75.7',
  789. u'match',
  790. <Profile: DLink.DxS_Smart>,
  791. u'DLink | DxS_Smart | DES-1210-52 sysObjectID'),
  792. (u'eq',
  793. u'1.3.6.1.4.1.2011.2.248',
  794. u'match',
  795. <Profile: Huawei.MA5600T>,
  796. u'Huawei | MA | MA5608T sysObjectID'),
  797. (u'eq',
  798. u'1.3.6.1.4.1.2011.2.6.6.1',
  799. u'match',
  800. <Profile: Huawei.MA5300>,
  801. u'Huawei | MA | MA5300 sysObjectID'),
  802. (u'eq',
  803. u'1.3.6.1.4.1.27514.1.1.1.48',
  804. u'match',
  805. <Profile: Qtech.QSW2800>,
  806. u'Qtech | QSW | QSW-2800-10T-AC sysObjectID'),
  807. (u'eq',
  808. u'1.3.6.1.3.55.1',
  809. u'match',
  810. <Profile: Qtech.BFC_PBIC_S>,
  811. u'Qtech | BFC-PBIC-S sysObjectID'),
  812. (u'eq',
  813. u'1.3.6.1.4.1.2011.2.169',
  814. u'match',
  815. <Profile: Huawei.MA5600T>,
  816. u'Huawei | MA | MA5616 sysObjectID'),
  817. (u'eq',
  818. u'1.3.6.1.4.1.30982.1.1',
  819. u'match',
  820. <Profile: TFortis.PSW>,
  821. u'TFortis | PSW | PSW-2G6F+'),
  822. (u'eq',
  823. u'1.3.6.1.4.1.27514.6.212',
  824. u'match',
  825. <Profile: Raisecom.ROS>,
  826. u'Qtech | QSW | QSW-2850-28T sysObjectID'),
  827. (u'eq',
  828. u'1.3.6.1.4.1.35265.1.22',
  829. u'match',
  830. <Profile: Eltex.LTP>,
  831. u'Eltex | LTP | LTP sysObjectID'),
  832. (u'contains',
  833. u'1.3.6.1.4.1.171.10.76.10',
  834. u'match',
  835. <Profile: DLink.DxS_Smart>,
  836. u'DLink | DxS_Smart | DGS-1210-24 sysObjectID'),
  837. (u'eq',
  838. u'1.3.6.1.4.1.8886.6.200',
  839. u'match',
  840. <Profile: Qtech.QSW8200>,
  841. u'Qtech | QSW | QSW-8200-28F sysObjectID'),
  842. (u'contains',
  843. u'1.3.6.1.4.1.171.10.76.16',
  844. u'match',
  845. <Profile: DLink.DxS_Smart>,
  846. u'DLink | DxS_Smart | DGS-1210-28P sysObjectID'),
  847. (u'eq',
  848. u'1.3.6.1.4.1.1795.1.14.17.1.3',
  849. u'match',
  850. <Profile: Zhone.Bitstorm>,
  851. u'Zhone | Bitstorm | 4229-A1-520 sysObjectID'),
  852. (u'eq',
  853. u'1.3.6.1.4.1.637.61.1',
  854. u'match',
  855. <Profile: Alcatel.7302>,
  856. u'Alcatel | 7302 | 7302 sysObjectID.0'),
  857. (u'eq',
  858. u'1.3.6.1.4.1.27514.1.1.1.49',
  859. u'match',
  860. <Profile: Qtech.QSW2800>,
  861. u'Qtech | QSW | QSW-2800-28T sysObjectID'),
  862. (u'eq',
  863. u'1.3.6.1.4.1.21696',
  864. u'match',
  865. <Profile: Generic.Host>,
  866. u'KeyMile | MileGate | 2510 sysObjectID'),
  867. (u'eq',
  868. u'1.3.6.1.4.1.27514.1.1.1.221',
  869. u'match',
  870. <Profile: Qtech.QSW>,
  871. u'Qtech | QSW | QSW-3400-28T-AC sysObjectID'),
  872. (u'contains',
  873. u'1.3.6.1.4.1.171.10.97.1.9',
  874. u'match',
  875. <Profile: DLink.DxS_Cisco_CLI>,
  876. u'DLink | DGS-3610-26G sysObjectID'),
  877. (u'eq',
  878. u'1.3.6.1.4.1.655.100.10.1',
  879. u'match',
  880. <Profile: Carelink.SWG>,
  881. u'Carelink | SWG | SWG1002 sysObjectID'),
  882. (u'contains',
  883. u'1.3.6.1.4.1.171.10.61.3',
  884. u'match',
  885. <Profile: DLink.DES21xx>,
  886. u'DLink | DES21xx | DES-2108-B1 sysObjectID'),
  887. (u'eq',
  888. u'1.3.6.1.4.1.27514.1.1.2.59',
  889. u'match',
  890. <Profile: Qtech.QSW2800>,
  891. u'Qtech | QSW | QSW-8200-28F-AC-DC sysObjectID'),
  892. (u'eq',
  893. u'1.3.6.1.4.1.3955.7.2.2000.1',
  894. u'match',
  895. <Profile: Alstec.ALS>,
  896. u'Alstec | ALS | ALS-62000'),
  897. (u'contains',
  898. u'1.3.6.1.4.1.171.10.76.11',
  899. u'match',
  900. <Profile: DLink.DxS_Smart>,
  901. u'DLink | DxS_Smart | DGS-1210-48 sysObjectID'),
  902. (u'eq',
  903. u'1.3.6.1.4.1.1332.1.1.1',
  904. u'match',
  905. <Profile: Iskratel.VOIP>,
  906. u'Iskratel | VOIP | ISKRATEL VOIP-1 sysObjectID'),
  907. (u'eq',
  908. u'1.3.6.1.4.1.32761',
  909. u'match',
  910. <Profile: Rotek.RTBS>,
  911. u'Rotek | RTBS | RT-BS24-WFN2E sysObjectID'),
  912. (u'contains',
  913. u'1.3.6.1.4.1.171.10.76.9',
  914. u'match',
  915. <Profile: DLink.DxS_Smart>,
  916. u'DLink | DxS_Smart | DGS-1210-16 sysObjectID'),
  917. (u'eq',
  918. u'1.3.6.1.4.1.4874.1.1.1.6.2',
  919. u'match',
  920. <Profile: Juniper.JUNOSe>,
  921. u'Juniper | JUNOSe | E120 sysObjectID'),
  922. (u'eq',
  923. u'1.3.6.1.4.1.34300.1.6',
  924. u'match',
  925. <Profile: Eltex.DSLAM>,
  926. u'Eltex | DSLAM | MXA24 sysObjectID'),
  927. (u'eq',
  928. u'1.3.6.1.4.1.8886.6.140',
  929. u'match',
  930. <Profile: Raisecom.ROS>,
  931. u'Raisecom | ROS | ISCOM2128EA-MA-AC sysObjectID'),
  932. (u'eq',
  933. u'1.3.6.1.4.1.890.1.5.8.12',
  934. u'match',
  935. <Profile: Zyxel.ZyNOS>,
  936. u'Zyxel | ZyNOS | ES-3124 sysObjectID'),
  937. (u'eq',
  938. u'1.3.6.1.4.1.171.10.65.1',
  939. u'match',
  940. <Profile: DLink.DAS>,
  941. u'DLink | DAS | DAS-322X sysObjectID'),
  942. (u'eq',
  943. u'1.3.6.1.4.1.27514.6.178',
  944. u'match',
  945. <Profile: Qtech.QOS>,
  946. u'Qtech | QOS | QSW-8200-28F-AC sysObjectID'),
  947. (u'eq',
  948. u'1.3.6.1.4.1.3320.1.263.0',
  949. u'match',
  950. <Profile: BDCOM.xPON>,
  951. u'BDCOM | xPON | P3608 sysObjectID'),
  952. (u'eq',
  953. u'1.3.6.1.4.1.890.1.5.11.11',
  954. u'match',
  955. <Profile: Zyxel.MSAN>,
  956. u'Zyxel | ZyNOS | IES-612 sysObjectID'),
  957. (u'contains',
  958. u'1.3.6.1.4.1.171.10.94.5',
  959. u'match',
  960. <Profile: DLink.DGS3100>,
  961. u'DLink | DGS3100 | DGS-3100-24TG sysObjectID'),
  962. (u'eq',
  963. u'1.3.6.1.4.1.890.1.5.13.8',
  964. u'match',
  965. <Profile: Zyxel.MSAN>,
  966. u'Zyxel | ZyNOS | IES-6000 sysObjectID'),
  967. (u'eq',
  968. u'1.3.6.1.4.1.890.1.5.13.7',
  969. u'match',
  970. <Profile: Zyxel.MSAN>,
  971. u'Zyxel | ZyNOS | IES-5005 sysObjectID'),
  972. (u'eq',
  973. u'1.3.6.1.4.1.27514.1.3.26.7',
  974. u'match',
  975. <Profile: Qtech.QSW>,
  976. u'Qtech | QSW | QSW-2910-28F sysObjectID'),
  977. (u'eq',
  978. u'1.3.6.1.4.1.1332.1.24.3',
  979. u'match',
  980. <Profile: Iskratel.ESCOM>,
  981. u'Iskratel | ESCOM | SI3000 sysObjectID'),
  982. (u'eq',
  983. u'1.3.6.1.4.1.10002.1',
  984. u'match',
  985. <Profile: Rotek.RTBSv1>,
  986. u'Rotek | RTBSv1 | RT-BS24-WFN2E.v1 sysObjectID'),
  987. (u'eq',
  988. u'1.3.6.1.4.1.30803',
  989. u'match',
  990. <Profile: Vyatta.Vyatta>,
  991. u'Vyatta | Vyatta | sysObjectID'),
  992. (u'eq',
  993. u'1.3.6.1.4.1.27514.1.1.1.228',
  994. u'match',
  995. <Profile: Qtech.QSW2800>,
  996. u'Qtech | QSW | QSW-3450-28T-AC sysObjectID'),
  997. (u'eq',
  998. u'1.3.6.1.4.1.11.2.3.7.11.63',
  999. u'match',
  1000. <Profile: HP.ProCurve>,
  1001. u'HP | ProCurve | 2810-24G sysObjectID'),
  1002. (u'contains',
  1003. u'1.3.6.1.4.1.35265.1.21.202',
  1004. u'match',
  1005. <Profile: Eltex.LTE>,
  1006. u'Eltex | LTE | LTE sysObjectID'),
  1007. (u'eq',
  1008. u'1.3.6.1.4.1.890.1.5.11.6',
  1009. u'match',
  1010. <Profile: Zyxel.MSAN>,
  1011. u'Zyxel | ZyNOS | IES-1000 AAM1008-61 sysObjectID'),
  1012. (u'eq',
  1013. u'1.3.6.1.4.1.2011.10.1.200',
  1014. u'match',
  1015. <Profile: Huawei.VRP>,
  1016. u'Huawei | VRP | S2403TP-EA sysObjectID'),
  1017. (u'eq',
  1018. u'1.3.6.1.4.1.43.1.8.42',
  1019. u'match',
  1020. <Profile: 3Com.SuperStack3>,
  1021. u'3Com | SuperStack3 | 3250 sysObjectID'),
  1022. (u'eq',
  1023. u'1.3.6.1.4.1.27514.1.1.1.281',
  1024. u'match',
  1025. <Profile: Qtech.QSW>,
  1026. u'Qtech | QSW | QSW-3470-28T-AC sysObjectID'),
  1027. (u'eq',
  1028. u'1.3.6.1.4.1.835457.6.3',
  1029. u'match',
  1030. <Profile: Alcatel.TIMOS>,
  1031. u'Alcatel | TIMOS | 7450 ESS-7'),
  1032. (u'eq',
  1033. u'1.3.6.1.4.1.259.6.10.94',
  1034. u'match',
  1035. <Profile: EdgeCore.ES>,
  1036. u'EdgeCore | ES | ES3528M sysObjectID'),
  1037. (u'eq',
  1038. u'1.3.6.1.4.1.2011.2.115',
  1039. u'match',
  1040. <Profile: Huawei.MA5600T>,
  1041. u'Huawei | MA | MA5680T sysObjectID'),
  1042. (u'contains',
  1043. u'1.3.6.1.4.1.171.10.76.17',
  1044. u'match',
  1045. <Profile: DLink.DxS_Smart>,
  1046. u'DLink | DxS_Smart | DGS-1210-52 sysObjectID'),
  1047. (u'eq',
  1048. u'1.3.6.1.4.1.4413',
  1049. u'match',
  1050. <Profile: Alstec.24xx>,
  1051. u'Alstec | ALS24300 sysObjectID'),
  1052. (u'eq',
  1053. u'1.3.6.1.4.1.38838.1.10',
  1054. u'match',
  1055. <Profile: Angtel.Topaz>,
  1056. u'Angtel | Topaz | Topaz-2O-16E'),
  1057. (u'eq',
  1058. u'1.3.6.1.4.1.27514.1.1.1.51',
  1059. u'match',
  1060. <Profile: Qtech.QSW2800>,
  1061. u'Qtech | QSW | QSW-2800-10T-DC sysObjectID')]),
  1062. ((u'snmp_v2c_get', u'SNMPv2-MIB::sysDescr.0'),
  1063. [(u'contains',
  1064. u'ALS24100LVT',
  1065. u'match',
  1066. <Profile: Alstec.24xx>,
  1067. u'Alstec | ALS24100 sysDescr.0')])]
  1068. snmp_result = ''
  1069. message = 'Cannot detect profile'
  1070. fatal = False
  1071. method = u'snmp_v2c_get'
  1072. actions =
  1073. [(u're',
  1074. u'^Huawei AR.*',
  1075. u'match',
  1076. <Profile: Huawei.VRP>,
  1077. u'Huawei | VRP | AR sysDescr'),
  1078. (u're',
  1079. u'^S5700.*',
  1080. u'match',
  1081. <Profile: Huawei.VRP>,
  1082. u'Huawei | VRP | S5700 sysDescr')]
  1083. ------------------------------------------------------------------------
  1084. File: services/discovery/jobs/box/profile.py (Line: 35)
  1085. Function: handler
  1086. 28 name = "profile"
  1087. 29
  1088. 30 _rules_cache = cachetools.TTLCache(10, ttl=60)
  1089. 31 snmp_version_def = None
  1090. 32
  1091. 33 def handler(self):
  1092. 34 self.logger.info("Checking profile accordance")
  1093. 35 ==> profile = self.get_profile()
  1094. 36 if not profile:
  1095. 37 return # Cannot detect
  1096. 38 if profile.id == self.object.profile.id:
  1097. 39 self.logger.info("Profile is correct: %s", profile)
  1098. 40 else:
  1099. 41 self.logger.info(
  1100. Variables:
  1101. self =
  1102. <noc.services.discovery.jobs.box.profile.ProfileCheck object at 0x7fcce10f1590>
  1103. ------------------------------------------------------------------------
  1104. File: services/discovery/jobs/base.py (Line: 449)
  1105. Function: run
  1106. 442 self.required_script)
  1107. 443 return
  1108. 444 # Check required capabilities
  1109. 445 if not self.has_required_capabilities():
  1110. 446 return
  1111. 447 # Run check
  1112. 448 try:
  1113. 449 ==> self.handler()
  1114. 450 except RPCRemoteError as e:
  1115. 451 self.logger.error(
  1116. 452 "RPC Remote error (%s): %s",
  1117. 453 e.remote_code, e)
  1118. 454 if e.remote_code:
  1119. 455 message = "Remote error code %s" % e.remote_code
  1120. Variables:
  1121. span = <noc.core.span.Span object at 0x7fcce10f1490>
  1122. self =
  1123. <noc.services.discovery.jobs.box.profile.ProfileCheck object at 0x7fcce10f1590>
  1124. e = ResolutionError()
  1125. ------------------------------------------------------------------------
  1126. END OF TRACEBACK
  1127. 2018-03-29 03:02:29,293 [scheduler.discovery] [37] [discovery|box|CPS-TMP|profile] Writing CP report to /var/lib/noc/cp/crashinfo/new/0502f500-51c5-58b5-bd65-f54ff7fda8f1.json
  1128. 2018-03-29 03:02:29,296 [noc.core.profile.loader] Loading profile MikroTik.RouterOS
  1129. 2018-03-29 03:02:29,297 [scheduler.discovery] [37] [discovery|box|CPS-TMP] Using CLI sessions
  1130. 2018-03-29 03:02:29,312 [scheduler.discovery] [37] [discovery|box|CPS-TMP|version] Checking version
  1131. 2018-03-29 03:02:29,313 [noc.core.service.rpc] [sae] [SYNC CALL>] sae.get_credentials((37,), {})
  1132. 2018-03-29 03:02:29,313 [noc.core.dcs.base] Running resolver for service sae
  1133. 2018-03-29 03:02:29,313 [noc.core.dcs.base] [sae] Starting resolver
  1134. 2018-03-29 03:02:29,314 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?passing=1
  1135. 2018-03-29 03:02:29,315 [noc.core.http.client] HTTP Response 200
  1136. 2018-03-29 03:02:29,315 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1137. 2018-03-29 03:02:29,315 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713425&passing=1
  1138. 2018-03-29 03:02:29,316 [noc.core.http.client] HTTP POST http://10.220.21.122:58249/api/sae/
  1139. 2018-03-29 03:02:29,321 [noc.core.http.client] HTTP Response 200
  1140. 2018-03-29 03:02:29,321 [noc.core.service.rpc] [sae] [CALL<] sae.get_credentials (8.41ms)
  1141. 2018-03-29 03:02:44,004 [noc.core.http.client] HTTP Response 200
  1142. 2018-03-29 03:02:44,005 [noc.core.dcs.base] Set faulty status to: Timed out
  1143. 2018-03-29 03:02:44,005 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/activator-default?index=713254&passing=1
  1144. 2018-03-29 03:02:44,006 [noc.core.http.client] HTTP Response 200
  1145. 2018-03-29 03:02:44,006 [noc.core.dcs.base] [activator-default] No active services
  1146. 2018-03-29 03:02:44,006 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/activator-default?index=713425&passing=1
  1147. 2018-03-29 03:02:46,810 [noc.core.http.client] HTTP Response 200
  1148. 2018-03-29 03:02:46,810 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1149. 2018-03-29 03:02:46,810 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713433&passing=1
  1150. 2018-03-29 03:02:47,192 [noc.core.http.client] HTTP Response 200
  1151. 2018-03-29 03:02:47,193 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1152. 2018-03-29 03:02:47,193 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713448&passing=1
  1153. 2018-03-29 03:04:07,108 [noc.core.http.client] HTTP Response 200
  1154. 2018-03-29 03:04:07,108 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1155. 2018-03-29 03:04:07,108 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713498&passing=1
  1156. 2018-03-29 03:04:07,421 [noc.core.http.client] HTTP Response 200
  1157. 2018-03-29 03:04:07,422 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1158. 2018-03-29 03:04:07,422 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713513&passing=1
  1159. 2018-03-29 03:05:10,294 [noc.core.http.client] HTTP Response 200
  1160. 2018-03-29 03:05:10,294 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1161. 2018-03-29 03:05:10,294 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713547&passing=1
  1162. 2018-03-29 03:05:10,780 [noc.core.http.client] HTTP Response 200
  1163. 2018-03-29 03:05:10,781 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1164. 2018-03-29 03:05:10,781 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713562&passing=1
  1165. 2018-03-29 03:06:18,098 [noc.core.http.client] HTTP Response 200
  1166. 2018-03-29 03:06:18,098 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1167. 2018-03-29 03:06:18,099 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713601&passing=1
  1168. 2018-03-29 03:06:19,112 [noc.core.http.client] HTTP Response 200
  1169. 2018-03-29 03:06:19,113 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1170. 2018-03-29 03:06:19,113 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713637&passing=1
  1171. 2018-03-29 03:07:29,381 [scheduler.discovery] [37] [discovery|box|CPS-TMP|version] Set path: None
  1172. 2018-03-29 03:07:29,381 [scheduler.discovery] [37] [discovery|box|CPS-TMP|version] Terminated due RPC error: activator-default
  1173. 2018-03-29 03:07:29,381 [scheduler.discovery] [37] [discovery|box|CPS-TMP|caps] Checking capabilities
  1174. 2018-03-29 03:07:29,382 [noc.core.service.rpc] [sae] [SYNC CALL>] sae.get_credentials((37,), {})
  1175. 2018-03-29 03:07:29,382 [noc.core.http.client] HTTP POST http://10.220.21.122:60319/api/sae/
  1176. 2018-03-29 03:07:29,387 [noc.core.http.client] HTTP Response 200
  1177. 2018-03-29 03:07:29,388 [noc.core.service.rpc] [sae] [CALL<] sae.get_credentials (5.66ms)
  1178. 2018-03-29 03:07:50,615 [noc.core.http.client] HTTP Response 200
  1179. 2018-03-29 03:07:50,616 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1180. 2018-03-29 03:07:50,616 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713659&passing=1
  1181. 2018-03-29 03:07:52,623 [noc.core.http.client] HTTP Response 200
  1182. 2018-03-29 03:07:52,624 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1183. 2018-03-29 03:07:52,624 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713695&passing=1
  1184. 2018-03-29 03:08:01,077 [noc.core.http.client] HTTP Response 200
  1185. 2018-03-29 03:08:01,078 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/activator-default?index=713425&passing=1
  1186. 2018-03-29 03:08:01,079 [noc.core.http.client] HTTP Response 200
  1187. 2018-03-29 03:08:01,079 [noc.core.dcs.base] [activator-default] No active services
  1188. 2018-03-29 03:08:01,079 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/activator-default?index=713704&passing=1
  1189. 2018-03-29 03:09:15,330 [noc.core.http.client] HTTP Response 200
  1190. 2018-03-29 03:09:15,331 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1191. 2018-03-29 03:09:15,331 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713712&passing=1
  1192. 2018-03-29 03:09:16,999 [noc.core.http.client] HTTP Response 200
  1193. 2018-03-29 03:09:16,999 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1194. 2018-03-29 03:09:17,000 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713748&passing=1
  1195. 2018-03-29 03:11:12,512 [noc.core.http.client] HTTP Response 200
  1196. 2018-03-29 03:11:12,513 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1197. 2018-03-29 03:11:12,513 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713791&passing=1
  1198. 2018-03-29 03:11:13,405 [noc.core.http.client] HTTP Response 200
  1199. 2018-03-29 03:11:13,405 [noc.core.dcs.base] [sae] Set active services to: 3d6c4b6c-532f-4b8c-b758-b6557dc85f7f: 10.220.21.122:60319, 750911d9-a0e9-4ba2-b725-6a8b3cccdc96: 10.220.21.122:58249
  1200. 2018-03-29 03:11:13,406 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/sae?index=713806&passing=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement