5 Page parameters页面参数

Overview概述

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 (&). 大多数Zabbix Web界面页面都支持各种HTTP GET参数来控制将要显示的内容。 可以通过在URL之后指定参数=值对来传递它们,通过问号(?)与URL分隔,并通过&符号(&)彼此分隔。

Monitoring → Problems

The following parameters are supported:

  • sort - sort column: clock, host, severity, name
  • sortorder - sort order or results: DESC - descending, ASC - ascending
  • filter_set - should be 'filter_set=1' to use "filter_*" parameters
  • filter_rst - should be 'filter_rst=1' to reset filter elements
  • filter_show - filter option "Show": 1 - recent problems, 2 - all, 3 - in problem state
  • filter_groupids - filter option "Host groups": array of host groups IDs
  • filter_hostids - filter option "Hosts": array of host IDs
  • filter_application - filter option "Application": freeform string
  • filter_triggerids - filter option "Triggers": array of trigger IDs
  • filter_name - filter option "Problem": freeform string
  • filter_severity - filter option "Minimum severity": 0 - not classified, 1 - information, 2 - warning, 3 - average, 4 - high, 5 - disaster
  • filter_age_state - filter option "Age less than": should be 'filter_age_state=1' to enable 'filter_age'. Is used only when 'filter_show' equals 3.
  • filter_age - filter option "Age less than": days
  • filter_inventory - filter option "Host inventory": array of inventory fields: [field], [value]
  • filter_evaltype - filter option "Tags", tag filtering strategy: 0 - And/Or, 2 - Or
  • filter_tags - filter option "Tags": array of defined tags: [tag], [operator], [value]
  • filter_show_tags - filter option "Show tags": 0 - none, 1 - one, 2 - two, 3 - three
  • filter_tag_name_format - filter option "Tag name": 0 - full name, 1 - shortened, 2 - none
  • filter_tag_priority - filter option "Tag display priority": comma-separated string of tag display priority
  • filter_show_suppressed - filter option "Show suppressed problems": should be 'filter_show_suppressed=1' to show
  • filter_unacknowledged - filter option "Show unacknowledged only": should be 'filter_unacknowledged=1' to show
  • filter_compact_view - filter option "Compact view": should be 'filter_compact_view=1' to show
  • filter_show_timeline - filter option "Show timeline": should be 'filter_show_timeline=1' to show
  • filter_details - filter option "Show details": should be 'filter_details=1' to show
  • filter_highlight_row - filter option "Highlight whole row" (use problem color as background color for every problem row): should be '1' to highlight; can be set only when 'filter_compact_view' is set
  • from - date range start, can be 'relative' (e.g.: now-1m)
  • to - date range end, can be 'relative' (e.g.: now-1m)

Fullscreen/kiosk mode

Fullscreen and kiosk modes in supported frontend pages can be activated using URL parameters. For example, in dashboards:

  • /zabbix.php?action=dashboard.view&fullscreen=1 - activate fullscreen mode
  • /zabbix.php?action=dashboard.view&kiosk=1 - activate kiosk mode
  • /zabbix.php?action=dashboard.view&fullscreen=0 - activate normal mode