Ad Widget

Collapse

Help with Dashboard /Item Prototype

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Garc66
    Junior Member
    • May 2023
    • 3

    #1

    Help with Dashboard /Item Prototype

    Hi All, I am very new to Zabbix and have inherited a Zabbix 6.0.17 installation. One of the requests from our support team is to create a dashboard with server disk usage. Which was straight forward.
    The issue I am having is with Disk labels. Some of the servers have "c": and some have "System c": so when using top hosts not all the c drives are being shown. I think this is being caused by the Item prototype in the Windows by Zabbix agent template.
    When I check the Mounted filesystem discovery Item prototype the name is {#FSLABEL}({#FSNAME}): Space utilization with key vfs.fs.size[{#FSNAME},pused]. Can I remove {#FSLABEL} from the name of the Item prototype without causing issues? Or am I just missing something basic? Any help is very much appreciated.

    Click image for larger version

Name:	Item Prototype.jpg
Views:	2114
Size:	26.7 KB
ID:	465058 Click image for larger version

Name:	Top Host Missing Drive Info.jpg
Views:	2009
Size:	73.4 KB
ID:	465059
    ​​
  • Taomyn
    Junior Member
    • Feb 2021
    • 21

    #2
    Originally posted by Garc66
    Hi All, I am very new to Zabbix and have inherited a Zabbix 6.0.17 installation. One of the requests from our support team is to create a dashboard with server disk usage. Which was straight forward.
    The issue I am having is with Disk labels. Some of the servers have "c": and some have "System c": so when using top hosts not all the c drives are being shown. I think this is being caused by the Item prototype in the Windows by Zabbix agent template.
    When I check the Mounted filesystem discovery Item prototype the name is {#FSLABEL}({#FSNAME}): Space utilization with key vfs.fs.size[{#FSNAME},pused]. Can I remove {#FSLABEL} from the name of the Item prototype without causing issues? Or am I just missing something basic? Any help is very much appreciated.

    Click image for larger version

Name:	Item Prototype.jpg
Views:	2114
Size:	26.7 KB
ID:	465058 Click image for larger version

Name:	Top Host Missing Drive Info.jpg
Views:	2009
Size:	73.4 KB
ID:	465059
    ​​
    I've been having the same problem for some time and just decided to look into it further and found your report. Were you able to resolve it?

    Comment


    • Garc66
      Garc66 commented
      Editing a comment
      QUOTE=Taomyn;n467292]

      I've been having the same problem for some time and just decided to look into it further and found your report. Were you able to resolve it?[/QUOTE]

      Yes I removed the {FSLABEL} from the ITEM prototype in the mounted file system discovery. As a result it only displays the drive letter now which resolved the issue for me. I would suggest cloning the template and test it before you apply the change to the full template.
  • Taomyn
    Junior Member
    • Feb 2021
    • 21

    #3
    Garc66 funnily enough I looked into this again yesterday, when looking through the support site I discovered a better way to fix it and keep the labels: https://support.zabbix.com/browse/ZB...xt+%7E+fslabel

    I exported the template and made the change by adding the missing definitions then re-imported it. Afterwards they all eventually fixed themselves.

    Comment

    Working...