Resource Type: create_host

Defined in:
lib/puppet/type/create_host.rb

Summary

Creates a Host in the CheckMK server

Overview

This type provides Puppet with the capabilities to create the Host in CheckMK from the CheckMK server API.

Examples:

create_host { 'test.example.com':
  ensure       => 'present',
  url          => 'http://127.0.0.1',
  site_name    => 'default',
  bearer_token => 'testing123',
  folder       => 'linux',
}

Properties

  • ensure (defaults to: present)

    Whether this agent package should be present or absent on the target system.

Parameters

  • bearer_token

    The password for the ‘automation` user.

  • folder

    The folder to add the host to.

  • host_name (namevar)

    The hostname of the server to add into CheckMK.

  • site_name (defaults to: default)

    The site name on the CheckMK Server.

  • url

    The URL for the CheckMK server.