Chef Cookbook: Zabbix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Eric Renfro 14a3932083 Merge branch 'enhancement-erenfro-issue10-chef-vault-everything' of Linux-Help/zabbix into develop 6 years ago
attributes Finalized setup. Made nginx require fpm regardless of setting 6 years ago
files Split database installation to incporporate postgresql cookbook. Mysql support not yet implemented. 6 years ago
recipes Updated chef-vault usage to 100% completion 6 years ago
spec Initial commit 6 years ago
templates Updated chef-vault usage to 100% completion 6 years ago
test Split httpd and php into sub-modules, started adding support for nginx 6 years ago
.gitignore Initial commit 6 years ago
.kitchen.vagrant.yml Initial commit 6 years ago
.kitchen.yml Finalized setup. Made nginx require fpm regardless of setting 6 years ago
Berksfile Split httpd and php into sub-modules, started adding support for nginx 6 years ago
Gemfile Initial commit 6 years ago
README.md Initial commit 6 years ago
chefignore Initial commit 6 years ago
local-vagrantfile.rb Initial commit 6 years ago
metadata.rb Version bump 6 years ago

README.md

Zabbix Cookbook

This cookbook installs, manages, and handles Zabbix for monitoring systems health and system metrics. It also handles trap script auto-discovery based on recipe inclusion and tags, as well as auto-registration metadata.

The way auto-discovery works is, for example, if the openldap recipe is included in the run_list, the zabbix::trap_scripts will set up the variables used to add certain trap scripts to the monitored system, for use in:/etc/zabbix/trap.d/{live,daily}/

Optionally, in case a recipe is incomplete or not in use, you can manually enable a trap agent by use of tags on a per-node basis as well, using the node tags as such:

{
  "name": "some.node.name",
  "chef_environment": "_default",
  "normal": {
    "tags": [
      "httpd",
      "openldap"
    ]
  },
  "run_list": [
    "recipe[zabbix]"
  ]
}

This allows for fully automated, and manual designation of agents required for monitoring on every system.

Available tags for manual override are as follows:

httpd:  	Apache HTTPD
openldap:	OpenLDAP
mongodb:	MongoDB Database Server
tomcat:		Tomcat 6 Server