Previous Topic: Create a Process MonitorNext Topic: Create a Windows Event Monitor


Create a Log File Monitor

Create a log file monitor that lets the agent monitor any UTF-8 encoded system or application log file by searching for strings specified as regular expressions. The agent sends a trap when a match occurs.

Follow these steps:

  1. Click the Resources tab, open the Configure pane, expand Monitoring Templates and appropriate subcategories.

    The Template List page appears.

  2. Select the template in the Template List.

    The Summary page for the template appears.

  3. Click the Monitors tab.

    The Summary page appears with a list of monitors managed by the policy.

  4. Click Log File.

    The Log File Monitors page appears.

  5. Click + (New) on the Log File Monitors toolbar.

    The Log File Monitor Details: New dialog appears.

  6. Configure the following process settings:
    Index

    Defines the table index that you want to use.

    Monitor Type

    Specifies the monitor type that you want to use.

    Platform

    Specifies the platform.

    Description

    Defines an optional description.

    Log File/Directory Name

    Defines the path to the file or the directory to monitor.

    Search Filter

    Specifies the search filter.

    Interval

    Defines the evaluation interval for the monitor in minutes

    Severity

    Specifies the significance of the monitor on a match.

    The Maintenance Window page lets you define the following settings:

    State

    Specifies if the monitor maintenance entry is active or inactive.

    Start Time

    Defines the start time when the monitor is switched off and the maintenance window begins.

    Stop Time

    Defines the stop time when the monitor is switched on again and the maintenance window ends.

    The Optional Settings page lets you define the flags that can be used for the different monitor entries or history control entries.

  7. Click Save

    The Log File Monitor settings are saved.

  8. Click Save Template.

    The Log File Monitor is loaded to the Policy.