Skip to content

Balancer Check

Lujeni edited this page Dec 16, 2015 · 3 revisions

For what ?

To see if the balancer is enabled in your cluster.

Settings

  • See here for the parameters.
balancer_triggers:
  balancer_enabled:
    type: webhook
    state: True
    params:
      method: get
      url: http://centreon.foo.com
      http_params:
        hostname: foo
        check_name: mongoop.foo.balancer
        code: 0
        msg: 'the balancer is enabled'

  balancer_disabled:
    type: webhook
    state: False
    params:
      method: get
      url: http://centreon.foo.com
      http_params:
        hostname: foo
        check_name: mongoop.foo.balancer
        code: 2
        msg: 'the balancer is disabled'

Triggers availabled