Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

Debugging

Before we start debugging the predictive monitoring, we need to increase the log level of Livestatus to debug as described here: How to collect troubleshooting data for various issue types#Core

...

Tip

So the prediction for this should work!


Common issues

Predictive monitoring in a distributed setup

At the moment, predictive monitoring is only on a local site possible. In a distributed setup, you will receive this message on the central node. 

...

Code Block
languagebash
themeRDark
Error: There is currently no prediction information available for this service.


No reference for prediction yet

Note

Checkmk will show a prediction if he has enough history data. In case you don't have enough data, you can configure a shorter time horizon!


Crash report on prediction icon

Screenshot of An internal error occurred while processing your request. You can report this issue to the Checkmk team to help fixing this issue. Please open the crash report page and use the form for reporting the problem.


Code Block
languagebash
themeRDark
Internal error: ’>’ not supported between instances of ‘NoneType’ and ‘NoneType’

An internal error occurred while processing your request. You can report this issue to the Checkmk team to help fixing this issue. Please open the crash report page and use the form for reporting the problem.

...

We will fix this in future Checkmk Releases!

Files and directories

Warning

This is the code for the prediction. Please don't do any changes inside these files

...

Code Block
languagebash
themeRDark
OMD[mysite]~# ~/lib/python3/cmk/base/check_api.py
OMD[mysite]~# ~/lib/python3/cmk/gui/prediction.py  
OMD[mysite]~# ~/lib/python3/cmk/base/prediction.py


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "lql" , "lql_queries" , "predictive_monitoring" , "troubleshooting" ) and type = "page" and space = "KB"
labelspredictive_monitoring lql lql_queries

...