SiteScope User's Guide
Apache Server Monitor
The SiteScope Apache Server Monitor allows you to monitor the administrative and performance statistics for an Apache server. As one of SiteScope Application Monitors, the error and warning thresholds for the Apache Server Monitor can be set on as many as ten Apache server performance statistics.
The Apache Server Monitor allows you to monitor the content of server administration pages for Apache servers. You can monitor multiple parameters or counters with a single monitor instance. This allows you to watch server loading for performance, availability, and capacity planning. Create a separate monitor instance for each Apache server you're running.
Before you can use the Apache Server Monitor, you will need to configure the Apache server you want to monitor so that status reports (server-status) are enabled for the server. The steps needed to do this may vary depending on the version of Apache you are using.
You will also need to enable extended status (ExtendedStatus On) in the configuration file.
You will also need to know the URL of the server statistics page for the server you want to monitor. The SiteScope Apache Server Monitor currently supports the server status page available via http://server_address:port/server-status?auto. The port will normally be port 80 although this may vary depending on the server set up and your environment. For some Apaches server configurations you may need to use the server name rather than an IP address in order to access the server statistics page.
The default run schedule for this monitor is every 10 minutes, but you can change it to run more or less often using the Update every setting.
Completing the Apache Server Monitor Form
To display the Apache Server Monitor Form, either click the Edit link for an existing Apache Server Monitor in a monitor table, or click the add a Monitor link on a group's detail page and choose the "Add Apache Server Monitor" link.
Complete the items on the Apache Server Monitor Form as follows. When the required items are complete, click the Add Monitor button to create the monitor instance.
- Choose the server URL you want to verify with this monitor. This should be the Apache server statistics URL which usually has the form of http://servername:port/server-status?auto
- Choose the server performance parameters or counters you want to check with this monitor. The table list to the right of this item displays those currently selected for this monitor. Use the choose counters link to bring up the counters selection screen. check or clear the check boxes on the choose counters screen to select between one to ten counters to monitor on this server. The performance parameters or counters available for the Apache Server Monitor include:
- Total Accesses
- Total kBytes
- CPULoad (not available on most Win32 versions)
- Update every
- Enter how frequently the monitor should access the URL entered above. The drop-down list to the right of the text box lets you specify time increments of seconds, minutes, hours, or days. You must specify a time increment of at least 15 seconds.
- Title (Optional)
- Enter a name for this monitor. This name appears in the Name text box on the monitor table when you open the group's detail page. If you don't enter a name, a default name will be created.
The advanced options give you the ability to customize error and warning thresholds, disable the monitor, set monitor run schedules, and other options. If you choose not to set them, SiteScope will use pre-set defaults if available.
- Check this box to temporarily disable this monitor and any associated alerts. To
enable the monitor again, clear the box.
- The number of seconds that the monitor should wait for a response from the server before timing-out. Once this time period passes, the monitor will log an error and report an error status.
- Use this field to select the operating system that the Apache server is running under. The default is Unix. This is used to correctly read server statistics from Apache based on the operating system platform.
- HTTP Proxy
- Optionally, a proxy server can be used to access the server. Enter
the domain name and port of an HTTP Proxy Server.
- Authorization User Name
- If the server you want to monitor requires a name and password for access, enter the name in this box.
- Authorization Password
- If the server you want to monitor requires a name and password for access, enter the password in this box.
- NT Challenge Response
- Check this box if you want SiteScope to use Window's NT Challenge Response authorization when accessing.
- Proxy Server User Name
- If the proxy server requires a name and password
to access the server, enter the name here. Technical note: your proxy server must
support Proxy-Authenticate for these options to function.
- Proxy Server Password
- If the proxy server requires a name and password to access the server, enter the password here. Technical note: your proxy server must support Proxy-Authenticate for these options to function.
- Verify Error
- Check this box if you want SiteScope to automatically run this monitor again if it detects an error. When an error is detected, the monitor will immediately be scheduled to run again once.
Note: In order to change the run frequency of this monitor when an error is detected, use the Update every (on errors) option below.
Note: The status returned by the Verify Error run of the monitor will replace the status of the originally scheduled run that detected an error. This may cause the loss of important performance data if the data from the verify run is different than the initial error status.
Warning: Use of this option across many monitor instances may result in significant monitoring delays in the case that multiple monitors are rescheduled to verify errors at the same time.
- Update Every (on error)
- This options allows you to set a new monitoring interval for monitors that have registered an error condition. For example, you may want SiteScope to monitor this item every 10 minutes normally, but as often as every 2 minutes if an error has been detected. Note that this increased scheduling will also affect the number of alerts generated by this monitor.
- Schedule (Optional)
- By default, SiteScope's monitors are enabled every day of the week. You may, however, schedule your monitors to run only on certain days or on a fixed schedule. Choose the Edit schedule link to create or edit a monitor schedule. For information about creating schedules, read these instructions.
- Monitor Description (Optional)
- Enter additional information about this monitor. The Monitor Description can include HTML tags such as the <BR> <HR>, and <B> tags to control display format and style. The description will appear on the Monitor Detail page.
- Report Description (Optional)
- Enter a description for this monitor that will make it easier to
understand what this monitor does. The description will appear on Management Reports and on the info list for a monitor.
- Depends On (Optional)
- To make the running of this monitor dependent on the status of another monitor or monitor group, use the drop-down list to select the monitor or group on which this monitor is dependent. Select None to remove any dependency.
- Depends Condition (Optional)
- If you choose to make the running of this monitor dependent on the status of another monitor, choose the status condition that the other monitor or monitor group should have in order for the current monitor to run normally. The current monitor will be run normally as long as the monitor or group on which it depends reports the condition selected in this option.
- List Order (Optional)
- By default, new monitors are listed last on the Monitor Detail page. You can use this drop-down list to choose a different placement for this monitor.
Setting Monitor Status Thresholds
SiteScope Application Monitors allow you to set multiple threshold conditions to determine the status reported by each monitor. The individual conditions are combined as logical OR relationships so that when one or more of the conditions (for example any of the conditions for Error if) are met the monitor status is set to the applicable condition. If multiple conditions are met for more than one status condition (such as conditions for both error and for warning), the status for the monitor is set to the highest valued condition. Thus a match of an error condition and a warning condition would be reported as an error status, error being the highest value, warning the next highest and good the lowest value.
- Error if
Use one or more of the selection boxes in this item to define one or more error conditions for this monitor. Use the drop-down lists in these items to change error threshold(s) relative to the counters you have selected to check with this monitor.
After choosing a counter or parameter, use the comparison operator drop-down list to specify an error threshold such as: >= (greater than or equal to), != (not equal to), or < (less than) and enter a comparison value in the box provided. Comparison values should be entered as whole numbers.
- Warning if
- Use one or more of the selection boxes in this item to define one or more warning conditions for this monitor. Use the drop-down lists in these items to change warning threshold(s) relative to the counters you have selected to check with this monitor. Set these value relative to those you set for the error threshold in the Error if item.
- Good if
- You can set this monitor to return a good status for certain conditions. You may define those conditions here. Complete this item as you would for the Error if and Warning if items.
Copyright © 2003 Mercury Interactive Corporation.
All rights reserved.