cookbook 'nrpe_configuration', '~> 0.2.3'
nrpe_configuration (6) Versions 0.2.3 Follow0
Configures the NRPE client
cookbook 'nrpe_configuration', '~> 0.2.3', :supermarket
knife supermarket install nrpe_configuration
knife supermarket download nrpe_configuration
nrpe_configuration
Configures the NRPE client for Windows.
Supports:
- Windows :white_check_mark:
Usage
nrpe_configuration::default
Just include nrpe_configuration
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[nrpe_configuration]" ] }
Attributes
Install Directory:
Tells this cookbook where to look for the NS Clients.
Default Value:
C:/Program Files/NSClient++/
Ruby usage:
node['nrpe_configuration']['install_directory'] = "D:/NSClient++/"
JSON usage:
{ "nrpe_configuration": { "install_directory": "D:/NSClient++/" } }
Note: forward slashes are used for Windows paths in Ruby.
Notify Service:
Tells the nscp
service to restart after the configuration has changed.
Default Value:
false
Ruby usage:
node['nrpe_configuration']['notify_service'] = true
JSON usage:
{ "nrpe_configuration": { "notify_service": true } }
Settings:
Settings that will be put in the nsclient.ini
.
Ruby usage:
node['nrpe_configuration']['settings'] = [ "[/settings/default]" => nil, "allowed hosts" => "192.168.1.10", "[/modules]" => nil, "CheckSystem" => 1 ]
JSON usage:
{ "nrpe_configuration": { "settings": { "[/settings/default]": null, "allowed hosts": "192.168.1.10", "[/modules]": null, "CheckSystem": 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.2.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.3 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.2.3 failed this metric
FC066: Ensure chef_version is set in metadata: nrpe_configuration/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.3 passed this metric
Testing File Metric
0.2.3 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.2.3 passed this metric
0.2.3 failed this metric
0.2.3 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.2.3 failed this metric
FC066: Ensure chef_version is set in metadata: nrpe_configuration/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.3 passed this metric
Testing File Metric
0.2.3 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.2.3 passed this metric
0.2.3 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.3 passed this metric
Testing File Metric
0.2.3 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.2.3 passed this metric
0.2.3 failed this metric
0.2.3 passed this metric