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


nagios3 (39) Versions 1.5.0

Setup nagios3 with common checks predefined

cookbook 'nagios3', '= 1.5.0', :supermarket
cookbook 'nagios3', '= 1.5.0'
knife supermarket install nagios3
knife supermarket download nagios3
Quality 100%

nagios3 Cookbook

Build Status
Install and Configure nagios3 monitor with nagiosgraph and common checks predefined

No special configuration is required to enforce the basic checks.



  • Debian/Ubuntu
  • RHEL/CentOS/Scientific
  • Fedora
  • ArchLinux
  • FreeBSD


  • default
  • nagios_server
  • nagios_client
  • nagios_check


Ensure that the nagios server and client are installed and the service is managed with recipe[nagios3].

Attributes List

  • node['nagios']['server_ip] - The nagios server ip. If it's or current chef client ip, this machine will install nagios server. Default value is
  • node['nagios'][client_ip_list] - The nagios client ip list. If it's or current chef client ip is in the ip list, this machine will install nagios server. Default value is
  • node['nagios']['allowed_host] - allowed_host for nrpe call. Default is ""
  • node['nagios']['admin_username] - admin username to login webUI of nagios. Default is nagiosadmin
  • node['nagios']['admin_password_hash] - The hash value of password. Default is password1234. The has can be generated by cli like "openssl passwd -1 password1234"

Examples and Common usage

Current machine install both nagios server and client

"nagios": {
  "server_ip": "",
  "client_ip_list": ""

Customize admin username and password for nagios server

"nagios": {
  "server_ip": "",
  "client_ip_list": ""
  "admin_username": "mynagios"
  # generated by "openssl passwd -1 mypassword"
  "admin_password_hash": "$1$hZeGGyy1$AbzVOr8H6DLJTlppWP2zx."

Current machine only install nagios client

Suppose we have a cluster of 3 machines, which ip of,,

And we want to deploy nagios system like: as nagios server, all other machines as nagios clients

"nagios": {
  "server_ip": "",
  "client_ip_list": ";;"

License & Authors

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.

Dependent cookbooks

apache2 >= 0.0.0
linux-basic >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric

1.5.0 passed this metric