Splunk AppDynamics

PHP Agent unique host id is ip address.

手塚_隆之
Path Finder

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?

Labels (1)
0 Karma
1 Solution

Piyush_Mundra
Communicator

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

View solution in original post

0 Karma

手塚_隆之
Path Finder

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?

0 Karma

Piyush_Mundra
Communicator

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

0 Karma

手塚_隆之
Path Finder

Hello Piyush,

I understood!

Thank you!

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...