Class: Ansible::Ruby::Modules::Sensu_client
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Sensu_client
- Defined in:
- lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb
Overview
Manages Sensu client configuration. For more information, refer to the Sensu documentation: U(sensuapp.org/docs/latest/reference/clients.html)
Instance Method Summary collapse
-
#address ⇒ String?
An address to help identify and reach the client.
-
#chef ⇒ Object?
The chef definition scope, used to configure the Sensu Enterprise Chef integration (Sensu Enterprise users only).
-
#deregister ⇒ :yes, ...
If a deregistration event should be created upon Sensu client process stop.
-
#deregistration ⇒ Object?
The deregistration definition scope, used to configure automated Sensu client de-registration.
-
#ec2 ⇒ Object?
The ec2 definition scope, used to configure the Sensu Enterprise AWS EC2 integration (Sensu Enterprise users only).
-
#keepalive ⇒ Hash?
The keepalive definition scope, used to configure Sensu client keepalives behavior (e.g. keepalive thresholds, etc).
-
#keepalives ⇒ :yes, ...
If Sensu should monitor keepalives for this client.
-
#name ⇒ String?
A unique name for the client.
-
#puppet ⇒ Object?
The puppet definition scope, used to configure the Sensu Enterprise Puppet integration (Sensu Enterprise users only).
-
#redact ⇒ Array<String>, ...
Client definition attributes to redact (values) when logging and sending client keepalives.
-
#registration ⇒ Object?
The registration definition scope, used to configure Sensu registration event handlers.
-
#safe_mode ⇒ :yes, ...
If safe mode is enabled for the client.
-
#servicenow ⇒ Object?
The servicenow definition scope, used to configure the Sensu Enterprise ServiceNow integration (Sensu Enterprise users only).
-
#socket ⇒ Hash?
The socket definition scope, used to configure the Sensu client socket.
-
#state ⇒ :present, ...
Whether the client should be present or not.
-
#subscriptions ⇒ Array<String>, String
An array of client subscriptions, a list of roles and/or responsibilities assigned to the system (e.g. webserver).,These subscriptions determine which monitoring checks are executed by the client, as check requests are sent to subscriptions.,The subscriptions array items must be strings.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#address ⇒ String?
21 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 21 attribute :address |
#chef ⇒ Object?
62 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 62 attribute :chef |
#deregister ⇒ :yes, ...
52 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 52 attribute :deregister |
#deregistration ⇒ Object?
56 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 56 attribute :deregistration |
#ec2 ⇒ Object?
59 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 59 attribute :ec2 |
#keepalive ⇒ Hash?
45 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 45 attribute :keepalive |
#keepalives ⇒ :yes, ...
41 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 41 attribute :keepalives |
#name ⇒ String?
17 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 17 attribute :name |
#puppet ⇒ Object?
65 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 65 attribute :puppet |
#redact ⇒ Array<String>, ...
33 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 33 attribute :redact |
#registration ⇒ Object?
49 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 49 attribute :registration |
#safe_mode ⇒ :yes, ...
29 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 29 attribute :safe_mode |
#servicenow ⇒ Object?
68 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 68 attribute :servicenow |
#socket ⇒ Hash?
37 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 37 attribute :socket |
#state ⇒ :present, ...
13 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 13 attribute :state |
#subscriptions ⇒ Array<String>, String
25 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_client.rb', line 25 attribute :subscriptions |