Defining Ping Result Analysis and Output

1.Extend a Basic Output node from the Table1 node.

2.In the Output1 node, add two conditions and define it as follows:
Condition1: $ping_result == True
Condition2: $ping_result != True

3.Output a message when Ping succeeds:

1)Point to the Output node, click the icon, select Condition1, select Message from the Action Node drop-down list and click Extend.

2)In the Message1 node, set the message level as Information and define the message: Ping successful!

4.Output an alert message when Ping failed:

1)Point to the Output node, click the icon, select Condition2, select Message from the Action Node drop-down list and click Extend.

2)In the Message2 node, set the message as Error and define the message: Ping failed from $this to the target.

5.Save and run the Qapp.