Advertisement
Guest User

Untitled

a guest
Aug 16th, 2021
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.37 KB | None | 0 0
  1. # ./noc interface-profile --debug apply 6
  2. 2021-08-16 16:43:46,890 [noc.core.ioloop.util] Setting up asyncio event loop policy
  3. 2021-08-16 16:43:46,890 [noc.core.ioloop.util] Setting up default event loop
  4. 2021-08-16 16:43:46,935 [noc.core.dcs.base] Resolve near service postgres
  5. 2021-08-16 16:43:46,939 [noc.core.dcs.base] Resolved near service postgres to ['10.200.0.85:5432']
  6. 2021-08-16 16:43:47,192 [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
  7. warnings.warn(
  8.  
  9. 2021-08-16 16:43:47,223 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
  10. 2021-08-16 16:43:47,304 [asyncio] Using selector: EpollSelector
  11. 2021-08-16 16:43:47,304 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
  12. 2021-08-16 16:43:47,305 [noc.core.dcs.base] [mongo] Requesting changes from index 0
  13. 2021-08-16 16:43:47,305 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
  14. 2021-08-16 16:43:47,307 [noc.core.http.client] HTTP Response 200
  15. 2021-08-16 16:43:47,308 [noc.core.dcs.base] [mongo] Index changed 0 -> 2469. Applying changes
  16. 2021-08-16 16:43:47,308 [noc.core.dcs.base] [mongo] Set active services to: mongo: 10.200.0.85:27017
  17. 2021-08-16 16:43:47,308 [noc.core.dcs.base] [mongo] Stopping resolver
  18. 2021-08-16 16:43:47,309 [noc.core.mongo.connection] Connecting to MongoDB {'db': 'noc', 'username': 'noc', 'password': '********', 'authentication_source': 'noc', 'replicaSet': 'noc', 'readPreference': 'secondaryPreferred', 'maxIdleTimeMS': 60000, 'host': 'mongodb://noc:********@10.200.0.85:27017/noc'}
  19. kerro-dr1 (CCR1036-8G-2S+):
  20. ether1-DOWN-OLT1,2 -/-/- Set IntPolling
  21. ether2-UK_VC -/-/- Set IntPolling
  22. ether3-UK-VC -/-/- Set IntPolling
  23. ether4-UK-VC -/-/- Set IntPolling
  24. ether5-HEX(Pi+4G) -/-/- Set IntPolling
  25. ether6 -/-/- Set IntPolling
  26. ether7-console -/-/- Set IntPolling
  27. ether8 -/-/- Set IntPolling
  28. sfpplus1-Gruzino-as1(1/0/16) -/-/- Set IntPolling
  29. sfpplus2-Vaskelovo-as(1/0/14) -/-/- Set IntPolling
  30. root@node03:/opt/noc# ./noc interface-profile --debug apply-confdb 6
  31. 2021-08-16 16:44:11,900 [noc.core.ioloop.util] Setting up asyncio event loop policy
  32. 2021-08-16 16:44:11,900 [noc.core.ioloop.util] Setting up default event loop
  33. 2021-08-16 16:44:11,955 [noc.core.dcs.base] Resolve near service postgres
  34. 2021-08-16 16:44:11,959 [noc.core.dcs.base] Resolved near service postgres to ['10.200.0.85:5432']
  35. 2021-08-16 16:44:12,179 [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
  36. warnings.warn(
  37.  
  38. 2021-08-16 16:44:12,210 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
  39. 2021-08-16 16:44:12,289 [asyncio] Using selector: EpollSelector
  40. 2021-08-16 16:44:12,290 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
  41. 2021-08-16 16:44:12,290 [noc.core.dcs.base] [mongo] Requesting changes from index 0
  42. 2021-08-16 16:44:12,291 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
  43. 2021-08-16 16:44:12,293 [noc.core.http.client] HTTP Response 200
  44. 2021-08-16 16:44:12,294 [noc.core.dcs.base] [mongo] Index changed 0 -> 2469. Applying changes
  45. 2021-08-16 16:44:12,294 [noc.core.dcs.base] [mongo] Set active services to: mongo: 10.200.0.85:27017
  46. 2021-08-16 16:44:12,294 [noc.core.dcs.base] [mongo] Stopping resolver
  47. 2021-08-16 16:44:12,295 [noc.core.mongo.connection] Connecting to MongoDB {'db': 'noc', 'username': 'noc', 'password': '********', 'authentication_source': 'noc', 'replicaSet': 'noc', 'readPreference': 'secondaryPreferred', 'maxIdleTimeMS': 60000, 'host': 'mongodb://noc:********@10.200.0.85:27017/noc'}
  48. kerro-dr1 (CCR1036-8G-2S+):
  49. 2021-08-16 16:44:12,361 [noc.core.loader.base] [profile] Loading profile MikroTik.RouterOS
  50. 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: MikroTik.RouterOS: 'pattern_more' 'Please press "Enter" to continue!' pattern must be of binary type. Support for text values will be removed in NOC 20.2
  51. warnings.warn(
  52.  
  53. 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: MikroTik.RouterOS: 'pattern_more' '\n' command must be of binary type. Support for text values will be removed in NOC 20.2
  54. warnings.warn(
  55.  
  56. 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: MikroTik.RouterOS: 'pattern_more' 'q to abort' pattern must be of binary type. Support for text values will be removed in NOC 20.2
  57. warnings.warn(
  58.  
  59. 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: MikroTik.RouterOS: 'pattern_more' 'q' command must be of binary type. Support for text values will be removed in NOC 20.2
  60. warnings.warn(
  61.  
  62. 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: MikroTik.RouterOS: 'pattern_more' '\\[Q quit\\|.+\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
  63. warnings.warn(
  64.  
  65. 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: MikroTik.RouterOS: 'pattern_more' ' ' command must be of binary type. Support for text values will be removed in NOC 20.2
  66. warnings.warn(
  67.  
  68. 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: MikroTik.RouterOS: 'pattern_more' '\\[[yY]/[nN]\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
  69. warnings.warn(
  70.  
  71. 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: MikroTik.RouterOS: 'pattern_more' 'y' command must be of binary type. Support for text values will be removed in NOC 20.2
  72. warnings.warn(
  73.  
  74. 2021-08-16 16:44:12,404 [noc.core.loader.base] [tokenizer] Loading routeros
  75. 2021-08-16 16:44:12,466 [noc.models] Loading model inv.NetworkSegment
  76. [ -> IntPolling] Check selector
  77. ether1-DOWN-OLT1,2 -/-/- Not matched
  78. ether2-UK_VC -/-/- Not matched
  79. ether3-UK-VC -/-/- Not matched
  80. ether4-UK-VC -/-/- Not matched
  81. ether5-HEX(Pi+4G) -/-/- Not matched
  82. ether6 -/-/- Not matched
  83. ether7-console -/-/- Not matched
  84. ether8 -/-/- Not matched
  85. sfpplus1-Gruzino-as1(1/0/16) -/-/- Not matched
  86. sfpplus2-Vaskelovo-as(1/0/14) -/-/- Not matched
  87.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement