Resource Type: nagios_host

NOTE: This page was generated from the Puppet source code on 2018-06-20 11:51:22 -0700

nagios_host

Description

The Nagios type host. This resource type is autogenerated using the model developed in Naginator, and all of the Nagios types are generated using the same code and the same library.

This type generates Nagios configuration statements in Nagios-parseable configuration files. By default, the statements will be added to /etc/nagios/nagios_host.cfg, but you can send them to a different file by setting their target attribute.

You can purge Nagios resources using the resources type, but only in the default file locations. This is an architectural limitation.

Attributes

nagios_host { 'resource title':
  host_name                    => # (namevar) The name of this nagios_host...
  ensure                       => # The basic property that the resource should be...
  action_url                   => # Nagios configuration file...
  active_checks_enabled        => # Nagios configuration file...
  address                      => # Nagios configuration file...
  alias                        => # Nagios configuration file...
  business_impact              => # Nagios configuration file...
  check_command                => # Nagios configuration file...
  check_freshness              => # Nagios configuration file...
  check_interval               => # Nagios configuration file...
  check_period                 => # Nagios configuration file...
  contact_groups               => # Nagios configuration file...
  contacts                     => # Nagios configuration file...
  display_name                 => # Nagios configuration file...
  event_handler                => # Nagios configuration file...
  event_handler_enabled        => # Nagios configuration file...
  failure_prediction_enabled   => # Nagios configuration file...
  first_notification_delay     => # Nagios configuration file...
  flap_detection_enabled       => # Nagios configuration file...
  flap_detection_options       => # Nagios configuration file...
  freshness_threshold          => # Nagios configuration file...
  group                        => # The desired group of the config file for this...
  high_flap_threshold          => # Nagios configuration file...
  hostgroups                   => # Nagios configuration file...
  icon_image                   => # Nagios configuration file...
  icon_image_alt               => # Nagios configuration file...
  initial_state                => # Nagios configuration file...
  low_flap_threshold           => # Nagios configuration file...
  max_check_attempts           => # Nagios configuration file...
  mode                         => # The desired mode of the config file for this...
  notes                        => # Nagios configuration file...
  notes_url                    => # Nagios configuration file...
  notification_interval        => # Nagios configuration file...
  notification_options         => # Nagios configuration file...
  notification_period          => # Nagios configuration file...
  notifications_enabled        => # Nagios configuration file...
  obsess_over_host             => # Nagios configuration file...
  owner                        => # The desired owner of the config file for this...
  parents                      => # Nagios configuration file...
  passive_checks_enabled       => # Nagios configuration file...
  poller_tag                   => # Nagios configuration file...
  process_perf_data            => # Nagios configuration file...
  provider                     => # The specific backend to use for this...
  realm                        => # Nagios configuration file...
  register                     => # Nagios configuration file...
  retain_nonstatus_information => # Nagios configuration file...
  retain_status_information    => # Nagios configuration file...
  retry_interval               => # Nagios configuration file...
  stalking_options             => # Nagios configuration file...
  statusmap_image              => # Nagios configuration file...
  target                       => # The...
  use                          => # Nagios configuration file...
  vrml_image                   => # Nagios configuration file...
  # ...plus any applicable metaparameters.
}

host_name

(Namevar: If omitted, this attribute’s value defaults to the resource’s title.)

The name of this nagios_host resource.

(↑ Back to nagios_host attributes)

ensure

(Property: This attribute represents concrete state on the target system.)

The basic property that the resource should be in.

Valid values are present, absent.

(↑ Back to nagios_host attributes)

action_url

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

active_checks_enabled

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

address

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

alias

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

business_impact

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

check_command

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

check_freshness

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

check_interval

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

check_period

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

contact_groups

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

contacts

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

display_name

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

event_handler

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

event_handler_enabled

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

failure_prediction_enabled

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

first_notification_delay

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

flap_detection_enabled

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

flap_detection_options

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

freshness_threshold

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

group

The desired group of the config file for this nagios_host resource.

NOTE: If the target file is explicitly managed by a file resource in your manifest, this parameter has no effect. If a parent directory of the target is managed by a recursive file resource, this limitation does not apply (i.e., this parameter takes precedence, and if purge is used, the target file is exempt).

(↑ Back to nagios_host attributes)

high_flap_threshold

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

hostgroups

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

icon_image

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

icon_image_alt

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

initial_state

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

low_flap_threshold

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

max_check_attempts

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

mode

The desired mode of the config file for this nagios_host resource.

NOTE: If the target file is explicitly managed by a file resource in your manifest, this parameter has no effect. If a parent directory of the target is managed by a recursive file resource, this limitation does not apply (i.e., this parameter takes precedence, and if purge is used, the target file is exempt).

(↑ Back to nagios_host attributes)

notes

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

notes_url

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

notification_interval

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

notification_options

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

notification_period

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

notifications_enabled

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

obsess_over_host

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

owner

The desired owner of the config file for this nagios_host resource.

NOTE: If the target file is explicitly managed by a file resource in your manifest, this parameter has no effect. If a parent directory of the target is managed by a recursive file resource, this limitation does not apply (i.e., this parameter takes precedence, and if purge is used, the target file is exempt).

(↑ Back to nagios_host attributes)

parents

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

passive_checks_enabled

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

poller_tag

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

process_perf_data

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

provider

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

Available providers are:

(↑ Back to nagios_host attributes)

realm

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

register

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

retain_nonstatus_information

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

retain_status_information

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

retry_interval

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

stalking_options

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

statusmap_image

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

target

(Property: This attribute represents concrete state on the target system.)

The target.

(↑ Back to nagios_host attributes)

use

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

vrml_image

(Property: This attribute represents concrete state on the target system.)

Nagios configuration file parameter.

(↑ Back to nagios_host attributes)

Providers

naginator

NOTE: This page was generated from the Puppet source code on 2018-06-20 11:51:22 -0700