cookbook 'nrpe_configuration', '= 0.2.0'
nrpe_configuration (6) Versions 0.2.0 Follow0
Configures the NRPE client
cookbook 'nrpe_configuration', '= 0.2.0', :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.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Foodcritic Metric
0.2.0 passed this metric
License Metric
0.2.0 passed this metric
0.2.0 failed this metric
0.2.0 passed this metric
License Metric
0.2.0 passed this metric
0.2.0 passed this metric