Cannot determine port due to unknown HANA version

Thank you Sofia.
Before checking I need some more clarification :

  1. This should be executed on the target (monitorred) machine?
  2. Where do I find “instance_number”? Ask it from SAP admin?
    Maybe I have to clarify myself - I amd doing just monitoring and there is OS admin and SAP admin (for the monitored machine) whom I have to ask to perform actions there.