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:
- Find the phpstats.php file which is bundled with Applications Manager. The file is located under <Applications Manager Home>\working\resources directory.
- 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.
- Click on New Monitor link. Select PHP Monitoring.
- Enter the IP Address or hostname of the host in which the Monitor is running.
- Enter the SubNetMask of the network.
- Provide the port number in which the monitor is running.
- Choose SSL option, if SSL is enabled in PHP.
- Enter the path to be connected. By default, ' /phpstats.php ' is shown. http://hostname:portNo/"path to be connected" will be used for connection
- Enter the polling interval time in minutes.
- If you are adding a new monitor from an Admin Server, select a Managed Server.
- 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.
- Click Add Monitor(s). This discovers the PHP service from the network and starts monitoring them.
- 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:
|Response Time - Last One Hour
||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.
||Number of swaps occured.
||The total amount of time spent executing in user mode.
|Busy Servers - Last One Hour
||Number of servers that are currently busy.
||Number of servers that are currently idle.
|Bytes Transferred - Last One Hour
|Bytes per Sec
||Number of bytes transferred per second.