PHP Monitoring

Creating a new PHP monitor

Prerequisites for monitoring PHP server metrics: Click here

Using the REST API to add a new PHP server monitor: Click here

To create a PHP monitor, follow the steps given below:

  1. Find the phpstats.php file which is bundled with Applications Manager. The file is located under <Applications Manager Home>\working\resources directory.
  2. Place the phpstats.php file in the web server's document root to start monitoring. Applications Manager connects to the server and retrives PHP and checks its availability.
  3. Click on New Monitor link. Select PHP Monitoring.
  4. Enter the IP Address or hostname of the host in which the Monitor is running.
  5. Enter the SubNetMask of the network.
  6. Provide the port number in which the monitor is running.
  7. Choose SSL option, if SSL is enabled in PHP.
  8. Enter the path to be connected. By default, ' /phpstats.php ' is shown. http://hostname:portNo/"path to be connected" will be used for connection
  9. Enter the polling interval time in minutes.
  10. If you are adding a new monitor from an Admin Server, select a Managed Server.
  11. Choose the Monitor Group from the combo box with which you want to associate PHP Monitor (optional). You can choose multiple groups to associate your monitor.
  12. Click Add Monitor(s). This discovers the PHP service from the network and starts monitoring them.

Security/Firewall Requirements: The host and port of the PHP server should be accessible from the Applications manager installed machine.

Monitored Parameters

  • Availability tab gives the availability history for the past 24 hours or 30 days.
  • Performance tab gives the Health Status and events for the past 24 hours or 30 days.
  • List view enables you to perform bulk admin configurations.

Following are the list of metrics that are monitored in PHP monitoring:

Performance Overview

Response Time - Last One Hour
Response Time The time taken for the PHP server to respond while monitoring (in milliseconds).
Page Faults - Last One Hour
Current PageFault Value Number of page faults occured.
Swaps Number of swaps occured.
User Time The total amount of time spent executing in user mode.
Busy Servers - Last One Hour
Busy Servers Number of servers that are currently busy.
Idle Servers Number of servers that are currently idle.
Bytes Transferred - Last One Hour
Bytes per Sec Number of bytes transferred per second.