Mean time to recovery (MTTR)

The MTTI widget retrieves recovery data of triggers from of a host group and presents them in a list.

The list is sorted by the mean time to recovery and contains additional information about that trigger.

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

mttr-widget
Widget configuration: MTTR widget

  • Host groups: Select host groups to be included in the report.
  • Enter minimum number of problems: The minimum amount of problems that trigger generated.
  • Enter trigger limit: The maximum amount of triggers displayed in the PDF render list.

Render examples

mttr-list
MTTR widget: List

  • Host: The source host of the trigger.
  • Sev: The severity associated with the trigger.
  • Trigger name: The name of the trigger.
  • MTTR: The mean time to recovery of an event generated by the trigger within the report period.
  • Events: The amount of events the trigger generated within the report period.
{
	"name": "mttr-widget",
	"displayName": "MTTR",
	"description": "mean time to recover",
	"error": "",
	"config": {
		"host_groups": [
			{
				"id": 87,
				"name": "IntelliTrend"
			}
		],
		"min_problems": 1,
		"limit": 15
	},
	"hostgroups": [
		{
			"hostgroup": {
				"flags": 0,
				"groupid": 7,
				"name": "IntelliTrend",
				"uuid": "46d623619195dd8f45802b8"
			},
			"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": "46d62361914dd8f45802b8"
							}
						],
						"hosts": [
							{
								"description": "MessBox",
								"flags": 0,
								"host": "messpc1",
								"hostid": 1197,
								"inventory_mode": 0,
								"ipmi_authtype": -1,
								"ipmi_privilege": 2,
								"maintenance_from": 0,
								"maintenance_status": 0,
								"maintenance_type": 0,
								"name": "Umgebung: MessPC1",
								"proxy_hostid": 1043,
								"status": 0,
								"tls_accept": 1,
								"tls_connect": 1,
								"proxyid": 1043
							}
						],
						"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": "46d623619694dd8f45802b8"
							}
						]
					},
					"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
						}
					],
					"averageTimeToRecovery": 63880
				}
			]
		}
	]
}
Last modified April 22, 2025: (6b172f790)