Werk #15165: Add two livestatus column: prediction_file and prediction_files
Component | Core & setup | ||
Title | Add two livestatus column: prediction_file and prediction_files | ||
Date | Sep 15, 2023 | ||
Level | Trivial Change | ||
Class | New Feature | ||
Compatibility | Compatible - no manual interaction needed | ||
Checkmk versions & editions |
|
Add two livestatus columns to the service table.
The "prediction_files" column returns a list of files under "var/check_mk/prediction/HOST/SERVICE/".
Example: lq 'GET services\nColumns: prediction_files\nFilter: description = Uptime'
The "prediction_file" column is a dynamic column that returns the content of a file under "var/check_mk/prediction/HOST/SERVICE/"
Example: lq 'GET services\nColumns: prediction_file:file:metric1/prediction1\nFilter: description = Uptime'