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

Change servicegroups members to InterfaceList #70

Closed jacobbaungard closed 5 years ago

jacobbaungard commented 5 years ago

The members column of servicegroups where previously defined as a StringListCol. This resulted in an incorrect format, where it would be impossible to distinguish the hostname from the service description if either had a space in it.

Livestatus would output the member as: ["monitor","System load average"] whereas it would LMD would output it as: "[monitor System load average]"

By setting the servicegroup members column to InterfaceListCol we correct the output to be in line with Livestatus.

sni commented 5 years ago

thanks, you are totally right. Maybe i'll add a specific type for this later...