Class: Ansible::Ruby::Modules::Monit
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Monit
- Defined in:
- lib/ansible/ruby/modules/generated/monitoring/monit.rb
Overview
Manage the state of a program monitored via I(Monit)
Instance Method Summary collapse
-
#name ⇒ String
The name of the I(monit) program/process to manage.
-
#state ⇒ :present, ...
The state of service.
-
#timeout ⇒ Integer?
If there are pending actions for the service monitored by monit, then Ansible will check for up to this many seconds to verify the requested action has been performed.
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
#name ⇒ String
Returns The name of the I(monit) program/process to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/monitoring/monit.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns The state of service.
16 |
# File 'lib/ansible/ruby/modules/generated/monitoring/monit.rb', line 16 attribute :state |
#timeout ⇒ Integer?
Returns If there are pending actions for the service monitored by monit, then Ansible will check for up to this many seconds to verify the requested action has been performed. Ansible will sleep for five seconds between each check.
20 |
# File 'lib/ansible/ruby/modules/generated/monitoring/monit.rb', line 20 attribute :timeout |