-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmetadata.json
More file actions
29 lines (29 loc) · 3.03 KB
/
metadata.json
File metadata and controls
29 lines (29 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "Appfirst-Cookbook",
"description": "Installs/Configures appfirst collector",
"long_description": "Description\n===========\n\nConfigures an appfirst collector for a given account id. This will also set up a LWRP for creating Nagios checks via Appfirst.\n\n\nRequirements\n============\n\nChef 0.10.8 or higher due to using some new syntax.\n\nRecipes\n=======\n\ndefault\n-------\n\nThis recipe installs and updates the AppFirst client for a given account ID.\n\nAttributes\n==========\n\nThis recipe will attempt to download the collector if one does not exist locally, or if the current local one is out-of-date. It will continue \non failure in case the AppFirst front end is not responding.\n\nOpen Appfirst-Cookbook/attributes/default.rb, and edit the variable shown below to reflect your AppFirst account ID. This can be located in\nthe appfirst.com WebUI by navigating to the Administration tab, and then clicking 'Setup'. Click the 'Add More Collectors' link and retrieve the\nAccount ID from the Collector download URL. This should look something like 'http://wwws.appfirst.com/packages/initial/xxxx/'\n\n`default['appfirst']['appfirst_account_id'] = 'xxxx'`\n\nThe second noteworthy attribute allows the end user to specify where the\nCollector installation package should be stored locally after it is\nretrieved from appfirst.com:\n\n`default['appfirst']['tmp_file_location'] ='/tmp'`\n\nResources/Providers\n===================\n\nAppfirst Check\n--------------\n\nThis LWRP provides an easy way to manage Nagios Checks via Appfirst.\n\n# Actions\n\n- `:create` Templates the specified shell script and updates the NRPE config\n- `:remove` removes the Nagios Check (not implemented)\n\n# Attribute Parameters\n\n- `script_name` The name of the script being templated\n- `command` The name of the check, this should be a human readable description, only Alphanumerics and `'-\"_`\n- `warning` Warning Level for the Nagios Check (Integer)\n- `critical` Critical Level for the Nagios Check (Integer)\n- `options` Any additional options to be added to the command in the NRPE config\n\n# Examples\n\n```ruby\nappfirst_check \"Check_Redis_Memory_Usage\" do\n action :create\n command \"Check_Redis_Memory_Usage\"\n script_name \"check_redis_memory_usage.sh\"\n warning 50\n critical 75\nend\n```\n\nLicense and Author\n==================\n\nAuthor:: Andrew Gross (<andrew@yipit.com>)\n\nLicensed under the Buy Me a Beer License\n\n\n\"THE BEER-WARE LICENSE\" (Revision 42):\nAs long as you retain this notice you\ncan do whatever you want with this stuff. If we meet some day, and you think\nthis stuff is worth it, you can buy me a beer in return\n\n http://en.wikipedia.org/wiki/Beerware\n",
"maintainer": "Andrew Gross",
"maintainer_email": "andrew@yipit.com",
"license": "All rights reserved",
"platforms": {
},
"dependencies": {
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
},
"groupings": {
},
"recipes": {
},
"version": "1.0.2"
}