The following example shows the use of VCSAG_SET_ENVS and VCSAG_LOG_MSG functions in a shell script for the online
entry point.
VCS_HOME="${VCS_HOME:-/opt/VRTSvcs}"
. $VCS_HOME/bin/ag_i18n_inc.sh
# Assume the category id assigned by Symantec for this custom agent #is 10061
# Online entry point processing
# Successful completion of the online entry point
VCSAG_LOG_MSG "N" "online succeeded for resource $ResName" 1 "$ResName"