Ad Widget

Collapse

Aggregate Checks incorrect function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mattjan
    Junior Member
    • Apr 2021
    • 19

    #1

    Aggregate Checks incorrect function

    Hi,
    I'm using 5.0.
    I'm trying to use Aggregate check grpavg but always get Incorrect function expression, below what I've been trying in formula:
    grpavg["TestAVG", "perf_counter["\Web Service(_Total)\Current Connections"]", last]
    grpavg["TestAVG", "perf_counter["\Web Service(_Total)\Current Connections"]", last]
    grpavg["TestAVG", "vm.memory.size[pused]", "last"]
    grpavg["TestAVG", "vm.memory.size[pused]", last]
    grpavg["TestAVG", vm.memory.size[pused], last]
    grpavg["TestAVG",vm.memory.size[pused],last]
    Group name is correct (copy paste), item,key is the same for all host group.

    I even tried from documentation (I don't have this group but same error):

    grpavg["MySQL Servers","system.cpu.load[,avg1]",last]


    Presently I do manual calculation to get all average from the hosts and I need to use parseInt(value) because returning string.

    Thanks,
    Click image for larger version

Name:	VxaGDeSN6Q.png
Views:	302
Size:	11.2 KB
ID:	431338


  • mattjan
    Junior Member
    • Apr 2021
    • 19

    #2
    My bad, didn't read the documentation properly, type should be Zabbix aggregate instead of calculated item.

    Comment

    Working...