Resource Type: nimsoft_disk

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

Overview

The ‘nimsoft_disk` resource describes a monitoring rule for a single filesystem. Example:

nimsoft_disk { '/var':
  ensure      => present,
  description => '/var managed by puppet',
  warning     => '20',
  critical    => '10',
}

Properties

  • active

    Should this disk be monitored?

    Supported values:
    • yes
    • no
  • critical

    The critical threshold in free space percentage. Set this to absent if you want to remove the critical threshold

    Supported values:
    • absent
    • /^\d+$/
  • description

    A short description of the Filesystem

  • device

    The underlying blockdevice or nfs share that is mounted

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • missing

    Set this property to ‘yes` to raise an alarm when the described filesystem is absent

    Supported values:
    • yes
    • no
  • nfs

    In general a network device will not be monitored, even when marked as ‘active`. Set this property to `yes` to enable monitoring on network attached storage

    Supported values:
    • yes
    • no
  • warning

    The warning threshold in free space percentage. Set this to absent if you want to remove the warning threshold

    Supported values:
    • absent
    • /^\d+$/

Parameters

  • name (namevar)

    The Mountpoint of the disk

  • provider

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