Quite often, it is necessary to modify certain values in the agent's client.conf file on Unix, Linux or Macintosh clients when troubleshooting issues. Among those values is the debug_level. The attached shell scripts can be used to facilitate this process in place of using an editor to make this modification to a client.conf file.
The debug_level is used to set the amount of detail written to the aex-client.log file for the various unix and mac processes.
This script requires that a value be entered on the command line. The only acceptable values are: error, warning, info, debug, dbgverbose and devnote. 'Error' is the least detailed and 'Devnote' is the most detailed. Typically, devnote will be used when troubleshooting. Values are NOT case sensitive. The agent process is restarted to ensure that all related processes have been updated with the new debug_level setting.
This script requires the use of root privileges or 'sudo' to modify the client.conf file and to restart the agent. If the agent restart process fails or stalls, enter 'ctrl-c' to break the currently running process and rerun the shell script using sudo, e.g., "sudo ./setdebuglevel.sh"
After downloading the file, run chmod to make it executeable, e.g., "chmod 755 setdebuglevel.sh" or "chmod u+x setdebuglevel.sh". The script will not run if it is not executable.
On a mac, elevated privileges are required for some options. Run 'sudo aex-helper agent...'.
The mac version of aex-helper doesn't appear to support these additional options.