Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for transport pipe configuration #238

Merged
merged 1 commit into from
Sep 2, 2014

Conversation

sdklein
Copy link
Contributor

@sdklein sdklein commented Sep 2, 2014

With Sensu 0.13, the transport option was added, replacing the aqmp option. This pull request allows the transport option to be configured, including the option array. See example below.

puppet configuration:
  sensu::handler { 'graphite':
    type     => 'transport',
    pipe     => {
      type    => 'topic',
      name    => 'metrics',
      options => {
        durable => 'true',
        passive => 'true',
      },
    },
    mutator  => 'only_check_output',
  }

Results in sensu handler configuration:
{
  "handlers": {
    "graphite": {
      "type": "transport",
      "pipe": {
        "options": {
          "passive": "true",
          "durable": "true"
        },
        "type": "topic",
        "name": "metrics"
      },
      "mutator": "only_check_output",
    }
  }
}

jamtur01 added a commit that referenced this pull request Sep 2, 2014
Support for transport pipe configuration
@jamtur01 jamtur01 merged commit e382e9f into sensu:master Sep 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants