cookbook 'nrpe_configuration', '= 0.2.1'
nrpe_configuration (6) Versions 0.2.1 Follow0
Configures the NRPE client
cookbook 'nrpe_configuration', '= 0.2.1', :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.
License Metric
0.2.1 passed this metric
0.2.1 passed this metric