The PHP Web Request (formerly cURL) sensor allows you to track PHP external calls. Use this sensor if your applications depend on calling external servers. With all environment elements instrumented with an AppMon Agent, you should be able to see who is calling whom and why and what is executing. This allows you to see entire application delivery chain as one (as opposed to atomized paths for each web server).
With the Web Requests sensor in place for the modular infrastructure, the communication between each component, the number of calls made, the call rate, protocols used and the impact is shown as one logical unit.
- PHP cURL functions
- PHP cURL function arguments
- PHP SOAP functions
- PHP SOAP function arguments
- PHP file_get_contents function
- PHP file_get_contents function arguments
- PHP readfile function
- PHP readfile function arguments
- PHP fopen function
- PHP fopen function arguments
- PHP file function
- PHP file function arguments
- External PHP calls
The full URL is always reported as an argument in PurePath dashlet. The Transaction Flow shows all remote calls made to other web servers.
If you have AppMon Agents deployed for each web server that takes part in communication, you can see all file and function executions as a single PurePath.
To place and configure the PHP Web Requests sensor:
- Start the AppMon Client.
- Open the System Profile Preferences window for your application. Then under System Profiles, right-click your application and choose Edit System Profile.
- Enable PHP scripts monitoring. To do this, navigate to General settings for your application, and select the PHP check box in the Technology section.
- Place the PHP Web Requests sensor.
- Go to the Sensor Placement section for your agent group.
- In the Sensor Placement table, find the PHP Web Requests sensor and select the check box in the Place column to enable it.
- Click OK to save the settings.
PurePaths with and without web requests sensor placed
When a PHP code contains a cURL, or any other command previously listed, execution functions referring a remote file:
- Without Web Requests sensor placement, you see separate PurePaths reported for each PHP file.
- With Web Requests sensor placement, you see a single PurePath with all invocations combined.