python-mk-livestatus
python-mk-livestatus copied to clipboard
Support stats queries.
I've added methods to support stats queries to check_mk livestatus.
I encountered an issue where stats query responses are not formatted correctly. Specifically a single statistic would be formatted as [["stats_1"][2673292]] (note the lack of comma between ] and [
I've included a workaround which adds this comma before processing the JSON when handling stats queries.
Would you consider adding a test for that case ?