Resource Type: nagios_contact

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

nagios_contact

Description

The Nagios type contact. 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_contact.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_contact { 'resource title':
  contact_name                  => # (namevar) The name of this nagios_contact...
  ensure                        => # The basic property that the resource should be...
  address1                      => # Nagios configuration file...
  address2                      => # Nagios configuration file...
  address3                      => # Nagios configuration file...
  address4                      => # Nagios configuration file...
  address5                      => # Nagios configuration file...
  address6                      => # Nagios configuration file...
  alias                         => # Nagios configuration file...
  can_submit_commands           => # Nagios configuration file...
  contactgroups                 => # Nagios configuration file...
  email                         => # Nagios configuration file...
  group                         => # The desired group of the config file for this...
  host_notification_commands    => # Nagios configuration file...
  host_notification_options     => # Nagios configuration file...
  host_notification_period      => # Nagios configuration file...
  host_notifications_enabled    => # Nagios configuration file...
  mode                          => # The desired mode of the config file for this...
  owner                         => # The desired owner of the config file for this...
  pager                         => # Nagios configuration file...
  provider                      => # The specific backend to use for this...
  register                      => # Nagios configuration file...
  retain_nonstatus_information  => # Nagios configuration file...
  retain_status_information     => # Nagios configuration file...
  service_notification_commands => # Nagios configuration file...
  service_notification_options  => # Nagios configuration file...
  service_notification_period   => # Nagios configuration file...
  service_notifications_enabled => # Nagios configuration file...
  target                        => # The...
  use                           => # Nagios configuration file...
  # ...plus any applicable metaparameters.
}

contact_name

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

The name of this nagios_contact resource.

(↑ Back to nagios_contact 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_contact attributes)

address1

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

address2

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

address3

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

address4

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

address5

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

address6

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

alias

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

can_submit_commands

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

contactgroups

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

email

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

group

The desired group of the config file for this nagios_contact 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_contact attributes)

host_notification_commands

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

host_notification_options

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

host_notification_period

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

host_notifications_enabled

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

mode

The desired mode of the config file for this nagios_contact 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_contact attributes)

owner

The desired owner of the config file for this nagios_contact 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_contact attributes)

pager

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

provider

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

Available providers are:

(↑ Back to nagios_contact attributes)

register

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

retain_nonstatus_information

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

retain_status_information

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

service_notification_commands

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

service_notification_options

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

service_notification_period

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

service_notifications_enabled

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

target

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

The target.

(↑ Back to nagios_contact attributes)

use

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

Nagios configuration file parameter.

(↑ Back to nagios_contact attributes)

Providers

naginator

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