Ad Widget

Collapse

Calculated Item can't be added.Invalid parameter "/1/params"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skyboy
    Junior Member
    • Aug 2021
    • 4

    #1

    Calculated Item can't be added.Invalid parameter "/1/params"

    I tried to add a calculated item to monitor the total traffic.

    The formula is 'last(net.if.in["enp4s0'])+last(net.if.out["enp4s0'])'

    But it couldn't be added. The error message was Invalid parameter "/1/params": incorrect expression starting from "last(net.if.in["enp4s0'])+last(net.if.out["enp4s0'])".

    What did I miss?
  • skyboy
    Junior Member
    • Aug 2021
    • 4

    #2
    I found the issue!

    The formula should be

    last(//net.if.in[eth0,bytes])+last(//net.if.out[eth0,bytes])'

    But in this article https://blog.zabbix.com/zabbix-monit...xplained/9950/, it was

    last(net.if.in["enp0s8"])+last(net.if.out["enp0s8"])

    Comment


    • sanq
      sanq commented
      Editing a comment
      You were a big help!

    • sergio-gimenez
      sergio-gimenez commented
      Editing a comment
      Super helpful, I was stuck on this.Thanks
Working...