|
|
|
Actions are applied to generated Events.
All Events are immediately reported inside Zend Platform’s PHP Intelligence module.
Events can be viewed from: PHP Intelligence | Event List.
Event Actions enable sending Event details via E-mail or to a URL.
To configure Event Actions go to: Zend Central | Console and select Event Actions.
There are two steps to defining event actions. The first is to define “Actions and the second is to define “Action Rules.”.
Actions determine the details of by specifying an e-mail address or a URL.
Actions Rules determine which events by specific criteria will be sent according to one of the Actions.
Clicking the Event Actions URL opens the Actions dialog. This dialog allows you to define or remove Actions for the entire cluster.
From the Actions screen you can:
Add/remove global Action Types from a central administrative station
View Action Types currently defined in the system
To add an Action:
Select one of the options from the Action Type drop-down list.
Depending on the selection e-mail or URL the action type details will change.
Enter the information according to the selected Action Type:
Target URL for the action type “Submit a report to the specified URL”
Recipient Address and Subject for the Action Type, “Send a report via e-mail.”
Press Add to add the new Action Type to the “Current Action Types” list.
Note:
These Action Types can now be associated with Action Rules (see below). You can also change or remove the Action Type settings at any time.
Zend Platform supports two types of reports:
E-mail Report - sends a text report to an e-mail recipient. This type of report is typically preferred by users who need to be notified of an event, but do not require the content of the report to be available for further use.
XML Report — a structured XML report which is not only informative, but which can be made available for further use. For example, the .xml event data could be used as input for a monitoring script.
The Define Action Rules screen is accessed from: Zend Central | Console.
This screen ties together the elements of the rule-based notification system (monitoring and reporting) by creating a logical rule that can be understood as follows:
When an Event of a user-defined Severity occurs in the user-designated Server, a specific Event Action (notification) will be invoked.
From this screen you can:
Add/remove an Action Rule currently defined in the system.
View Action Rules currently defined for an Action Type in the system.
Edit an existing Action Rule and apply the changes.
Disable an Action Rule.
To define Action Rules for a server:
Select the Define Action Rules tab
Enter Action Rule parameters in the Add a New Action Rule area.
Select an Event from the Events combo. (For a complete list of Events supported in the current version of Zend Platform, refer to the Configure Alert Rules section above.)
Select the severity from the drop-down list.
Select a Server from the drop-down list of servers currently defined in the system.
Select an Action from the drop-down list of Actions currently defined in the system.
Click Add or Apply.
Pressing Add adds the new Action Rule to the list of Action Rules defined in the system.
Pressing Apply applies the changes to a rule that you have edited.
Note:
Go to the Zend Platform User Guide to read more about how your organization can leverage information generated by events in the Tutorial - Integrating Existing and Legacy Applications.