cookbook 'icinga2_plugin_centreon', '~> 0.1.2'
icinga2_plugin_centreon (3) Versions 0.1.2 Follow0
Installs/Configures icinga2_plugin_centreon
cookbook 'icinga2_plugin_centreon', '~> 0.1.2', :supermarket
knife supermarket install icinga2_plugin_centreon
knife supermarket download icinga2_plugin_centreon
icinga2_plugin_centreon
Installs centreon/centreon-plugins for Nagios/icinga2.
Usage
icinga2_plugin_centreon::default
Just include icinga2_plugin_centreon in your node's run_list:
{
  "name":"my_node",
  "run_list": [
    "recipe[icinga2_plugin_centreon]"
  ]
}
Attributes
Nagios Plugin Dir:
The full path to nagios's plugin dir
Default Value:
- /usr/lib/nagios/plugins
Ruby usage:
node['icinga2_plugin_centreon']['nagios']['nagios_plugin_dir'] = '/usr/lib/nagios/plugins'
JSON usage:
{
  "icinga2_plugin_centreon": {
    "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_plugin_centreon_chef
Ruby usage:
node['icinga2_plugin_centreon']['git']['repo_path'] = '/usr/local/src/icinga2_plugin_centreon_chef'
JSON usage:
{
  "icinga2_plugin_centreon": {
    "git": {
      "repo_path": "/usr/local/src/icinga2_plugin_centreon_chef"
    }
  }
}
Plugin Source URL:
The git repository where this plugin's source should be pulled from
Default Value:
- https://github.com/centreon/centreon-plugins.git
Ruby usage:
node['icinga2_plugin_centreon']['git']['repo_src_url'] = 'https://github.com/centreon/centreon-plugins.git'
JSON usage:
{
  "icinga2_plugin_centreon": {
    "git": {
      "repo_src_url": "https://github.com/centreon/centreon-plugins.git"
    }
  }
}
Git Tag:
The git tag to check this plugin out to.
Default Value:
- 20171013
Ruby usage:
node['icinga2_plugin_centreon']['git']['tag'] = '20171013'
JSON usage:
{
  "icinga2_plugin_centreon": {
    "git": {
      "tag": "20171013"
    }
  }
}
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.2 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.2 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.2 passed this metric
        
      No Binaries Metric
        
            0.1.2 passed this metric
        
      Testing File Metric
        
            0.1.2 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.2 passed this metric
        
  
0.1.2 failed this metric
            0.1.2 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.2 passed this metric
        
      No Binaries Metric
        
            0.1.2 passed this metric
        
      Testing File Metric
        
            0.1.2 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.2 passed this metric
        
  
0.1.2 passed this metric
            0.1.2 passed this metric
        
      Testing File Metric
        
            0.1.2 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.2 passed this metric
        
  
0.1.2 failed this metric
            0.1.2 passed this metric