sni / lmd

Livestatus Multitool Daemon - Create livestatus federation from multiple sources
https://labs.consol.de/omd/packages/lmd/
GNU General Public License v3.0
42 stars 31 forks source link

Set days column in Timeperiods to InterfaceListCol #75

Closed jacobbaungard closed 5 years ago

jacobbaungard commented 5 years ago

The days column in the timeperiods table was incorrectly marked as StringListCol, resulting in LMD formatting the data incorrectly.

LMD would return: ["[]","[28800 61200]","[28800 61200]","[28800 61200]","[28800 61200]"...

Livestatus would return: [[],[28800,61200],[28800,61200],[28800,61200],[28800,61200],[28800,61200],[]]

Signed-off-by: Jacob Hansen jhansen@op5.com

sni commented 5 years ago

thanks