30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Zend Monitor<br />

Zend Server <strong>Reference</strong> Manual<br />

The Zend Monitor component is integrated into the runtime environment and serves as an alerting and<br />

collection mechanism for early detection of PHP script problems.<br />

The Zend Monitor is a Zend Server component that integrates into the PHP runtime environment and<br />

watches for various events such as errors, failing functions, slow scripts, database errors, etc. When an<br />

event occurs, the Zend Monitor collects and reports all the relevant debugging information. This<br />

information can then be used to perform root cause analysis.<br />

What is an Event?<br />

Events are governed by rules created in Rule Management | Monitor. Rules define the nature of an<br />

event and the parameters for capturing event related information in an application. Events are only<br />

created when the monitor component is running (Server Setup | Components).<br />

By definition, an event is a collection of information that can be used to investigate what caused the rule<br />

to trigger an event. The information collected varies according to the rule type.<br />

Aggregation<br />

If events are triggered by the same rule and have similar characteristics – i.e., filename, URL, line etc –<br />

they are aggregated into a single issue. If they do not have similar characteristics, a separate (new) issue<br />

is created.<br />

Inside a single issue, events are divided into groups according to when they occurred. A new group is<br />

created only if there is no activity for at least five minutes. If a new event occurs after five minutes pass, a<br />

new group is added to the issue. The new group includes all the events that occurred, as long as five<br />

minutes without activity has passed.<br />

Changing Statuses<br />

This section describes what happens to issues when they are created and what happens when a new<br />

event must be added to an issue after the issue's status has changed.<br />

New events are created with the New status.<br />

If an event is closed and a new issue occurs, the event is changed to the Reopened status.<br />

If an event is ignored and a new issue occurs, the event does not change its status. However, the<br />

system continues to collect information for the event.<br />

195

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!