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 mackerel plugins #7

Merged
merged 10 commits into from
Nov 8, 2015
Merged

Support mackerel plugins #7

merged 10 commits into from
Nov 8, 2015

Conversation

tomohiro
Copy link
Owner

@tomohiro tomohiro commented Nov 6, 2015

Support these plugins

Example

class { 'mackerel-agent':
  ensure              => present,
  use_metrics_plugins => true,
  use_check_plugins   => true,
  metrics_plugins     => {
    apache2     => '/usr/local/bin/mackerel-plugin-apache2',
    php-opcache => '/usr/local/bin/mackerel-plugin-php-opcache'
  },
  check_plugins       => {
    access_log => '/usr/local/bin/check-log --file /var/log/access.log --pattern FATAL',
    check_cron => '/usr/local/bin/check-procs -p crond'
  }
}

@tomohiro tomohiro self-assigned this Nov 6, 2015
tomohiro added a commit that referenced this pull request Nov 8, 2015
@tomohiro tomohiro merged commit 2b51fac into master Nov 8, 2015
@tomohiro tomohiro deleted the support-plugins branch November 8, 2015 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant