Wanted to monitor elasticsearch and opensearch through check_mk

Does that mean it would leverage the check_Mk agent installed on server?