Description: When the API function 'zend_monitor_custom_event' is called from inside PHP code, it generates an event. When enabled an event will be generated and displayed in the Monitor | EventsEvents are a result of the monitoring component checking your system and collecting information about a specific occurrence that indicates that your environment is displaying uncharacteristic behavior..
The most important details are:
In most cases, these details alone should be enough to indicate what happened to trigger an event.
Click on a link to see how to perform each action. Tools are listed in order of relevance to helping solve the event:
Custom Events are defined by users according to specific requirements. These events can only be triggered by specific code in a specific application and therefore it is only possible to say that the application's logic triggered the event.
There are certain circumstances where applying a Custom Event can be useful:
When handling logging routines and exceptions by adding a call to 'zend_monitor_custom_event' with the data that has been logged or held in the exception.
In logical closure situations. For example when handling inputs that require monitoring the value of the input (for different actions) to prevent inputting values that are not acceptable for the business logic. Adding the function 'zend_monitor_custom_event' will give you the ability to trigger an event when an unacceptable value is passed and also provide the necessary backtrace information to understand how the value got there.
More...
|
|
|
Related Links: Advanced Diagnostics with Zend Server |
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.