Resource Type: nagios_hostgroup
NOTE: This page was generated from the Puppet source code on 2018-06-20 11:51:22 -0700
nagios_hostgroup
Description
The Nagios type hostgroup. 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_hostgroup.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_hostgroup { 'resource title':
hostgroup_name => # (namevar) The name of this nagios_hostgroup...
ensure => # The basic property that the resource should be...
action_url => # Nagios configuration file...
alias => # Nagios configuration file...
group => # The desired group of the config file for this...
hostgroup_members => # Nagios configuration file...
members => # Nagios configuration file...
mode => # The desired mode of the config file for this...
notes => # Nagios configuration file...
notes_url => # Nagios configuration file...
owner => # The desired owner of the config file for this...
provider => # The specific backend to use for this...
realm => # Nagios configuration file...
register => # Nagios configuration file...
target => # The...
use => # Nagios configuration file...
# ...plus any applicable metaparameters.
}
hostgroup_name
(Namevar: If omitted, this attribute’s value defaults to the resource’s title.)
The name of this nagios_hostgroup resource.
(↑ Back to nagios_hostgroup 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_hostgroup attributes)
action_url
(Property: This attribute represents concrete state on the target system.)
Nagios configuration file parameter.
(↑ Back to nagios_hostgroup attributes)
alias
(Property: This attribute represents concrete state on the target system.)
Nagios configuration file parameter.
(↑ Back to nagios_hostgroup attributes)
group
The desired group of the config file for this nagios_hostgroup 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_hostgroup attributes)
hostgroup_members
(Property: This attribute represents concrete state on the target system.)
Nagios configuration file parameter.
(↑ Back to nagios_hostgroup attributes)
members
(Property: This attribute represents concrete state on the target system.)
Nagios configuration file parameter.
(↑ Back to nagios_hostgroup attributes)
mode
The desired mode of the config file for this nagios_hostgroup 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_hostgroup attributes)
notes
(Property: This attribute represents concrete state on the target system.)
Nagios configuration file parameter.
(↑ Back to nagios_hostgroup attributes)
notes_url
(Property: This attribute represents concrete state on the target system.)
Nagios configuration file parameter.
(↑ Back to nagios_hostgroup attributes)
owner
The desired owner of the config file for this nagios_hostgroup 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_hostgroup attributes)
provider
The specific backend to use for this nagios_hostgroup
resource. You will seldom need to specify this — Puppet will usually
discover the appropriate provider for your platform.
Available providers are:
(↑ Back to nagios_hostgroup attributes)
realm
(Property: This attribute represents concrete state on the target system.)
Nagios configuration file parameter.
(↑ Back to nagios_hostgroup attributes)
register
(Property: This attribute represents concrete state on the target system.)
Nagios configuration file parameter.
(↑ Back to nagios_hostgroup attributes)
target
(Property: This attribute represents concrete state on the target system.)
The target.
(↑ Back to nagios_hostgroup attributes)
use
(Property: This attribute represents concrete state on the target system.)
Nagios configuration file parameter.
(↑ Back to nagios_hostgroup attributes)
Providers
naginator
NOTE: This page was generated from the Puppet source code on 2018-06-20 11:51:22 -0700