Most Zabbix web interface pages support various HTTP GET parameters that control what will be displayed. They may be passed by specifying parameter=value pairs after the URL, separated from the URL by a question mark (?) and from each other by ampersands (&).
Accessed as Monitoring → Triggers, page name tr_status.php
.
To set the filter, parameter filter_set=1
must be passed. Fields that are not specified will be reset to default values.
Inventory filter
Since Zabbix 2.4.0, triggers can also be filtered by inventory. Here the syntax is a bit more complicated. Inventory fields and their values are added as zero-based index entries, for example:
inventory[0][field]=type_full
inventory[0][value]=Virtual machine
inventory[1][field]=os_full
inventory[1][value]=Linux
These must be URL-encoded, though. The passed values would look like:
inventory%5B0%5D%5Bfield%5D=type_full
inventory%5B0%5D%5Bvalue%5D=Virtual machine
inventory%5B1%5D%5Bfield%5D=os_full
inventory%5B1%5D%5Bvalue%5D=Linux
Inventory field codes can be found in the Zabbix API host object documentation.
Access to events of a specific trigger, which may be useful for notifications is to use a URL like: