+

Search Tips | Advanced Search

ftePingAgent: check whether an MFT agent is active

The ftePingAgent command pings a Managed File Transfer agent to determine whether the agent is reachable and, if so, whether it is able to respond to a simple query.


Purpose

Use the ftePingAgent command to check whether a Managed File Transfer agent is reachable and, if so, whether it is able to respond to a simple query along the lines of are you there?. An example output of this command is as follows:
C:\> ftePingAgent AGENT86
5724-H72 Copyright IBM Corp. 2008, 2020.  ALL RIGHTS RESERVED
BFGPR0127W: No credentials file has been specified to connect to IBM MQ. Therefore, the assumption is that IBM MQ authentication has been disabled.
BFGCL0212I: Issuing ping request to agent AGENT86
BFGCL0213I: agent AGENT86 responded to ping in 0.094 seconds.

Specify the optional -p parameter for this command only if you want to use a set of configuration options different from your default set. See Configuration options for more information.


Syntax

ftePingAgent

ftePingAgent -p configuration options -m agent queue manager -w timeout-mquseriduserID-mqpasswordpasswordagent_name


Parameters


Example

In this example, the command pings the agent AGENT1, which is connected to QM_MERCURY. The command waits for up to 40 seconds for AGENT1 to respond before returning.
ftePingAgent -m QM_MERCURY -w 40 AGENT1


Return codes