Advertisement
Izya12

get_arp_mikrotik

May 10th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.68 KB | None | 0 0
  1. 2018-05-10 12:16:24,669 [noc.core.dcs.base] Resolve near service postgres
  2. 2018-05-10 12:16:24,669 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/postgres?passing=1&near=_agent
  3. 2018-05-10 12:16:24,672 [noc.core.http.client] HTTP Response 200
  4. 2018-05-10 12:16:24,673 [noc.core.dcs.base] Resolved near service postgres to ['10.220.21.122:5432']
  5. 2018-05-10 12:16:25,773 [noc.core.dcs.base] Running resolver for service mongo
  6. 2018-05-10 12:16:25,773 [noc.core.dcs.base] [mongo] Starting resolver
  7. 2018-05-10 12:16:25,774 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
  8. 2018-05-10 12:16:25,775 [noc.core.http.client] HTTP Response 200
  9. 2018-05-10 12:16:25,775 [noc.core.dcs.base] [mongo] Set active services to: mongo: 10.220.21.122:27017
  10. 2018-05-10 12:16:25,775 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?index=2837479&passing=1
  11. 2018-05-10 12:16:25,776 [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': '********'}
  12. 2018-05-10 12:16:25,836 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
  13. 2018-05-10 12:16:25,903 [noc.main.models.doccategory] Registering Capability
  14. 2018-05-10 12:16:25,904 [noc.main.models.doccategory] Registering MetricType
  15. 2018-05-10 12:16:25,940 [noc.main.models.doccategory] Registering ConnectionType
  16. 2018-05-10 12:16:25,943 [noc.main.models.doccategory] Registering ObjectModel
  17. 2018-05-10 12:16:25,954 [noc.main.models.textindex] Adding FTS index for sa.managedobject
  18. 2018-05-10 12:16:25,969 [noc.main.models.textindex] Adding FTS index for ip.vrf
  19. 2018-05-10 12:16:25,972 [noc.main.models.textindex] Adding FTS index for vc.vc
  20. 2018-05-10 12:16:25,974 [noc.main.models.textindex] Adding FTS index for ip.prefix
  21. 2018-05-10 12:16:25,979 [noc.main.models.textindex] Adding FTS index for ip.address
  22. 2018-05-10 12:16:26,027 [noc.core.script.loader] Loading script MikroTik.RouterOS.get_arp
  23. 2018-05-10 12:16:26,126 [noc.core.mib] Loading compiled MIBs
  24. 2018-05-10 12:16:26,127 [noc.core.mib] Loading compiled MIBs from 'cmibs'
  25. 2018-05-10 12:16:26,127 [noc.core.mib] Loading MIB: ENTITY-STATE-MIB
  26. 2018-05-10 12:16:26,127 [noc.core.mib] Loading MIB: SNMPv2-MIB
  27. 2018-05-10 12:16:26,127 [noc.core.mib] Loading MIB: CISCO-PPPOE-MIB
  28. 2018-05-10 12:16:26,128 [noc.core.mib] Loading MIB: RMON2-MIB
  29. 2018-05-10 12:16:26,128 [noc.core.mib] Loading MIB: IF-MIB
  30. 2018-05-10 12:16:26,128 [noc.core.mib] Loading MIB: RFC1213-MIB
  31. 2018-05-10 12:16:26,128 [noc.core.mib] Loading MIB: BRIDGE-MIB
  32. 2018-05-10 12:16:26,128 [noc.core.mib] Loading MIB: EtherLike-MIB
  33. 2018-05-10 12:16:26,128 [noc.core.mib] Loading MIB: ENTITY-MIB
  34. 2018-05-10 12:16:26,129 [noc.core.mib] Loading MIB: IP-MIB
  35. 2018-05-10 12:16:26,129 [noc.core.mib] Loading MIB: ENTITY-SENSOR-MIB
  36. 2018-05-10 12:16:26,129 [noc.core.mib] Loading MIB: CISCO-VPDN-MGMT-MIB
  37. 2018-05-10 12:16:26,129 [noc.core.mib] Loading MIB: LLDP-MIB
  38. 2018-05-10 12:16:26,147 [noc.core.profile.loader] Loading profile MikroTik.RouterOS
  39. 2018-05-10 12:16:26,147 [script] [MikroTik.RouterOS.get_arp|10.220.60.1] Filling get_version cache with {'platform': u'RB2011UiAS-2HnD', 'version': u'6.40.5', 'vendor': u'MikroTik'}
  40. 2018-05-10 12:16:26,147 [script] [MikroTik.RouterOS.get_arp|10.220.60.1] Running. Input arguments: {}, timeout 3600
  41. 2018-05-10 12:16:26,148 [noc.core.script.loader] Loading script MikroTik.RouterOS.get_ifindexes
  42. 2018-05-10 12:16:26,167 [script] [Generic.get_ifindexes|10.220.60.1] Running. Input arguments: {}, timeout 3600
  43. 2018-05-10 12:16:26,167 [script] [MikroTik.RouterOS.get_arp|10.220.60.1] [snmp] Creating IOLoop
  44. 2018-05-10 12:16:26,168 [script] [MikroTik.RouterOS.get_arp|10.220.60.1] [snmp] Create UDP socket
  45. 2018-05-10 12:16:26,168 [noc.core.ioloop.snmp] [10.220.60.1] SNMP GETNEXT 1.3.6.1.2.1.2.2.1.2
  46. 2018-05-10 12:16:26,207 [noc.core.ioloop.snmp] [10.220.60.1] GETNEXT result: [('1.3.6.1.2.1.2.2.1.2.1', 'sfp1'), ('1.3.6.1.2.1.2.2.1.2.2', 'ether1'), ('1.3.6.1.2.1.2.2.1.2.3', 'ether2'), ('1.3.6.1.2.1.2.2.1.2.4', 'ether3'), ('1.3.6.1.2.1.2.2.1.2.5', 'ether4'), ('1.3.6.1.2.1.2.2.1.2.6', 'ether5'), ('1.3.6.1.2.1.2.2.1.2.7', 'ether6'), ('1.3.6.1.2.1.2.2.1.2.8', 'ether7'), ('1.3.6.1.2.1.2.2.1.2.9', 'ether8'), ('1.3.6.1.2.1.2.2.1.2.10', 'ether9'), ('1.3.6.1.2.1.2.2.1.2.11', 'ether10'), ('1.3.6.1.2.1.2.2.1.2.12', 'wlan1'), ('1.3.6.1.2.1.2.2.1.2.13', 'bridge1'), ('1.3.6.1.2.1.2.2.1.2.14', 'GRE-KND_RT_inet')]
  47. 2018-05-10 12:16:26,207 [script] [Generic.get_ifindexes|10.220.60.1] Result: {'bridge1': 13, 'ether10': 11, 'GRE-KND_RT_inet': 14, 'sfp1': 1, 'wlan1': 12, 'ether8': 9, 'ether9': 10, 'ether6': 7, 'ether7': 8, 'ether4': 5, 'ether5': 6, 'ether2': 3, 'ether3': 4, 'ether1': 2}
  48. 2018-05-10 12:16:26,208 [script] [Generic.get_ifindexes|10.220.60.1] Complete (40.28ms)
  49. 2018-05-10 12:16:26,209 [noc.core.ioloop.snmp] [10.220.60.1] SNMP GETNEXT 1.3.6.1.2.1.4.22.1.2
  50. 2018-05-10 12:16:26,314 [noc.core.ioloop.snmp] [10.220.60.1] GETNEXT result: [('1.3.6.1.2.1.4.22.1.2.2.212.96.193.41', '\x00\x1e\x14\x87\xc0\x10'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.4', '\xe4\x8d\x8c\x1aD\xd9'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.5', '\x00Z!2g\x94'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.6', '\xc4/\x90\xe8r\n'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.7', '(W\xbe\xdb\xf4l'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.20', '\x00v\x86\x03\x9d\x1d'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.96', ',\x0b\xe9\x041V'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.100', '@\xb04\xf9\xec\xa9'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.103', 'P{\x9d\x1b\xe0\xf2'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.107', '\x00$\x81\xc7\xf0\xee'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.108', '\x00\xcc\xfcKw<'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.109', '@\x16~g\xf6\xfe'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.110', '4d\xa9\x1c\x00\x82'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.114', ''), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.124', '\x94\xd4i*\x9e\xc9'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.125', '\x18\x8bE\x19\xcda'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.131', '\x08\xcc\xa7\x84\xa7\xc4'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.133', ''), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.134', ''), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.135', ',\x0b\xe9\x05y\\'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.139', '\xd8\x97\xba\x82\x99%'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.148', ''), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.153', '\x94\xd4i+\t\xde'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.154', '\xc44kN\x8c#'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.155', '\xb8\x86\x87[r\t'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.156', '\xc4\xb9\xcd\x80\xda\xd2'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.157', ',\x0b\xe9\x04J\xeb'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.158', ',\x0b\xe9\x05v\xe1'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.159', '\x18`$\xde\xc4\xb5'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.160', ',\x0b\xe9\x04-^'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.163', '\xc4\xb9\xcd\x80EM'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.165', '\xb8\x86\x87[\x80\xcd'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.166', ',\x0b\xe9\x05~\x18'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.169', '\x18`$\xde\xc4\xd1'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.170', '\x18`$\xde\xc4\xec'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.172', ''), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.177', ''), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.182', 'P{\x9d1p\x03'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.184', '\x18`$\xde\xc4J'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.185', '\x18`$\xde\xc5\x0b'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.186', '\x00\x17\xc8!"\''), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.188', '\x18`$\xde\xc4\xff'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.189', '\x14\xdd\xa9\x8f\xbd\xb5'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.190', '\xd8\x97\xba\x82\x98u'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.191', '\xf0\xb2\xe5\x8f\xd5\xc6'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.194', ''), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.198', ''), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.201', '\x80*\xa8d/1'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.202', '\x80*\xa8d0j'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.203', '\x80*\xa8 \x0c\x81'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.204', 'D\xd9\xe7\xca\xfe\xad'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.205', '\x80*\xa8\xe8j\x7f'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.206', '\x80*\xa8\xe8j!'), ('1.3.6.1.2.1.4.22.1.2.13.10.220.60.207', '\x80*\xa8\xe8j\x81')]
  51. 2018-05-10 12:16:26,315 [script] [MikroTik.RouterOS.get_arp|10.220.60.1] [snmp] Closing UDP socket
  52. 2018-05-10 12:16:26,315 [script] [MikroTik.RouterOS.get_arp|10.220.60.1] [snmp] Closing IOLoop
  53. 2018-05-10 12:16:26,315 [script] [MikroTik.RouterOS.get_arp|10.220.60.1] Result: []
  54. 2018-05-10 12:16:26,315 [script] [MikroTik.RouterOS.get_arp|10.220.60.1] Complete (168.09ms)
  55. []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement