cookbook 'icinga2_plugin_mysql', '= 0.1.5'
icinga2_plugin_mysql
(28) Versions
0.1.5
-
Follow0
Installs/Configures icinga2_plugin_mysql
cookbook 'icinga2_plugin_mysql', '= 0.1.5', :supermarket
knife supermarket install icinga2_plugin_mysql
knife supermarket download icinga2_plugin_mysql
icinga2_plugin_mysql
Installs the Nagios MySQL Health Check plugin for icinga2.
Usage
sage_cert::default
Just include sage_cert
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[icinga2_plugin_mysql]" ] }
Attributes
Perl Path:
Location to Perl binary
Default Value:
/usr/bin/perl
Ruby usage:
node['icinga2_plugin_mysql']['env']['perl_path'] = '/usr/bin/perl'
JSON usage:
{ "icinga2_plugin_mysql": { "env": { "perl_path": "/usr/bin/perl" } } }
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 Link Path:
The full path to link this plugin to
Default Value:
/usr/lib/nagios/plugins/check_mysql_health_chef
Ruby usage:
node['icinga2_plugin_mysql']['nagios']['nagios_plugin_link'] = '/usr/lib/nagios/plugins/check_mysql_health_chef'
JSON usage:
{ "icinga2_plugin_mysql": { "nagios": { "nagios_plugin_link": "/usr/lib/nagios/plugins/check_mysql_health_chef" } } }
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/MelonSmasher/check_mysql_health.git
Ruby usage:
node['icinga2_plugin_mysql']['git']['repo_src_url'] = 'https://github.com/MelonSmasher/check_mysql_health.git'
JSON usage:
{ "icinga2_plugin_mysql": { "git": { "repo_src_url": "https://github.com/MelonSmasher/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
0.1.5 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.5 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
0.1.5 failed this metric
FC009: Resource attribute not recognised: icinga2_plugin_mysql/recipes/default.rb:13
Run with Foodcritic Version 12.0.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.5 passed this metric
No Binaries Metric
0.1.5 passed this metric
Testing File Metric
0.1.5 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
0.1.5 passed this metric
0.1.5 failed this metric
0.1.5 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
0.1.5 failed this metric
FC009: Resource attribute not recognised: icinga2_plugin_mysql/recipes/default.rb:13
Run with Foodcritic Version 12.0.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.5 passed this metric
No Binaries Metric
0.1.5 passed this metric
Testing File Metric
0.1.5 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
0.1.5 passed this metric
0.1.5 failed this metric
Run with Foodcritic Version 12.0.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.5 passed this metric
No Binaries Metric
0.1.5 passed this metric
Testing File Metric
0.1.5 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
0.1.5 passed this metric
0.1.5 passed this metric
0.1.5 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
0.1.5 passed this metric
0.1.5 passed this metric