cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PHP Agent unique host id is ip address.

手塚.隆之
Builder

Env:Vers4.3.8 SaaS

Server:Amazon Linux

Agent:PHP

 

I installed php agent.

I saw the list of agents.

The unique host ID was an IP address.

 

I have set up a host name.

Why does not the unique host ID become the host name?

 

3 REPLIES 3

手塚.隆之
Builder

I edited "$ PHP_Agent_HOME / proxy / runProxy".
Near line 219

 

                            cmdLine [$ {# cmdLine [@]}] = "- XX: - UseGCOverheadLimit"
<Add this line>     cmdLine [$ {# cmdLine [@]}] = "- Dappdynamics.agent.uniqueHostId = <Custom Unique Host ID>"

 

As a result, the Unique Host ID of PHP Agent has been changed to custom value.

 

Is this correct operation?

Is there any other way?

 

Hi Teduka,

 

The changes you did were absolutely fine and at the moment this is the only way to provide a custom unique host id with the PHP agent.

 

Please let us know in case of any issues with this.

 

Best Regards,

Piyush

Hello Piyush,

 

I understood!

 

Thank you!

 

Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors