report_agent.sh Script Configure the Report Agent
Valid on UNIX
capamsc141
Valid on UNIX
The report_agent.sh script lets you configure the Report Agent daemon after installation. Use the report_agent.sh script if you need to change the Report Agent configuration settings you set when you installed
Privileged Access Manager
.The report_agent.sh script is located in
ACSharedDir
/lbin. By default, this directory is /opt/CA/PAMSCShared/lbin.This command has the following format:
report_agent.sh startreport_agent.sh stopreport_agent.sh config -server��hostname [-proto {ssl|tcp}] [-port port_number] [-rqueue queue_name] \[-schedule <time@day[,day2,...]>] [-audit] [-bak] [-silent]
- configSpecifies that the remaining parameters configure the Report Agent daemon.
- startStarts the Report Agent.
- stopStops the Report Agent.
- -serverhostnameDefines the name of the Distribution Server host. Combined with the input from the -port option, the script constructs the Distribution Server URL and sets the report_server configuration setting in the ReportAgent section.
- -auditSpecifies whether you want to send endpoint audit data to the Distribution Server. This sets the reportagent_enabled configuration setting in the ReportAgent section.
- -bakSpecifies to keep timestamped backups of audit files. This sets the logmgr section configuration setting Backup_Date to yes and audit_max_files to 50.
- -portport_numberDefines the port number to use for communication with the Distribution Server. Combined with the input from the -server option, the script constructs the Distribution Server URL and sets the report_server configuration setting in the ReportAgent section.
- -protoSpecifies the connection protocol (TCP or SSL). This sets the use_ssl configuration setting in the ReportAgent section
- -rqueuequeue_nameDefines the name of the queue to which the Report Agent sends snapshots of the local database and any PMDBs. This sets the send_queue configuration setting in the ReportAgent section.
- -schedule <time@day[,day2,...]>Defines when to generate reports and when to send the reports to the Distribution Server.
- -silentSpecifies not to ask for confirmation.
Example: Configure the Report Agent
This example sets the Report Agent to send database snapshots to a Distribution Server on rscomp.com using port 61616 over SSL and a queue named queue/snapshots. It also enables sending audit data to the Distribution Server and sets backup settings for the audit log file:
report_agent.sh config -server rscomp.com -proto ssl -port 61616 -rqueue queue/snapshots -audit
Once you configure Report Agent, you should update the +reportagent user with a correct password (shared secret) that the Distribution Server expects. To do this, enter the following:
eu +reportagent epassword(Shared_Secret) nonnative