Class: Ansible::Ruby::Modules::Zabbix_host

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb

Overview

This module allows you to create, modify and delete Zabbix host entries and associated group and template data.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#force:yes, ...

Returns Overwrite the host configuration, even if already present.

Returns:

  • (:yes, :no, nil)

    Overwrite the host configuration, even if already present



64
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 64

attribute :force

#host_groupsArray<String>, ...

Returns List of host groups the host is part of.

Returns:

  • (Array<String>, String, nil)

    List of host groups the host is part of.



33
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 33

attribute :host_groups

#host_nameString

Returns Name of the host in Zabbix.,host_name is the unique identifier used and cannot be updated using this module.

Returns:

  • (String)

    Name of the host in Zabbix.,host_name is the unique identifier used and cannot be updated using this module.



29
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 29

attribute :host_name

#http_login_passwordObject?

Returns Basic Auth password.

Returns:

  • (Object, nil)

    Basic Auth password



26
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 26

attribute :http_login_password

#http_login_userObject?

Returns Basic Auth login.

Returns:

  • (Object, nil)

    Basic Auth login



23
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 23

attribute :http_login_user

#interfacesObject?

Returns List of interfaces to be created for the host (see example below).,Available values are: dns, ip, main, port, type and useip.,Please review the interface documentation for more information on the supported properties,www.zabbix.com/documentation/2.0/manual/appendix/api/hostinterface/definitions#host_interface.

Returns:



61
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 61

attribute :interfaces

#inventory_mode:automatic, ...

Returns Configure the inventory mode.

Returns:

  • (:automatic, :manual, :disabled, nil)

    Configure the inventory mode.



41
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 41

attribute :inventory_mode

Returns List of templates linked to the host.

Returns:

  • (Array<String>, String, nil)

    List of templates linked to the host.



37
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 37

attribute :link_templates

#login_passwordString

Returns Zabbix user password.

Returns:

  • (String)

    Zabbix user password.



19
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 19

attribute :login_password

#login_userString

Returns Zabbix user name, used to authenticate against the server.

Returns:

  • (String)

    Zabbix user name, used to authenticate against the server.



15
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 15

attribute :login_user

#proxyString?

Returns The name of the Zabbix Proxy to be used.

Returns:

  • (String, nil)

    The name of the Zabbix Proxy to be used



57
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 57

attribute :proxy

#server_urlString

Returns Url of Zabbix server, with protocol (http or https).

Returns:

  • (String)

    Url of Zabbix server, with protocol (http or https).



11
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 11

attribute :server_url

#state:present, ...

Returns State of the host.,On C(present), it will create if host does not exist or update the host if the associated data is different.,On C(absent) will remove a host if it exists.

Returns:

  • (:present, :absent, nil)

    State of the host.,On C(present), it will create if host does not exist or update the host if the associated data is different.,On C(absent) will remove a host if it exists.



49
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 49

attribute :state

#status:enabled, ...

Returns Monitoring status of the host.

Returns:

  • (:enabled, :disabled, nil)

    Monitoring status of the host.



45
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 45

attribute :status

#timeoutInteger?

Returns The timeout of API request (seconds).

Returns:

  • (Integer, nil)

    The timeout of API request (seconds).



53
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 53

attribute :timeout