Class: Ansible::Ruby::Modules::Monit

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/monitoring/monit.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

#nameString

Returns The name of the I(monit) program/process to manage.

Returns:

  • (String)

    The name of the I(monit) program/process to manage



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

attribute :name

#state:present, ...

Returns The state of service.

Returns:

  • (:present, :started, :stopped, :restarted, :monitored, :unmonitored, :reloaded)

    The state of service



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

attribute :state

#timeoutInteger?

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.

Returns:

  • (Integer, nil)

    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.



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

attribute :timeout