options:
  command_name:
    name: Command Name
    notes: The name of the command to pull statistics for.
    default: mongrel_rails
  ps_command:
    name: The Process Status (ps) Command
    notes: The command with options. The default works on most systems.
    default: ps auxww
  ps_regex:
    name: The regex used to match a command name.
    notes: "By default, this matches a command name anywhere in the ps output line.  The word COMMAND get's replaced with the command you gave (regex escaped).  You may wish to try the following pattern if you only want to match a command in the last column:  (?i:COMMAND\\s+$)"
    default: "(?i:\\bCOMMAND\\b)"
    
metadata:
  memory:          
    label: Memory Usage
    units: MB
    precision: 0
    
triggers:
  - type: peak
    dname: memory
    max_value: 10
  - type: trend
    dname: memory
    direction: UP
    percentage_change: 20
    duration: 60
    window_reference: LAST_WEEK
    min_value: 5
options:
  command_name:
    name: Command Name
    notes: The name of the command to pull statistics for.
    default: mongrel_rails
  ps_command:
    name: The Process Status (ps) Command
    notes: The command with options. The default works on most systems.
    default: ps auxww
  ps_regex:
    name: The regex used to match a command name.
    notes: "By default, this matches a command name anywhere in the ps output line.  The word COMMAND get's replaced with the command you gave (regex escaped).  You may wish to try the following pattern if you only want to match a command in the last column:  (?i:COMMAND\\s+$)"
    default: "(?i:\\bCOMMAND\\b)"
    
metadata:
  memory:          
    label: Memory Usage
    units: MB
    precision: 0
  restarts:          
    label: Restarts
    units: ""
    precision: 0
     
triggers:
  - type: peak
    dname: memory
    max_value: 10
  - type: trend
    dname: memory
    direction: UP
    percentage_change: 20
    duration: 60
    window_reference: LAST_WEEK
    min_value: 5

Add precision for Restarts on ProcessUsage plugin.
Add precision for Restarts on ProcessUsage plugin.
