Configuring reports > Querying major events from the Moab event log

7.5 Querying major events from the Moab event log

The Viewpoint Moab Events page allows you to query major events that have been reported to the Moab event log. These events include JOBSTART, JOBEND, and JOBMODIFY. By default, the event log is maintained in the statistics directory and rolls on a daily basis.

To query major events that have been reported to the Moab event log

  1. Verify that your Moab database is a MySQL database.
  2. Specify which events Moab should record in the Moab configuration file (moab.cfg) using the RECORDEVENTLIST parameter. For more information on configuring moab.cfg, see "Initial Moab Configuration" in the Moab Workload Manager Administrator Guide.
  3. Configure Moab to report its events to a database instead of to files in the statistics directory. To configure Moab to report events to the database, see Configuring Viewpoint to communicate with your DBMS.
  4. Verify Viewpoint, Moab, and the Moab database run on machines that are in the same time zone and that they react the same way to Daylight Savings Time changes.
  5. The web browser can be located anywhere, but the time stamp on the Moab Events page will display the time zone where Viewpoint is located. If you choose to have Viewpoint and the database run in different time zones, event queries that involve date or time will not be accurate.

  6. To create a Moab Events filter, which allows you to quickly retrieve saved filters without having to fill in the form each time, click Reports > Events.
    1. You can create a filter which will allow you to query data by:
      • Date
      • Time
      • Event
      • Object
      • Name
    2. The list of events returned as listed by:
      • Date
      • Time
      • Event
      • Object
      • Name
      • Description
  7. If the filter is already saved, click Manage Filters and select the filter.
  8. Click the minus sign. Select a data item, an operator, and a criterion. The date is set to the current date. If you want to change the date, click the Calendar icon.
  9. Click the plus sign to add another line to the filter. Complete the line.
  10. Click Match All to connect lines of the filter using the AND operator, or click Match Any to connect them using the OR operator.
  11. Click Run to run the filter, or click Save to save it. Type a name for the filter and click Save.
  12. To rename or delete a filter, select Manage Filters from the Moab Events page. To close this dialog, click Close or press the Escape key.
  13. Databases with more than 5,000,00 entries may result in unresponsive queries. You should use extra caution when utilizing the Match Any filter setting on a large system, because the number of entries can grow quickly enough to slow or stall the events page. To ensure responsiveness, it is strongly recommended that queries refine searches on larger systems through the use of a date parameter.

Related topics