Resource Type: nimsoft_logmon_exclude

Defined in:
lib/puppet/type/nimsoft_logmon_exclude.rb
Providers:
nimsoft

Overview

The ‘nimsoft_logmon_exclude` type describes a single exclude rule of a profile in the `logmon` probe. This can be a pattern or a regular expression and every block or message that matches will be excluded from the watchers.

Example:

nimsoft_logmon_exclude { 'system log/ignore failed su'
  ensure   => present,
  active   => yes,
  match    => '/FAILED su for \S+ by/',
}

The name of the resource must be of the for ‘profile_name/exclude_name`

Properties

  • active

    Set to ‘yes’ if the exclude should be active and ‘no’ if the watcher rule should be inactive

    Supported values:
    • yes
    • no
  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • match

    The pattern that has to match. This can be a simple glob or a regular expression

Parameters

  • name (namevar)

    The name of the exclude rule.

  • provider

    The specific backend to use for this ‘nimsoft_logmon_exclude` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.