Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


pnp4nagios (7) Versions 0.2.0

Installs/Configures pnp4nagios

cookbook 'pnp4nagios', '= 0.2.0', :supermarket
cookbook 'pnp4nagios', '= 0.2.0'
knife supermarket install pnp4nagios
knife supermarket download pnp4nagios
Quality -%

pnp4nagios Cookbook

Build Status

This is a Chef cookbook to manage PNP4Nagios using LWRP.



  • rrdtool

RRDTool / RRDCached

This cookbook does not manage rrdtool, instead utilize cookbook rrdtool to setup
rrdcached service.


  • pnp4nagios::default - default recipe (used for run_list)

  • pnp4nagios::install - install pnp4nagios

  • pnp4nagios::config - configures pnp4nagios

  • pnp4nagios::apache - install apache and manage pnp4nagios apache vhost


  • default['pnp4nagios']['version'] (default: 0.6.24): pnp4nagios version

  • default['pnp4nagios']['source_url'] (default: ): pnp4nagios download source url

  • default['pnp4nagios']['user'] (default: nagios): pnp4nagios user

  • default['pnp4nagios']['group'] (default: nagios): pnp4nagios group

  • default['pnp4nagios']['perms'] (default: 0664): pnp4nagios permissions

  • default['pnp4nagios']['users']['pnp4nagios'] (default: pnp4nagios:pnp4nagios): pnp4nagios default users

  • default['pnp4nagios']['manage_auth_file'] (default: false): whether to manage http auth file

  • default['pnp4nagios']['auth_file'] (default: /etc/pnp4nagios/pnp4nagios.users): auth file for /pnp4nagios

  • default['pnp4nagios']['source_dir'] (default: /usr/local/src/pnp4nagios-x.y.z): pnp4nagios source directory to install

  • default['pnp4nagios']['install_dir'] (default: /usr/local/pnp4nagios): pnp4nagios install directory

  • default['pnp4nagios']['var_dir'] (default: /usr/local/pnp4nagios/var): pnp4nagios var directory

  • default['pnp4nagios']['conf_dir'] (default: /etc/pnp4nagios): pnp4nagios configuration directory

  • default['pnp4nagios']['home_dir'] (default: /var/lib/pnp4nagios): pnp4nagios home/lib directory

  • default['pnp4nagios']['spool_dir'] (default: /var/spool/icinga2/perfdata): pnp4nagios spool directory for icinga/nagios performance data

  • default['pnp4nagios']['log_dir'] (default: /var/log/pnp4nagios): pnp4nagios log directory

  • default['pnp4nagios']['perf_data_dir'] (default: /var/rrdtool/cache): rrdcached / rrdtool cache directory

  • default['pnp4nagios']['rrd_listener'] (default: ``): pnp4nagios rrdtool / rrdcached listener / socket

  • default['pnp4nagios']['rrd_stats_dir'] (default: /var/rrdtool/stats): rrdtool stats dir

  • default['pnp4nagios']['use_rrds'] (default: 0):

  • default['pnp4nagios']['nagios_base'] (default: /nagios/cgi-bin): nagios / icinga cgi-bin base http url

  • default['pnp4nagios']['multisite_base_url'] (default: /nagios): nagios / icinga base url

  • default['pnp4nagios']['livestatus_socket'] (default: unix:/usr/local/nagios/var/rw/live): nagios / icinga livestatus socket

  • default['pnp4nagios']['log_type'] (default: file): pnp4nagios log type

  • default['pnp4nagios']['log_level'] (default: 0): pnp4nagios log level

  • default['pnp4nagios']['max_log_file_size'] (default: 10485760): pnp4nagios max log size

  • default['pnp4nagios']['perfdata_run_cmd_args'] (default: --bulk): pnp4nagios perfdata args for npcd

  • default['pnp4nagios']['npcd_max_threads'] (default: 5): npcd process threads

  • default['pnp4nagios']['npcd_sleep_time'] (default: 15): npcd process sleep time

  • default['pnp4nagios']['perfdata_file_processing_interval'] (default: 15): perfdata processing interval


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests (rake), ensuring they all pass
  6. Write new resource/attribute description to
  7. Write description about changes to PR
  8. Submit a Pull Request using Github

Authors:: Virender Khatri and Contributors

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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

pnp4nagios CHANGELOG

This file is used to list changes made in each version of the pnp4nagios cookbook.


  • Virender Khatri - applied temp fix for rrdcache socket connect error

  • Virender Khatri - added notify to files / templates resources

  • Virender Khatri - default to nagios spool directory


  • Virender Khatri - fixed incorrect dir management for spool dir

  • Virender Khatri - added rra.cfg file


  • 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.

No quality metric results found