You can test the log file attribute group that you created,
within Agent Builder.
Procedure
- You can start the Testing procedure in the following ways:
- During agent creation click Test Log File Settings on the Log File Information page (Figure 2).
- After agent creation, select an attribute group on the Agent Editor Data Source Definition page and click Test Log File Settings. For
more information about the Agent Editor, see (The Tivoli Monitoring Agent Editor).
After you click Test Log File Settings in one of the previous two steps, the Parse Log window opens.
Figure 1. Parse Log window
- Optional: Before you start testing, you can
set environment variables and configuration properties. For more information, see (Attribute group testing).
- Click Start Agent. A window opens indicating that the Agent is starting. When the agent
starts, it monitors the configured log file for new records
- To test your agent's data collection, generate new records
in the monitored log file. When new records are
added to the log file, the agent parses them according to its configuration
and updates the corresponding attribute values in its cache.
- To simulate a request from Tivoli Enterprise Portal or SOAP for agent data, click Collect Data. The Parse Log window collects and shows any new attribute values in the agent's
cache since it was last started. An example data collection is shown
in Figure 2
Figure 2. Parse Log window that
shows parsed log file attribute values
- Optional: Click Check
Results if the returned data is not as you expected. The Data Collection Status window
opens and shows you more information about the data. An example is
shown in the (Figure 3). The data that is collected and shown by the Data collection Status
window is described in Performance Object Status node
Figure 3. Data Collection Status
window
- The agent can be stopped by clicking Stop Agent.
- Click OK or Cancel to exit the Parse Log window. Clicking OK saves any changes that you made.