Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

icinga2_plugin_mysql (28) Versions 1.0.9

Installs/Configures icinga2_plugin_mysql

Policyfile
Berkshelf
Knife
cookbook 'icinga2_plugin_mysql', '= 1.0.9', :supermarket
cookbook 'icinga2_plugin_mysql', '= 1.0.9'
knife supermarket install icinga2_plugin_mysql
knife supermarket download icinga2_plugin_mysql
README
Dependencies
Quality 57%

icinga2_plugin_mysql

Installs the Nagios MySQL Health Check plugin for Nagios/icinga2 using lausser/check_mysql_health.

Usage

icinga2_plugin_mysql::default

Just include icinga2_plugin_mysql in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[icinga2_plugin_mysql]"
  ]
}

Attributes

Nagios User:

The user that Nagios runs under

Default Value:

  • nagios

Ruby usage:

node['icinga2_plugin_mysql']['nagios']['user'] = 'nagios'

JSON usage:

{
  "icinga2_plugin_mysql": {
    "nagios": {
      "user": "nagios"
    }
  }
}

Nagios Group:

The group that Nagios runs under

Default Value:

  • nagios

Ruby usage:

node['icinga2_plugin_mysql']['nagios']['group'] = 'nagios'

JSON usage:

{
  "icinga2_plugin_mysql": {
    "nagios": {
      "group": "nagios"
    }
  }
}

Nagios Plugin Dir:

The full path to nagios's plugin dir

Default Value:

  • /usr/lib/nagios/plugins

Ruby usage:

node['icinga2_plugin_mysql']['nagios']['nagios_plugin_dir'] = '/usr/lib/nagios/plugins'

JSON usage:

{
  "icinga2_plugin_mysql": {
    "nagios": {
      "nagios_plugin_dir": "/usr/lib/nagios/plugins"
    }
  }
}

Git Repo Path:

The local path to clone the plugin source

Default Value:

  • /usr/local/src/icinga2_mysql_health_chef

Ruby usage:

node['icinga2_plugin_mysql']['git']['repo_path'] = '/usr/local/src/icinga2_mysql_health_chef'

JSON usage:

{
  "icinga2_plugin_mysql": {
    "git": {
      "repo_path": "/usr/local/src/icinga2_mysql_health_chef"
    }
  }
}

Plugin Source URL:

The git repository where this plugin's source should be pulled from

Default Value:

  • https://github.com/lausser/check_mysql_health.git

Ruby usage:

node['icinga2_plugin_mysql']['git']['repo_src_url'] = 'https://github.com/lausser/check_mysql_health.git'

JSON usage:

{
  "icinga2_plugin_mysql": {
    "git": {
      "repo_src_url": "https://github.com/lausser/check_mysql_health.git"
    }
  }
}

Git Tag:

The git tag to check this plugin out to.

Default Value:

  • 2.1.2.1

Ruby usage:

node['icinga2_plugin_mysql']['git']['tag'] = '2.1.2.1'

JSON usage:

{
  "icinga2_plugin_mysql": {
    "git": {
      "tag": "2.1.2.1"
    }
  }
}

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.0.9 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.9 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.0.9 passed this metric

License Metric
            

1.0.9 passed this metric

No Binaries Metric
            

1.0.9 passed this metric

Testing File Metric
            

1.0.9 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.0.9 passed this metric