Werk #2493: Fixed wrong JSON format when using stats queries together with header columns
Component | Livestatus | ||
Title | Fixed wrong JSON format when using stats queries together with header columns | ||
Date | Jul 28, 2015 | ||
Level | Trivial Change | ||
Class | Bug Fix | ||
Compatibility | Compatible - no manual interaction needed | ||
Checkmk versions & editions |
|
e.g. this query lead to invalid JSON output:
GET statehist Filter: time >= 1425168000 Filter: time < 1427846400 Filter: host_name = name Filter: service_description = Description Stats: sum duration_part_ok OutputFormat: json ColumnHeaders: on
Output: [["stats_1"][0.0000000000e+00]]