You can use database queries to generate reports that contain the event information you want. The following sections describe the database tables and fields used to store event information and provide sample SQL queries you can use:
The database includes the following three tables:
T_Info: Stores information about rogue process management events. For information about rogue process management, see Tracking and Controlling Rogue Processes.
Each database table contains as many as 17 information fields.The following table lists the fields and the database tables that include the fields. The data type for all fields is varchar(256).
You can create custom database queries to search for specific information. The following samples are SQL queries you can use.
The following queries return all information fields for a successful, failed, or rogue process management event stored in the database. Events will be sorted by the order in which they where entered into the database.
SELECT * FROM T_SUCCESS
SELECT * FROM T_FAILURE
SELECT * FROM T_INFO
To sort the list on a specific field, add ORDER BY field_name, as in the following examples:
SELECT * FROM T_SUCCESS ORDER BY zenWSTDN
SELECT * FROM T_FAILURE ORDER BY zenAppTDN
SELECT * FROM T_INFO ORDER BY zenUserTDN
To include only a specific event type (launch, distribute, etc.) for an event (success, failure, etc.), add WHERE zenEventType="event_type", as in the following examples:
SELECT * FROM T_SUCCESS WHERE zenEventType="Launch Success"
SELECT * FROM T_FAILURE WHERE zenEventType="Launch Failure"
SELECT * FROM T_INFO WHERE zenEventType="Process Terminated"
The valid event types are listed in the table in
To include only specific fields, replace the * with a comma-delimited field list, as in the following example:
SELECT zenEventType,zenDateTime,zenUserTDN,zenAppTDN FROM T_SUCCESS WHERE zenEventType="Cache Success" ORDER BY zenUserTDN
Previous versions of ZENworks for Desktops Application Management include predefined queries.They are not included in this version of ZfD. If you would like to continue to use the queries, you can use the information in the following table to create the queries in your database querying tool.