Checking an RFC Destination (ABAP Connection, TCP/IP Connection,..) can be done with the attached RFC script:
It executes FM /SDF/RFC_CHECK which triggers an connection test for a given RFC destination name. The step also checks if an error occurred and sets then the script status to failed.
Under 'Variables' enter the RFC destination to test for the variable RFC_DEST.
Under 'RFC' you can enter or change the connection information for the managed system.
Each message should have at least one check. In the template the value for the export parameter EXPORT.EV_PING_MESSAGE is checked.
For more information on RFC scripts and how to add other check please refer to EEM Script for RFC