cookbook 'nagios-grid', '~> 0.3.0'
nagios-grid (9) Versions 0.3.0 Follow0
Installs/Configures nagios-grid
cookbook 'nagios-grid', '~> 0.3.0', :supermarket
knife supermarket install nagios-grid
knife supermarket download nagios-grid
nagios-grid Cookbook
This cookbook provides some recipes for Nagios setup.
Contents
Requirements
None.
Attributes
Key | Type | Description, example | Default |
---|---|---|---|
['nagios']['base_cfg_dir'] |
String | base conf. directory. | 'base' |
['nagios']['site_cfg_dir'] |
String | site conf. directory. | 'site' |
['nagios']['autostart'] |
Boolean | true |
|
['nagios']['autoreload'] |
Boolean | true |
|
['nagios']['with_pnp4nagios'] |
Boolean | false |
|
['nagios']['check_external_commands'] |
String | check_external_commands property in nagios.cfg | '0' |
['nagios']['command_file'] |
String | command_file property in nagios.cfg | see default.rb |
['nagios']['use_regexp_matching'] |
String | use_regexp_matching property in nagios.cfg | '0' |
['nagios']['cgi']['authorized_for_system_information'] |
String | CGI authorization property. | 'nagiosadmin' |
['nagios']['cgi']['authorized_for_configuration_information'] |
String | CGI authorization property. | 'nagiosadmin' |
['nagios']['cgi']['authorized_for_system_commands'] |
String | CGI authorization property. | 'nagiosadmin' |
['nagios']['cgi']['authorized_for_all_services'] |
String | CGI authorization property. | 'nagiosadmin' |
['nagios']['cgi']['authorized_for_all_hosts'] |
String | CGI authorization property. | 'nagiosadmin' |
['nagios']['cgi']['authorized_for_all_service_commands'] |
String | CGI authorization property. | 'nagiosadmin' |
['nagios']['cgi']['authorized_for_all_host_commands'] |
String | CGI authorization property. | 'nagiosadmin' |
['nagios']['cgi']['result_limit'] |
String | result set limitation. | '100' |
['nagios']['cgi']['use_authentication'] |
String | '1' |
|
['nagios']['web']['Require'] |
Array | Apache >= 2.3 | ['all granted',] |
['nagios']['web']['Order'] |
String | Apache < 2.3 | 'Allow,Deny' |
['nagios']['web']['Deny'] |
Array | Apache < 2.3 | [] |
['nagios']['web']['Allow'] |
Array | Apache < 2.3 | ['From All',] |
['nagios']['web']['AuthType'] |
String | 'none' or 'Basic' or 'Kerberos' | 'Basic' |
['nagios']['web']['mod_auth_basic']['AuthUserFile'] |
String | see default.rb | |
['nagios']['web']['mod_auth_kerb']['KrbAuthRealms'] |
String | 'LOCALDOMAIN' |
|
['nagios']['web']['mod_auth_kerb']['KrbServiceName'] |
String | 'HTTP' |
|
['nagios']['web']['mod_auth_kerb']['Krb5Keytab'] |
String | '/etc/krb5.keytab' |
|
['nagios']['web']['mod_auth_kerb']['KrbMethodNegotiate'] |
String | 'on' |
|
['nagios']['web']['mod_auth_kerb']['KrbMethodK5Passwd'] |
String | 'off' |
|
['nagios']['localhost']['check_swap_usage']['enabled'] |
Boolean | true |
|
['nagios']['objects']['default_contact_groups'] |
String | 'admins' |
|
['nagios']['objects']['check_ldap']['base'] |
String | 'dc=example,dc=com' |
|
['nagios']['objects']['commands'] |
Array | for full customization. | [] |
['nagios']['objects']['hosts'] |
Array | for full customization. | [] |
['nagios']['objects']['hostgroups'] |
Array | for full customization. | [] |
['nagios']['objects']['hostdependencies'] |
Array | for full customization. | [] |
['nagios']['objects']['hostescalations'] |
Array | for full customization. | [] |
['nagios']['objects']['hostextinfos'] |
Array | for full customization. | [] |
['nagios']['objects']['services'] |
Array | for full customization. | [] |
['nagios']['objects']['servicegroups'] |
Array | for full customization. | [] |
['nagios']['objects']['servicedependencies'] |
Array | for full customization. | [] |
['nagios']['objects']['serviceescalations'] |
Array | for full customization. | [] |
['nagios']['objects']['serviceextinfos'] |
Array | for full customization. | [] |
['nagios']['objects']['contacts'] |
Array | for full customization. | [] |
['nagios']['objects']['contactgroups'] |
Array | for full customization. | [] |
['nagios']['objects']['timeperiods'] |
Array | for full customization. | [] |
['nagios']['NagAconda']['version'] |
String | for check_ganglia_metric | '0.1.4' |
['nagios']['check_ganglia_metric']['enabled'] |
Boolean | false |
|
['nagios']['check_ganglia_metric']['gmetad_host'] |
String | 'localhost' |
|
['nagios']['nrpe']['allowed_hosts'] |
String | '127.0.0.1' |
|
['nagios']['nrpe']['with_smartmontools'] |
Boolean | false |
|
['nagios']['nrpe']['check_total_procs']['warn'] |
String | '100' |
|
['nagios']['nrpe']['check_total_procs']['crit'] |
String | '200' |
|
['nagios']['nrpe']['check_disk#{(0..3)}']['warn'] |
String | '20%' |
|
['nagios']['nrpe']['check_disk#{(0..3)}']['crit'] |
String | '10%' |
|
['nagios']['nrpe']['check_disk#{(0..3)}']['path'] |
String | '/' |
|
['nagios']['nrpe']['check_disk#{(0..3)}']['extra_opts'] |
String | '' |
|
['nagios']['nrpe']['check_smart#{(0..3)}']['device'] |
String | '/dev/sda' |
|
['nagios']['nrpe']['check_dig']['host'] |
String | '127.0.0.1' |
|
['nagios']['nrpe']['check_dig']['lookup'] |
String | 'host-a.example.com' |
|
['nagios']['nrpe']['check_dig_in']['host'] |
String | '127.0.0.1' |
|
['nagios']['nrpe']['check_dig_in']['lookup'] |
String | 'host-b.example.com' |
|
['nagios']['nrpe']['check_dig_ex']['host'] |
String | '127.0.0.1' |
|
['nagios']['nrpe']['check_dig_ex']['lookup'] |
String | 'www.google.com' |
|
['nagios']['nrpe']['check_logs']['log_files'] |
Array | see default.rb | [] |
Usage
nagios-grid::default
- does nothing.
nagios-grid::nagios-base
- Nagios base installation.
nagios-grid::nagios-nrpe-server
- installs Nagios NRPE Server.
License and Authors
- Author:: whitestar at osdn.jp
Copyright 2016-2022, whitestar Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Plugins
- check_logs.pl: Copyright (c) 2005 Serge Sergeev,
- check_mem.pl: Copyright (c) 2011 justin at techadvise.com, The MIT License (MIT)
- check_smart.pl: This script was created under contract for the US Government and is therefore Public Domain.
Dependent cookbooks
yum-epel >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
nagios-grid CHANGELOG
0.3.0
- add check swap usage flag for localhost.
0.2.0
- add Nagios4 support.
0.1.7
- bug fix.
0.1.6
- adds NRPE no ssl support.
- adds
/etc/default/nagios-nrpe-server
template.
0.1.5
- bug fix.
- adds helper libraries.
- adds workaround for
check_disk_smb
command failure.
0.1.4
- adds workaround for
check_all_disks
command failure.
0.1.3
- adds the Debian 9 (stretch) support.
- adds the Ubuntu 17.04 support.
0.1.2
- adds the
check_mem.pl
plugin support.
0.1.1
- metadata update (supported OSs).
0.1.0
- Initial release of nagios-grid
Collaborator Number Metric
0.3.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.0 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.3.0 passed this metric
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 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.3.0 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 include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 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.3.0 passed this metric
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 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.3.0 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 include a tag that matches this cookbook version number
0.3.0 passed this metric
0.3.0 passed this metric
Testing File Metric
0.3.0 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.3.0 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 include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 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 include a tag that matches this cookbook version number