zabbix / python-zabbix-utils

Python library "zabbix-utils"
MIT License
114 stars 16 forks source link

Getting strange Triggerrexpressions #24

Closed kszyma closed 2 weeks ago

kszyma commented 2 weeks ago

Hi,

when i get.host with

        hosts = zabbix.host.get(output="extend", filter={"host": host_name}, selectInterfaces=["interfaceid"],
                                selectTriggers=["description", "expression"], selectItems=["itemid", "name", "key_"])

I get such triggereexpressions:

        {
          "triggerid": "49846",
          "description": "/: Running out of free inodes",
          "expression": "{80904}<{$VFS.FS.INODE.PFREE.MIN.CRIT:\"/\"}"
        },

When i take a look into zabbix i see this expression:

min([/hosat.foo.bar/vfs.fs.dependent.inode[/,pfree]](javascript:void(0)),5m)<{$VFS.FS.INODE.PFREE.MIN.CRIT:"/"}

Why i see {80904} instead of min(/hosat.foo.bar/vfs.fs.dependent.inode[/,pfree],5m) ?

Zabbix Server Version is 7.0.2

Thanks :)