Ping Server Dynamic Action

About

The Ping Server package action is a highly useful and efficient method for verifying whether a network server is active and responsive. By using this action, network administrators or users can quickly determine if a server is reachable over the network, helping to identify potential issues such as server downtime, network outages, or configuration errors.

Use Cases for the Ping Server Action

  1. Routine Maintenance: Before performing updates, backups, or other system tasks, verifying that the server is reachable ensures smooth operation.
  2. Diagnosing Network Issues: When users report problems accessing resources or services, the PING Server action helps determine if the issue is related to server unavailability or network disruption.
  3. Monitoring Remote Servers: For servers hosted in different geographic locations or cloud environments, regular pings help monitor uptime and connectivity.
  4. Detecting Firewall or Configuration Problems: In cases where pings fail, it may reveal that a firewall is blocking the ICMP requests, or there is a configuration error preventing network communication.

Metadata tab

Ping Server Action - Metadata tab
 

  1. The Write Variables option ensures that the “Package Action” logs the variable values into the “Action vars before log file” before the action is executed and logs the updated variable values into the “Action vars after log file” after the action completes.
  2. This option is typically used for debugging and is not recommended in a production environment.
  3. It can be globally disabled through the options dialog .

Parameters tab

Ping Server Action - Parameters tab

Variables tab

The Variables tab defines which variables are updated during the execution of the action.

Ping Server Action - Variables tab

Execution log tab

The Execution Log tab is populated after the action has been executed. Double-click a row to view the detailed execution log.

Ping Server Action - Execution log tab

Pinging different server depending on the day of the week

Pascal

Ping Server Action - Calculated Server Name example - Pascal
  Script

begin
 if DayOfWeek(Now)=1 then
    begin
     Result:='www.etl-tools.com';
    end
 else
    begin
     Result:='www.dbsoftlab.com';
    end;
end;

Python

Ping Server Action - Calculated Server Name example - Python
  Script

import datetime;
if datetime.datetime.today().weekday()==0:
   Result.Value='www.etl-tools.com'
else:
   Result.Value='www.dbsoftlab.com'

Video Tutorial


For more technologies supported by our ETL Software see Advanced ETL Processor Versions

Confused? Ask question on our ETL Forum

Posted on May 4, 2025 • 2 min read • 380 words
www.etl-tools.com About Support Pricing Cookies Policy Term Of Use Privacy Policy License