Wanted to monitor elasticsearch and opensearch through check_mk

Ok - Does that mean it would connect to elasticsearch directly on URL?

For example if my NMS IP is 192.168.1.170 and elasticsearch is 192.168.1.180 and if I am adding rule to monitoring the elasticsearch then 192.168.1.170 would initiate connection to 192.168.1.180 directly? on this URL? https://192.168.1.180:9200/_cat/indices?v