Class: Ansible::Ruby::Modules::Zabbix_host
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Zabbix_host
- Defined in:
- lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb
Instance Method Summary collapse
-
#force ⇒ :yes, ...
Overwrite the host configuration, even if already present.
-
#host_groups ⇒ Array<String>, ...
List of host groups the host is part of.
-
#host_name ⇒ String
Name of the host in Zabbix.,host_name is the unique identifier used and cannot be updated using this module.
-
#http_login_password ⇒ Object?
Basic Auth password.
-
#http_login_user ⇒ Object?
Basic Auth login.
-
#interfaces ⇒ Object?
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.
-
#inventory_mode ⇒ :automatic, ...
Configure the inventory mode.
-
#link_templates ⇒ Array<String>, ...
List of templates linked to the host.
-
#login_password ⇒ String
Zabbix user password.
-
#login_user ⇒ String
Zabbix user name, used to authenticate against the server.
-
#proxy ⇒ String?
The name of the Zabbix Proxy to be used.
-
#server_url ⇒ String
Url of Zabbix server, with protocol (http or https).
-
#state ⇒ :present, ...
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.
-
#status ⇒ :enabled, ...
Monitoring status of the host.
-
#timeout ⇒ Integer?
The timeout of API request (seconds).
Methods inherited from Base
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.
63 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 63 attribute :force |
#host_groups ⇒ Array<String>, ...
Returns 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_name ⇒ String
Returns 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_password ⇒ Object?
Returns Basic Auth password.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 25 attribute :http_login_password |
#http_login_user ⇒ Object?
Returns Basic Auth login.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 22 attribute :http_login_user |
#interfaces ⇒ Object?
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.
60 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 60 attribute :interfaces |
#inventory_mode ⇒ :automatic, ...
Returns Configure the inventory mode.
40 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 40 attribute :inventory_mode |
#link_templates ⇒ Array<String>, ...
Returns 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_password ⇒ String
Returns Zabbix user password.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 18 attribute :login_password |
#login_user ⇒ String
Returns 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 |
#proxy ⇒ String?
Returns 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_url ⇒ String
Returns 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.
48 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 48 attribute :state |
#status ⇒ :enabled, ...
Returns Monitoring status of the host.
44 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 44 attribute :status |
#timeout ⇒ Integer?
Returns The timeout of API request (seconds).
52 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_host.rb', line 52 attribute :timeout |