Set Up a Pepperdata Proxy (RPM/DEB)
If your cluster hosts must be “air gapped” from the internet or otherwise isolated, you can use a proxy server on your network to enable Pepperdata functionality.
Pepperdata is fully integrated with the standard https_proxy environment variable, which you can configure in the Pepperdata configuration file, /etc/pepperdata/pepperdata-config.sh.
Procedure
- 
    
Configure the environment variable for the proxy host and port,
https_proxy.- 
        
On any host in the cluster, open the Pepperdata configuration file,
/etc/pepperdata/pepperdata-config.sh, for editing. - 
        
Uncomment and update the environment variable for the proxy host and port, in the following format. Be sure to replace the
my_proxy_urlandmy_proxy_portplaceholders with your actual proxy server name and port number.export https_proxy=my_proxy_url:my_proxy_port - 
        
Save your changes and close the file.
 
 - 
        
 - 
    
On every host in the cluster, restart the PepCollector and PepAgent services.
- 
        
Restart the Pepperdata Collector.
You can use either the
service(if provided by your OS) orsystemctlcommand:sudo service pepcollectd restartsudo systemctl restart pepcollectd
 
- 
        
Restart the PepAgent.
You can use either the
service(if provided by your OS) orsystemctlcommand:sudo service pepagentd restartsudo systemctl restart pepagentd
 
 - 
        
 - 
    
(Optional) Verify that hosts can connect to the Pepperdata dashboard through the proxy server as it’s configured.
- 
        
Log in to the host that you want to test.
 - 
        
Source the Pepperdata configuration.
source /etc/pepperdata/pepperdata-config.sh - 
        
Use cURL to connect to the Pepperdata dashboard.
curl --tlsv1.2 -v https://upload-main.pepperdata.com 
A successful connection confirms that the proxy server is correctly configured.
 -