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

Services_with_* should return empty list if empty #66

Closed jacobbaungard closed 5 years ago

jacobbaungard commented 5 years ago

If a host does not have any services, services_with_state and services_with_info LMD currently returns null. Livestatus on the otherhand returns an empty list instead.

This commit makes the output consistent with livestatus.

sni commented 5 years ago

cool, thanks