HP Intelligent Management Center v5.1 SP1 Application Manager Administrator Guide

239
PHP
Hypertext Preprocessor (PHP) is a scripting language embedded in the HTML text, and is usually used to
develop Web programs. When a user accesses Web pages developed by using the PHP language, the
Web server first delivers the Web pages with the PHP language embedded to the PHP service for
parsing, and then sends the parsed pages to the user. APM can monitor the PHP service which is
responsible for parsing pages.
This section describes how to add a PHP application monitor and the details of PHP application monitor
reports.
Adding a PHP application monitor
APM monitors whether PHP is running properly through the Web service port (TCP 80 by default). APM
requests for PHP pages from the Web server, and determines whether the PHP service can normally
parse the PHP pages according to the returned results.
When you add a PHP application monitor, make sure that the host installed with PHP is already added
to the IMC platform. For how to add a host to the IMC platform, see IMC Base Platform Administrator
Guide for the chapter on resource management.
To add a PHP application monitor:
1. Click the Resource tab.
2. Enter the Add Application page in one of the following ways:
Select Application Manager > Add Application from the navigation tree.
The page displays all application types that can be monitored by APM.
Select Application Manager > Application Monitor from the navigation tree. Click Add on the
application monitor list page.
3. Click PHP of the Web Server Monitor class.
The page for adding a PHP application monitor appears.
4. Configure the following parameters for the application monitor:
NameEnter the application monitor name, which must be unique in APM. HP recommends
that you use the Application name_host IP address format to name the application monitor.
DescriptionEnter a description for the application monitor to aid maintenance.
IP AddressClick Select and select the target host where PHP is installed in the Select Devices
window.
PortEnter the Web service port number, which is 80 by default.
Polling Interval (min)Select a polling interval for the application monitor. Available options
include 1, 2, 3, 4, 5, 10, 20, and 30. The default polling interval is 5 minutes. A shorter
polling interval provides more accurate real-time data, but requires higher performance.
Relative PathEnter the relative path of the PHP page, which starts with a slash (/). The URL
of a PHP page is in the format of http://+<IP address>+relative path, for example,
http://10.154.240.55/index.php, where the relative path is /index.php.
ContactEnter the contact information, such as name, email address, and telephone number.
Related ApplicationClick Add to the right of the field. The Select Application window
appears. Select the applications that PHP depends on, and click OK. You can view all the
dependent applications of PHP in the application topology. When you select dependent