Ad Widget

Collapse

Zabbix 8.0 - Event Name does not expand vm.memory.size[total] values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ku4eto
    Junior Member
    • Jul 2026
    • 6

    #1

    Zabbix 8.0 - Event Name does not expand vm.memory.size[total] values

    I am using a modified trigger for the Windows by Zabbix Agent template.
    The
    Code:
    Windows: High memory utilization
    trigger has the following Event Name:
    Code:
    Windows: High memory utilization of {{?last(//vm.memory.size[pused])}.fmtnum(1)}% from total {{?last(//vm.memory.size[total])/1024/1024/1024}.fmtnum(1)}GB (>{$MEMORY.UTIL.MAX}% for 5m)
    On Zabbix 7.0, this worked without issues, showing the VM total memory.
    On Zabbix 8.0, after updating the templates, the event above shows up as:

    Code:
    Windows: High memory utilization of 97.2% from total *UNKNOWN*GB (>90% for 5m)
    The item key is correct, the item itself has data. It really is only an issue in the Event Name.
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1788

    #2
    Works here on 8.0.0:
    Click image for larger version  Name:	image.png Views:	0 Size:	12.2 KB ID:	518515
    Event name = High memory utilization of {{?last(//vm.memory.size[pused])}.fmtnum(1)}% from total {{?last(//vm.memory.size[total])/1024/1024/1024}.fmtnum(1)} GB

    In Testhost I have items for both of the values. If I remove the item with total memory, I get this:
    Click image for larger version  Name:	image.png Views:	0 Size:	14.0 KB ID:	518516

    Do you have an item for the total memory on the host?

    Markku
    Last edited by Markku; Yesterday, 22:44. Reason: Added version (8.0.0) and some formatting

    Comment

    • ku4eto
      Junior Member
      • Jul 2026
      • 6

      #3
      Originally posted by Markku
      Works here on 8.0.0:
      Click image for larger version Name:	image.png Views:	0 Size:	12.2 KB ID:	518515
      Event name = High memory utilization of {{?last(//vm.memory.size[pused])}.fmtnum(1)}% from total {{?last(//vm.memory.size[total])/1024/1024/1024}.fmtnum(1)} GB

      In Testhost I have items for both of the values. If I remove the item with total memory, I get this:
      Click image for larger version Name:	image.png Views:	0 Size:	14.0 KB ID:	518516

      Do you have an item for the total memory on the host?

      Markku
      Yes, there is:
      Click image for larger version

Name:	image.png
Views:	17
Size:	334.0 KB
ID:	518518

      And it has values:

      Click image for larger version

Name:	image.png
Views:	18
Size:	153.7 KB
ID:	518519​

      Comment

      • Markku
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Sep 2018
        • 1788

        #4
        Right. Is that a one-host problem, or with all hosts using the same template?

        I'd recommend testing with a new host with only those items (that's what I did above, for passive items this is easy to set up in parallel with no changes in the agent side), does it change the behavior in your case?

        Markku

        Comment

        • ku4eto
          Junior Member
          • Jul 2026
          • 6

          #5
          Originally posted by Markku
          Right. Is that a one-host problem, or with all hosts using the same template?

          I'd recommend testing with a new host with only those items (that's what I did above, for passive items this is easy to set up in parallel with no changes in the agent side), does it change the behavior in your case?

          Markku
          Hm, turns out, it may have been caused by something borked with the agent itself. Supposedly was started OK, but after restarting the service, the trigger works properly now.

          Comment

          Working...