Integrating Nginx with applicare
Configuration in Nginx Agent:
1. The NGINX Log format should be like this.
log_format main '$remote_addr - $remote_user $time_iso8601 [$request_time] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
If the above specified pattern is not matching then comment the existing pattern and add the new pattern.

2. If there was any change in the configuration file restart the Nginx server.
NGINX Metrics:
App Server:
OS Metrics:
CPU Cores:
Processes Details:
Disk Details:
Network Connections:
Mbeans:
Http:
Http Error:
Notes:
To enable add the flag -Dapplicare.importerlog=true and restart the agent.
It will create a new log file <servername>_dataimporterLogs.txt inside the logs directory.
Please sign in to leave a comment.
Comments
0 comments