Werk #16368: service_discovery: Fixed internal server error on service discovery when IP cannot be resolved

Component REST API
Title service_discovery: Fixed internal server error on service discovery when IP cannot be resolved
Date Feb 12, 2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0p23 2.3.0b1 2.4.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Prior to this Werk, when a service discovery was requested from a host whose IP could not be resolved, the endpoint returned a 500 error status (Internal Server Error). This Werk corrects this behavior and now returns error code 400.

To the list of all Werks