Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

15. Monitoring

Q: Why does the Events tab not capture the events of one of the "Log Event Sources"?
Q: When do baselines auto-calculate?
Q:
Why does the Events tab not capture the events of one of the "Log Event Sources"?
A:
When you define an event source you need to ensure three things:
  • It is enabled
  • The path to the log is valid; and
  • The selected date format matches what you have in the logs
If you select the default date format when creating the event source, and that format does not match what you have in the logs, nothing is captured for the log events.
For example, if you select the default date format 2012-07-14 15:36:25,075 and the logs have 2012.08.27-09:46:34, then no log event is captured.
Specify a different date format according to java.text.SimpleDateFormat.
Q:
When do baselines auto-calculate?
A:
Go to the Administration page of the JBoss ON GUI and click the Server Configuration link. You will see settings for Automatic Baseline Configuration Properties. Baseline Frequency determines how often the baselines are calculated. The default is 3 days. This means that every 3 days a new set of baselines are calculated, except for those that were manually set by the user. These remain pinned to the baselines set by the user.
Baseline Dataset determines the minimum set of data that must have been collected for a measurement before a baseline for that measurement is calculated. The default is 7 days. For example, when it is determined that baselines should be calculated, every third day by default, only those measurements that have data that is 7 days old or older will have a baseline calculated. Any measurements that do not have data from 7 days ago are skipped. This ensures that when a measurement's baseline is calculated, you have a good representative set of data to include in the calculation (e.g. by default, you will have 7 days worth of data that are included in the baseline calculation).