Performing Notification Ping for Selected Nodes

To perform the Notification ping for selected Nodes (as detailed in the Available Ant Targets section), specify names of the Nodes in the enterprise_healthcheck_data.xml file and run the following command:
ant -f enterprise_healthcheck_build.xml np hns

The following is the sample output for the command:

As shown in the following output, Notification ping runs for the Nodes mentioned in the enterprise_healthcheck_data.xml file along with Hosts managing the Nodes. You can view exactly how many entities responded to Notification ping in the CLI output. In the following sample output, all entities have replied, so result is displayed as Received 2 out of 2 replies.
[AMXAdminTask] 26 Aug 2019 16:48:58  INFO - Initializing JSSE's crypto provider class com.sun.net.ssl.internal.ssl.Provider in default mode
[AMXAdminTask] 26 Aug 2019 16:48:59  INFO - Connecting to AMX Admin server at 'http://test-t470:8120' as user 'root'.
[AMXAdminTask] 26 Aug 2019 16:49:00  INFO - Executing action 'checkDeploymentHealth' for 1 objects from data file 'D:\AMX_Installations\AMX_340_HF1_V66_TI\DATA_EDHC_Changes\admin\amxadmin\samples\enterprise_healthcheck_data.xml'
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO - Starting Enterprise Deployment Health Check (Invocation ID: root:healthcheck:2019-08-26-164902) CLI options in use: [ping,notificationPing]
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO - XML report will be created in [D:\AMX_Installations\AMX_340_HF1_V66_TI\DATA_EDHC_Changes\admin\amxadmin\samples]
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO - For ActiveMatrix Enterprise: amxadmin [access URL: http://test-t470:8120]
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO - Running Ping for below Entities [Filtered based on NODE(s) specified in the data file enterprise_healthcheck_data.xml]
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -     For Environment: [Env1]
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -         Host [HostB] manages:
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -             Node(s): NodeZ
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO - Deployment Health Check is in progress, may take a few minutes ...
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO - Admin Information :
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -     Time taken to ping Admin: 0.007 seconds
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO - Host information:  [Showing ping timings]
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -     Host: HostB
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -         Host Version: 3.4.0.HF1
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -         Host Ping Time: 0.0 seconds
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -         Node: NodeZ
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -             Node Ping Time: 0.004 seconds
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -             Node Status: Initialized
[AMXAdminTask] 26 Aug 2019 16:49:02  INFO -
[AMXAdminTask] 26 Aug 2019 16:49:03  INFO - Enterprise Notification ping initiated at - 26 Aug 2019 16:49:03
[AMXAdminTask] 26 Aug 2019 16:49:03  INFO - .
[AMXAdminTask] 26 Aug 2019 16:49:04  INFO - Enterprise Notification ping completed in 1 seconds
[AMXAdminTask] 26 Aug 2019 16:49:04  INFO - Received 2 out of 2 replies [1 Host(s) and 1 Node(s).]
[AMXAdminTask] 26 Aug 2019 16:49:10  INFO - ---------------------------------------------------------------------------------
[AMXAdminTask] 26 Aug 2019 16:49:10  INFO - Enterprise Deployment Health Check is now Complete with the status PASSED.
[AMXAdminTask] 26 Aug 2019 16:49:10  INFO - ---------------------------------------------------------------------------------
[AMXAdminTask] 26 Aug 2019 16:49:10  INFO - Publishing Health Check report to the [XML format] file: D:\AMX_Installations\AMX_340_HF1_V66_TI\DATA_EDHC_Changes\admin\amxadmin\samples\DeploymentHealthCheckReport_root_healthcheck_2019-08-26-164902.xml
[AMXAdminTask] 26 Aug 2019 16:49:11  INFO - Health Check report file was created successfully.
[AMXAdminTask] 26 Aug 2019 16:49:11  INFO - Action finished at 8/26/19 4:49 PM in 8.942 seconds

The names of the Nodes used for this Notification ping execution are input from the enterprise_healthcheck_data.xml file.

Sample enterprise_healthcheck_data.xml:
<Environment xsi:type="amxdata:Environment" name="Env1" description="Dev environment" contact="TIBCO"> 
		<Node  xsi:type="amxdata:Node" name="NodeZ"/> 
    </Environment>