Class: Ansible::Ruby::Modules::Monit
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Monit
- Defined in:
- lib/ansible/ruby/modules/generated/extras/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 the requested action has been performed.
Methods inherited from Base
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
#name ⇒ String
Returns The name of the I(monit) program/process to manage.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/monit.rb', line 11 attribute :name |
#state ⇒ :present, ...
Returns The state of service.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/monit.rb', line 15 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 the requested action has been performed. Ansible will sleep for five seconds between each check.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/monit.rb', line 19 attribute :timeout |