Wanted to monitor elasticsearch and opensearch through check_mk

I just installed check_mk agent on that server and tried running that rule. Will that not work? Or do I need to install any specific agent?