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

The checkmk cookbook has been deprecated

Author provided reason for deprecation:

The checkmk cookbook has been deprecated and is no longer being maintained by its authors. Use of the checkmk cookbook is no longer recommended.

You may find that the github cookbook is a suitable alternative.

RSS

checkmk (4) Versions 1.8.0

Installs/Configures checkmk server/agent

Policyfile
Berkshelf
Knife
cookbook 'checkmk', '= 1.8.0', :supermarket
cookbook 'checkmk', '= 1.8.0'
knife supermarket install checkmk
knife supermarket download checkmk
README
Dependencies
Quality 50%

checkmk

Enviromental required variables that need to be defined<br/>
CMK_TOKEN - To hold the token created by the server
CMK_IP - The IP address of the CheckMK server

Here is an example of where to get the free version:<br />
This for RHEL/CentOS only<br />
```
osv=8 # Version of RHEL/CentOS
cmkv='1.6.0p25' # 1.6 Version of checkmk server

cmkv='2.0.0p8' # 2.0 Version of checkmk server

1.6.0

wget -q https://download.checkmk.com/checkmk/${cmkv}/check-mk-enterprise-${cmkv}.demo-el${osv}-38.x86_64.rpm

2.0.0

wget -q https://download.checkmk.com/checkmk/${cmkv}/check-mk-free-${cmkv}-el${osv}-38.x86_64.rpm

My local server to get pre-packaged agent

wget http://checkmks/cmk/check_mk/agents/check-mk-agent-${cmkv}-1.noarch.rpm
curl "http://checkmks/cmk/check_mk/webapi.py?action=get_all_hosts&_username=automation&_secret=$akey"
```

The following will list the CheckMK token, if on server

sudo cat /opt/omd/sites/cmk/var/check_mk/web/automation/automation.secret

The following will list the CheckMK token, from host

knife ssh -m checkmks -x vagrant -P vagrant 'sudo cat /opt/omd/sites/cmk/var/check_mk/web/automation/automation.secret'

Creating a host:
curl "http://checkmks/cmk/check_mk/webapi.py?action=add_host&_username=automation&_secret=$akey" -d 'request={"hostname":"checkmks","folder":"","attributes":{"ipaddress":"10.1.1.20","site":"cmk","tag_agent":"cmk-agent"}}'

Executing a Service Discovery
curl "http://checkmks/cmk/check_mk/webapi.py?action=discover_services&_username=automation&_secret=$akey" -d 'request={"hostname":"checkmks"}'

Activating changes
curl "http://checkmks/cmk/check_mk/webapi.py?_secret=$akey&_username=automation&action=activate_changes" -d 'request={"sites":["cmk"]}'

Dependent cookbooks

line >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.8.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.8.0 passed this metric

Foodcritic Metric
            

1.8.0 passed this metric

No Binaries Metric
            

1.8.0 passed this metric

Testing File Metric
            

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

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