python-mk-livestatus icon indicating copy to clipboard operation
python-mk-livestatus copied to clipboard

Support stats queries.

Open riconnon opened this issue 10 years ago • 1 comments

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.

riconnon avatar Apr 09 '15 14:04 riconnon

Would you consider adding a test for that case ?

arthru avatar Apr 10 '15 06:04 arthru