Logo
EMCO Ping Monitor Documentation Ping Monitor Overview | Download | Purchase

Custom Actions Definition Placeholders

This part of the guide describes the placeholders that can be used in custom actions definitions. You can use these placeholders for forming both the path to the action to be executed and the command line parameters of the action. Do not forget to quote the placeholder or the combination of placeholders used as a command line parameter. The following placeholders can be used for the custom actions definition:

%REMOTE_HOST%

the remote host being monitored, including the host label, if defined;

%REMOTE_HOST_ADDRESS%

the address of the remote host being monitored;

%REMOTE_HOST_LABEL%

the label of the remote host being monitored;

%REMOTE_HOST_IP%

the resolved IP address of the remote host;

%REMOTE_HOST_GROUP%

the group the remote host belongs to;

%REMOTE_HOST_DESCRIPTION%

the description of the remote host being monitored;

%CONNECTION_STATUS%

the current connection status. It can be either 'established', or 'failed to establish', or 'lost', or 'restored'. For the 'lost' and 'failed to establish' statuses, the reason for ping failure is added. If you do not want to see the reason, use the '%SHORT_CONNECTION_STATUS%' placeholder;

%SHORT_CONNECTION_STATUS%

the current connection status. It can be either 'established', or 'failed to establish', or 'lost', or 'restored'. The reason for ping failure is never added;

%CHANGE_TIME%

the time of the connection status change. For the 'lost' and 'failed to establish' statuses this time is the outage start time, and for the 'restored' status this time is the outage end time;

%LOCAL_HOST%

the name of the machine on which the product is running;

%RUNNING_PRODUCT%

the running product name;

%PRODUCT_VERSION%

the current version of the running product;

%TIME%

the current time in a long format;

%DATE%

the current date in a short format;

%DATETIME%

the current date with the current time;

%YEAR%

the current year.