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

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

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, #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



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

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.



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

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.



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

attribute :host_name

#http_login_passwordObject?

Returns Basic Auth password.

Returns:

  • (Object, nil)

    Basic Auth password



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

attribute :http_login_password

#http_login_userObject?

Returns Basic Auth login.

Returns:

  • (Object, nil)

    Basic Auth login



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

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:



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

attribute :interfaces

#inventory_mode:automatic, ...

Returns Configure the inventory mode.

Returns:

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

    Configure the inventory mode.



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

attribute :inventory_mode

Returns List of templates linked to the host.

Returns:

  • (Array<String>, String, nil)

    List of templates linked to the host.



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

attribute :link_templates

#login_passwordString

Returns Zabbix user password.

Returns:

  • (String)

    Zabbix user password.



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

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.



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

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



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

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).



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

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.



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

attribute :state

#status:enabled, ...

Returns Monitoring status of the host.

Returns:

  • (:enabled, :disabled, nil)

    Monitoring status of the host.



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

attribute :status

#timeoutInteger?

Returns The timeout of API request (seconds).

Returns:

  • (Integer, nil)

    The timeout of API request (seconds).



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

attribute :timeout