Checkmk 2.0 ist hier! Alle Neuigkeiten erfahren.

Werk #11517: Detect slow views and log view details in web.log

Komponente GUI
Titel Detect slow views and log view details in web.log
Datum 02.12.2020
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.1.0i1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Some builtin or own views may take longer time than expected. In order to detect slow views you have to set

  • the log level to DEBUG at Setup > General > Global settings > User Interface > Log levels > Slow views,
  • a threshold (in seconds) at Setup > General > Global settings > User Interface > Threshold for slow views.
The logging is disable by default. The default threshold is set to 60 seconds. If enabled one log entry per view rendering that exceeeds the configured threshold is logged to var/log/web.log and contains the following information:
  • View name
  • User which called this view
  • Row limit
  • Limit Type (none, soft or hard)
  • URL variables
  • View context (eg. filters)
  • #Unfiltered rows
  • #Filtered rows
  • #Rows after above limit
  • Duration of fetching rows via livestatus
  • Duration of filtering rows
  • Duration of rendering the view
  • Duration of rendering/processing the whole page
Zur Liste aller Werks