In the case of a Run Script Action, the {query} of the following element is whatever the script prints to STDOUT. In this case, ping's output + Online/Offline. Post Notification treats {query} differently in each field. Title shows only the first line. Text shows more. If you don't want to see the output of ping, use: ping -o -t 2 google.com > /dev/null