Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Westie - Um Framework canino em prol do Zabbix

O Zabbix como qualquer ferramenta opensource é carente de automações "magicas", o Westie busca implementar de maneira agil uma monitoraçao completa do ambiente do cliente e trabalhando com melhores praticas.

  • Login to see the comments

Westie - Um Framework canino em prol do Zabbix

  1. 1. Westie. A canine Framework in favor of zabbix.
  2. 2. WESTIE: HISTORY • West Highland White Terrier is a breed of dog native to Scotland. It had its origin in the crossings realized between the cairn terriers. It is said that Scottish colonel E.D Malcolm mistook his favorite cairn of champagne color with a rabbit and shot him by accident. This event made him pay more attention to the born Caucasus specimens, which were crossed between them to give rise to the west terriers, which gave the hunters a better visualization of their companions of hunts.
  3. 3. And what about Zabbix?
  4. 4. Explanation of the Problem
  5. 5. Installation Wizard
  6. 6. Installation Wizard
  7. 7. Installation Wizard
  8. 8. Installation Wizard
  9. 9. Installation Wizard
  10. 10. Installation Wizard
  11. 11. Access Register
  12. 12. Access Register
  13. 13. Network Scan to discover Assets
  14. 14. Network Scan to discover Assets
  15. 15. Network Scan to discover Assets
  16. 16. Access OK. Agent Windows / Linux
  17. 17. Access OK. Agent Windows / Linux Installed
  18. 18. Access OK. Agent Windows / Linux Installed Applied Template
  19. 19. After the Basic Inventory. Screens with some information
  20. 20. TOP 5 SNMP Communities
  21. 21. TOP SNMP Devices Models
  22. 22. Number of Platforms
  23. 23. Template Enabled. Checking for Windows / Linux Services
  24. 24. Application / Service Scan
  25. 25. Application / Service Scan
  26. 26. What is the problem of automating everything?
  27. 27. PERFORMANCE!!
  28. 28. Pollers Configuration • StartDiscoverers = 1 • StartEscalators = 1 • StartHTTPPollers = 1 • StartIPMIPollers = 0 • StartJavaPollers= 0 • StartPingers= 1 • StartPollersUnreachable = 1 • StartPollers=1 • StartProxyPollers= 1 • StartTimers = 1 • StartTrappers = 5 • StartVMwareCollectors = 0
  29. 29. Zabbix Health
  30. 30. Zabbix Health
  31. 31. Zabbix Health
  32. 32. Zabbix Health
  33. 33. Problem
  34. 34. Problem 1 Zabbix – 30 minutes / day (Morning/Afternoon/Night))
  35. 35. Problem 10 Zabbix – 5 hours / day
  36. 36. Problem 50 Zabbix ?
  37. 37. Solution
  38. 38. Hector
  39. 39. Hector TODAY
  40. 40. Hector TODAY Basic math
  41. 41. Hector TODAY Basic math Rule of 3
  42. 42. Hector TODAY item_get = zapi.item.get{{"selectHosts": "extend", "output": "extend", "filter": {"key_": "zabbix[process,poller,avg,busy]"}}) for x in item_get: StartPollers_ZbxValue = x[u'lastvalue'] x = float(StartPollers_ConfValue) * float(StartPollers_ZbxValue) / 100 … media = sum(Pollers_lst) / len(Pollers_lst) elif (int(max(Pollers_lst)) * 2) <> int(StartPollers_ConfValue): print "StartPollers - Change from %s to %s" % (int(StartPollers_ConfValue), (int(max(Pollers_lst)) * 2)
  43. 43. Hector PROBLEM
  44. 44. Hector PROBLEM Any configuration in Zabbix conf will need to restart.
  45. 45. Hector PROBLEM Any configuration in Zabbix conf will need to restart. SOLUTION?
  46. 46. Hector PROBLEM Any configuration in Zabbix conf will need to restart. SOLUTION? ZBXNEXT-3162
  47. 47. Hector TODO
  48. 48. Hector TODO DB NoSQL
  49. 49. Hector TODO DB NoSQL I.A (Machine/Deep Learning)
  50. 50. And when a server is not enough?
  51. 51. We balanced him.
  52. 52. High Availability
  53. 53. High Availability • Large Environments
  54. 54. High Availability • Large Environments • High Availability
  55. 55. High Availability • Large Environments • High Availability • Web? YES
  56. 56. High Availability • Large Environments • High Availability • Web? YES • SGDB? YES
  57. 57. High Availability • Large Environments • High Availability • Web? YES • SGDB? YES • Zabbix Server? NO
  58. 58. High Availability • Large Environments • High Availability • Web? YES • SGDB? YES • Zabbix Server? NO • Zabbix Proxy? YES
  59. 59. Balance • The idea was to balance these hosts between proxies so they get more agile, and higher priority items do not suffer from this
  60. 60. How it works
  61. 61. How works Maintenance PROXY 1 - HA PROXY 2 - HA
  62. 62. How works DOWN PROXY 1 - HA PROXY 2 - HA
  63. 63. How works Load-Balance PROXY 1 - HA PROXY 2 - HA
  64. 64. How works Itens Priority PROXY 1 - HA PROXY 2 - HA
  65. 65. Contact • Luiz Sales • Managing Partner at ServiceMonit • Specialist and Professional Zabbix • luiz.sales@servicemonit.com.br • https://github.com/lsa1es/ • https://www.linkedin.com/in/lsa1es/

×