Resource Type: nimsoft_process

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

Overview

A ‘process` resource describes a nimsoft monitoring profile for the processes probe.

Example:

Properties

  • active

    Defines wether the profile should be active or deactivated

    Supported values:
    • yes
    • no
  • alarm_on

    Defines when an alarm should be triggered. You can pass an array if you want to trigger an alarm on multiple conditions

    Supported values:
    • up
    • down
    • restart
  • count

    The number of expected processes. This can either be an absolute value or a minimal or maximum value

  • description

    A short description of the profile.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • match (defaults to: nameonly)

    This defines if just the binary has to be present in the process table or if the full argument list has to match the ‘pattern` parameter

    Supported values:
    • nameonly
    • cmdline
  • pattern

    The pattern that should be looked up in the process table. This can either be a single command or the command with arguments. Make sure to also set the ‘match` parameter accordingly

  • trackpid

    Defines wether the process identifier should be tracked. This way the probe is able to detect process restarts

    Supported values:
    • yes
    • no

Parameters

  • name (namevar)

    The name of the profile

  • provider

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