Werk #15165: Add two livestatus column: prediction_file and prediction_files
Komponente | Core & setup | ||
Titel | Add two livestatus column: prediction_file and prediction_files | ||
Datum | 15.09.2023 | ||
Level | Kleine Änderung | ||
Klasse | Neues Feature | ||
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen | ||
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'