Advertisement
Nehemoth

Grafana zabbix 4.4 performance dashboard

Apr 14th, 2020
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. Sadly with the latest version of Zabbix a lot of things don't work anymore. Bellow you can find all the changes that must be done so it works under Zabbix 4.4.7.
  2. Certain panels won't work at all.
  3.  
  4. Change the Datastore name from DS_ZABBIX to Zabbix (or your correct DS name and remember it's case Sentitive)
  5.  
  6. Panel: Available
  7. Application: Zabbix agent to Monitoring agent
  8. Agent ping to Zabbix agent ping
  9.  
  10. Panel: Uptime
  11. Application: General to Status
  12. Item: System Uptime to Uptime
  13.  
  14. Panel: hostname?
  15. Format as: Table
  16. Application: Zabbix agent to Monitoring agent
  17. Item: System Name to Host name of Zabbix agent running
  18.  
  19. Panel: Memory Utilization
  20. Item: Used memory in % to Memory utilization
  21.  
  22. Panel: Total CPU
  23. Item: Number of CPUs to Don't exist but...
  24. ...You can create one.
  25. In Zabbix go to the desired Template used in your servers
  26. Select Items
  27. Choose one from the CPU options and clone it
  28. Name: CPU Threads Quantity
  29. Type: Zabbix Agent
  30. Key: system.cpu.num
  31. Type of Information: Numeric (unsigned)
  32. Unit: Blank
  33. Update Interval: 1m
  34. Application: CPU
  35.  
  36. Then the query should be
  37. Query Mode: Metrics
  38. Group: $Group
  39. Host: $Hosts
  40. Application: CPU
  41. Item: CPU Threads Quantity (or any other name that you assigned to your item)
  42.  
  43.  
  44.  
  45. Panel: Memory/CPU
  46. Query A
  47. Application: Performance to CPU
  48.  
  49. Query B
  50. Item: Used memory in % to Memory utilization
  51.  
  52. Panel: CPU Utilization
  53. Application: Performance to CPU
  54.  
  55. Panel: Average disk queue length
  56. Query A:
  57. Application: Filesystems to Disk 0 C:
  58.  
  59. Query B
  60. Application: Performance to CPU
  61. Item: CPU iowait time to CPU interrupt time(?) [or should be CPU queue length?]
  62.  
  63.  
  64. Panel: Free disk space
  65. Application: Filesystems to Filesystem C:
  66. Item: /^Free disk((?!%).)*$/ to C:: Total space
  67.  
  68. Add another query
  69. Query Mode: Metrics
  70. Group: Your associated Template Group
  71. Host: /.*/
  72. Application: Filesystems
  73. Item: C:: Used space
  74.  
  75. On Zabbix create an Item Called "C:: Free space"
  76. Type: Zabbix Agent
  77. Key: "vfs.fs.size[c:,free]"
  78. Type of Information: " Numeric (Unsigned)
  79. Units: G
  80. Update Interval: 1m
  81. History Storage Period: 90d
  82. Trend Storage Period: 365d
  83. Show value: as is
  84. Applications: Filesystems
  85. Populates host inventory: None
  86. Enabled: checked
  87.  
  88. Panel: File writes bytes/s
  89. Application: Filesystems to Disk 0 C:
  90. Item: File write bytes per second to 0 C:: Disk write rate
  91.  
  92. Panel: File read/write bytes/s
  93. Query A
  94. Application: Filesystems to Disk 0 C:
  95. Item: File read bytes per second to 0 C:: Disk read rate
  96.  
  97. Query B
  98. Application: Filesystems to Disk 0 C:
  99. Item: File write bytes per second to 0 C:: Disk write rate
  100.  
  101. Panel: File read bytes/s
  102. Application: Filesystems to Disk 0 C:
  103. Item: File read bytes per second to 0 0 C:: Disk read rate
  104.  
  105. Panel: Outgoing Traffic
  106. Application: Network interfaces to The name of you server interface
  107. Item: /.*Outgoing/ to Interface NAME: Bits sent
  108.  
  109. Panel: Incoming Traffic
  110. Application: Network interfaces to The name of you server interface
  111. Item: /.*Incoming/ to Interface NAME: Bits received
  112.  
  113. Panel: Network Traffic
  114. Query A
  115. Application: Network interfaces to The name of you server interface
  116. Item: /.*Incoming/ to Interface NAME: Bits received
  117.  
  118. Query B
  119. Application: Network interfaces to The name of you server interface
  120. Item: /.*Outgoing/ to 0 Interface NAME: Bits sent
  121.  
  122. Panel: Problems
  123. Group: Your Server Groups
  124. Host: /.*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement