cyberbob61

Untitled

May 9th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. ./noc script --debug --pretty get_version 19
  2. 2018-05-09 11:00:28,627 [noc.core.dcs.base] Resolve near service postgres
  3. 2018-05-09 11:00:28,627 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/postgres?passing=1&near=_agent
  4. 2018-05-09 11:00:28,629 [noc.core.http.client] HTTP Response 200
  5. 2018-05-09 11:00:28,630 [noc.core.dcs.base] Resolved near service postgres to ['192.168.90.19:5432']
  6. 2018-05-09 11:00:28,804 [noc.core.dcs.base] Running resolver for service mongo
  7. 2018-05-09 11:00:28,804 [noc.core.dcs.base] [mongo] Starting resolver
  8. 2018-05-09 11:00:28,805 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
  9. 2018-05-09 11:00:28,806 [noc.core.http.client] HTTP Response 200
  10. 2018-05-09 11:00:28,807 [noc.core.dcs.base] [mongo] Set active services to: mongo: 192.168.90.19:27017
  11. 2018-05-09 11:00:28,807 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?index=61817&passing=1
  12. 2018-05-09 11:00:28,808 [noc.lib.nosql] Connecting to MongoDB {'username': 'noc', 'authentication_source': 'noc', 'readPreference': 'secondaryPreferred', 'replicaSet': 'noc', 'db': 'noc', 'socketKeepAlive': True, 'host': 'mongodb://noc:********@192.168.90.19:27017/noc', 'password': '********'}
  13. 2018-05-09 11:00:28,857 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
  14. 2018-05-09 11:00:28,917 [noc.main.models.doccategory] Registering Capability
  15. 2018-05-09 11:00:28,918 [noc.main.models.doccategory] Registering MetricType
  16. 2018-05-09 11:00:28,981 [noc.main.models.doccategory] Registering ConnectionType
  17. 2018-05-09 11:00:28,984 [noc.main.models.doccategory] Registering ObjectModel
  18. 2018-05-09 11:00:28,994 [noc.main.models.textindex] Adding FTS index for sa.managedobject
  19. 2018-05-09 11:00:29,009 [noc.main.models.textindex] Adding FTS index for ip.vrf
  20. 2018-05-09 11:00:29,012 [noc.main.models.textindex] Adding FTS index for vc.vc
  21. 2018-05-09 11:00:29,014 [noc.main.models.textindex] Adding FTS index for ip.prefix
  22. 2018-05-09 11:00:29,019 [noc.main.models.textindex] Adding FTS index for ip.address
  23. 2018-05-09 11:00:29,079 [noc.core.script.loader] Loading script Huawei.VRP.get_version
  24. 2018-05-09 11:00:29,125 [noc.core.profile.loader] Loading profile Huawei.VRP
  25. 2018-05-09 11:00:29,126 [script] [Huawei.VRP.get_version|172.27.1.2] Running. Input arguments: {}, timeout 3600
  26. 2018-05-09 11:00:29,127 [script] [Huawei.VRP.get_version|172.27.1.2] [snmp] Creating IOLoop
  27. 2018-05-09 11:00:29,127 [script] [Huawei.VRP.get_version|172.27.1.2] [snmp] Create UDP socket
  28. 2018-05-09 11:00:29,127 [noc.core.ioloop.snmp] [172.27.1.2] SNMP GET ['1.3.6.1.2.1.1.1.0']
  29. 2018-05-09 11:00:29,131 [noc.core.ioloop.snmp] [172.27.1.2] GET result: ' HUAWEI Eudemon8000E-X3 ,Huawei Versatile Routing Platform Software,\r\nSoftware Version:VRP (R) Software, Version 5.160 (Eudemon8000E-X3 V500R002C00SPC100)\r\nCopyright (C) 2007-2016 Huawei Technologies Co., Ltd. All rights reserved.\r\n'
  30. 2018-05-09 11:00:29,132 [script] [Huawei.VRP.get_version|172.27.1.2] [snmp] Closing UDP socket
  31. 2018-05-09 11:00:29,132 [script] [Huawei.VRP.get_version|172.27.1.2] [snmp] Closing IOLoop
  32. 2018-05-09 11:00:29,132 [script] [Huawei.VRP.get_version|172.27.1.2] Result: {'platform': 'Technologies', 'version': '5.160', 'vendor': 'Huawei'}
  33. 2018-05-09 11:00:29,132 [script] [Huawei.VRP.get_version|172.27.1.2] Complete (5.39ms)
  34. {'platform': 'Technologies', 'vendor': 'Huawei', 'version': '5.160'}
Advertisement
Add Comment
Please, Sign In to add comment