Trigger state

The trigger state widget retrieves trigger data from a host group based on how much time a trigger has spent in the problem state.

The configuration of a trigger state widget offers the following options (aside from the general settings of a widget):

trigger-state-widget
Widget configuration: Trigger state widget

  • Enter trigger limit: The maximum amount of triggers displayed in the PDF render list.

Render examples

trigger-state-list
MTTI widget: List

  • Host: The source host of the trigger.
  • Sev: The severity associated with the trigger.
  • Trigger name: The name of the trigger.
  • Time in problem state: The time the trigger spent in a problem state.
  • Events: The amount of events the trigger generated within the report period.
{
	"name": "trigger-state-widget",
	"displayName": "Trigger state",
	"description": "trigger state widget",
	"error": "",
	"config": {
		"host_groups": [
			{
				"id": 87,
				"name": "IntelliTrend"
			}
		],
		"limit": 10
	},
	"hostgroups": [
		{
			"hostgroup": {
				"flags": 0,
				"groupid": 7,
				"name": "IntelliTrend",
				"uuid": "46d62361dd8f45802b8"
			},
			"triggers": [
				{
					"trigger": {
						"comments": "Host {HOST.NAME}: Temperatur auf dem Sensor 2 zu hoch / {ITEM.LASTVALUE1} °C",
						"correlation_mode": 0,
						"description": "[{HOST.NAME}] - Sensor 2 Temperatur \u003e {$UMGEBUNG_TEMP_WARNING:\"2\"} °C / {ITEM.LASTVALUE1} °C",
						"expression": "{42863}\u003e{$UMGEBUNG_TEMP_WARNING:\"2\"}",
						"flags": 4,
						"groups": [
							{
								"flags": 0,
								"groupid": 7,
								"name": "IntelliTrend",
								"uuid": "46d623619d8f45802b8"
							}
						],
						"hosts": [
							{
								"description": "MessBox",
								"flags": 0,
								"host": "messpc1",
								"hostid": 11797,
								"inventory_mode": 0,
								"ipmi_authtype": -1,
								"ipmi_privilege": 2,
								"maintenance_from": 0,
								"maintenance_status": 0,
								"maintenance_type": 0,
								"name": "Umgebung: MessPC1",
								"proxy_hostid": 10543,
								"status": 0,
								"tls_accept": 1,
								"tls_connect": 1,
								"proxyid": 10543
							}
						],
						"lastchange": 1744752488,
						"manual_close": 0,
						"priority": 2,
						"recovery_expression": "{42864}\u003c{$UMGEBUNG_TEMP_WARNING:\"2\"}*(1-{$HYSTERESIS_COEFFICIENT})",
						"recovery_mode": 1,
						"state": 0,
						"status": 0,
						"triggerid": 29038,
						"type": 0,
						"value": 1,
						"hostGroups": [
							{
								"flags": 0,
								"groupid": 7,
								"name": "IntelliTrend",
								"uuid": "46d62361919545802b8"
							}
						]
					},
					"events": [
						{
							"acknowledged": 0,
							"clock": 1744043768,
							"eventid": 55815720,
							"name": "[Umgebung: MessPC1] - Sensor 2 Temperatur \u003e 29 °C / 29.4 °C",
							"ns": 496766631,
							"object": 0,
							"objectid": 29038,
							"r_eventid": 55829108,
							"severity": 2,
							"source": 0,
							"suppressed": 0,
							"value": 1
						}
					],
					"totalTimeInProblemState": 191640,
					"percentageOfTimeInProblemState": 31.686507936507937
				}
			]
		}
	]
}
Last modified April 22, 2025: (6b172f790)