cookbook 'pnp4nagios', '= 0.1.2'
pnp4nagios (7) Versions 0.1.2 Follow2
Installs/Configures pnp4nagios
cookbook 'pnp4nagios', '= 0.1.2', :supermarket
knife supermarket install pnp4nagios
knife supermarket download pnp4nagios
pnp4nagios Cookbook
This is a Chef cookbook to manage PNP4Nagios using LWRP.
Repository
https://github.com/vkhatri/chef-pnp4nagios
Dependencies
- rrdtool
RRDTool / RRDCached
This cookbook does not manage rrdtool, instead utilize cookbook rrdtool
to setup
rrdcached
service.
Recipes
pnp4nagios::default
- default recipe (used for run_list)pnp4nagios::install
- install pnp4nagiospnp4nagios::config
- configures pnp4nagiospnp4nagios::apache
- install apache and manage pnp4nagios apache vhost
Attributes
default['pnp4nagios']['version']
(default:0.6.24
): pnp4nagios versiondefault['pnp4nagios']['source_url']
(default: ): pnp4nagios download source urldefault['pnp4nagios']['user']
(default:nagios
): pnp4nagios userdefault['pnp4nagios']['group']
(default:nagios
): pnp4nagios groupdefault['pnp4nagios']['perms']
(default:0664
): pnp4nagios permissionsdefault['pnp4nagios']['users']['pnp4nagios']
(default:pnp4nagios:pnp4nagios
): pnp4nagios default usersdefault['pnp4nagios']['manage_auth_file']
(default:false
): whether to manage http auth filedefault['pnp4nagios']['auth_file']
(default:/etc/pnp4nagios/pnp4nagios.users
): auth file for /pnp4nagiosdefault['pnp4nagios']['source_dir']
(default:/usr/local/src/pnp4nagios-x.y.z
): pnp4nagios source directory to installdefault['pnp4nagios']['install_dir']
(default:/usr/local/pnp4nagios
): pnp4nagios install directorydefault['pnp4nagios']['var_dir']
(default:/usr/local/pnp4nagios/var
): pnp4nagios var directorydefault['pnp4nagios']['conf_dir']
(default:/etc/pnp4nagios
): pnp4nagios configuration directorydefault['pnp4nagios']['home_dir']
(default:/var/lib/pnp4nagios
): pnp4nagios home/lib directorydefault['pnp4nagios']['spool_dir']
(default:/var/spool/icinga2/perfdata
): pnp4nagios spool directory for icinga/nagios performance datadefault['pnp4nagios']['log_dir']
(default:/var/log/pnp4nagios
): pnp4nagios log directorydefault['pnp4nagios']['perf_data_dir']
(default:/var/rrdtool/cache
): rrdcached / rrdtool cache directorydefault['pnp4nagios']['rrd_listener']
(default:unix://var/rrdtool/rrdcached.sock
): pnp4nagios rrdtool / rrdcached listener / socketdefault['pnp4nagios']['rrd_stats_dir']
(default:/var/rrdtool/stats
): rrdtool stats dirdefault['pnp4nagios']['use_rrds']
(default:0
):default['pnp4nagios']['nagios_base']
(default:/nagios/cgi-bin
): nagios / icinga cgi-bin base http urldefault['pnp4nagios']['multisite_base_url']
(default:/nagios
): nagios / icinga base urldefault['pnp4nagios']['livestatus_socket']
(default:unix:/usr/local/nagios/var/rw/live
): nagios / icinga livestatus socketdefault['pnp4nagios']['log_type']
(default:file
): pnp4nagios log typedefault['pnp4nagios']['log_level']
(default:0
): pnp4nagios log leveldefault['pnp4nagios']['max_log_file_size']
(default:10485760
): pnp4nagios max log sizedefault['pnp4nagios']['perfdata_run_cmd_args']
(default:--bulk
): pnp4nagios perfdata args for npcddefault['pnp4nagios']['npcd_max_threads']
(default:5
): npcd process threadsdefault['pnp4nagios']['npcd_sleep_time']
(default:15
): npcd process sleep timedefault['pnp4nagios']['perfdata_file_processing_interval']
(default:15
): perfdata processing interval
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests (
rake
), ensuring they all pass - Write new resource/attribute description to
README.md
- Write description about changes to PR
- Submit a Pull Request using Github
Copyright & License
Authors:: Virender Khatri and Contributors
<pre>
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.
</pre>
pnp4nagios CHANGELOG
This file is used to list changes made in each version of the pnp4nagios cookbook.
0.1.0
- Virender Khatri - Initial release of pnp4nagios
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.