Skip to content

StephenKing/zabbix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESCRIPTION:

This cookbook install zabbix-agent and zabbix-server.

By defaut the cookbook install zabbix-agent, check the attribute for enable/disable zabbix_server / web or disable zabbix_agent installation.

Default login password for zabbix frontend is admin / zabbix CHANGE IT !

REQUIREMENTS:

Please include the default recipe before using any other recipe.

Example :

"recipe[zabbix]", "recipe[zabbix::agent_source]"

OR

"recipe[zabbix]", "recipe[zabbix::server_source]"

ATTRIBUTES:

Don't forget to set [:zabbix][:agent][:servers] = ["Your_zabbix_server.com","secondaryserver.com"] Don't forget to set [:zabbix][:web][:fqdn] or you will not have the zabbix web interface

If you want to use beta release of zabbix you can change the branch attribute and the zabbix version example :

Server :

node[:zabbix][:server][:branch] = "ZABBIX%20Latest%20Development" node[:zabbix][:server][:version] = "1.9.8"

Agent :

node[:zabbix][:agent][:branch] = "ZABBIX%20Latest%20Development" node[:zabbix][:agent][:version] = "1.9.8" node[:zabbix][:agent][:install_method] = "source"

USAGE :

Be carefull when you update your server version, you need to run the sql patch in /opt/zabbix-$VERSION.

TODO :

  • Support more platform on agent side windows ?
  • LWRP for telling host to use Zabbix Template

CHANGELOG :

0.0.27

* Configuration error about include_dir in zabbix_agentd.conf.erb	

0.0.26

* zabbix agent and zabbix server don't want the same include_dir, be carefull if you use include_dir
* noob error on zabbix::server

0.0.25

* Don't try to use String as Interger !

0.0.24

* Markdown Format for Readme.md

0.0.23

* Some Foodcritic

0.0.22

* Bug in metadata dependencies
* Firewall does not fix the protocol anymore

0.0.21

* Added Patch from Harlan Barnes <[email protected]> his patch include centos/redhat zabbix_server support.
* Added Patch from Harlan Barnes <[email protected]> his patch include directory has attribute.
* Force a minimum version for apache2 cookbook

0.0.20

* Added Patch from Harlan Barnes <[email protected]> his patch include centos/redhat zabbix_agent support.

0.0.19

* Fix README

0.0.18

* Fix sysconfdir to point to /etc/zabbix on recipe server_source 
* Fix right for folder frontends/php on recipe web
* Hardcode the PATH of conf file in initscript
* Agent source need to build on a other folder
* Add --prefix option to default attributes when using *-source recipe

0.0.17

* Don't mess with te PID, PID are now in /tmp

0.0.16

* Add depencies for recipe agent_source
* Add AlertScriptsPath folder and option for server.

0.0.15

* Add firewall magic for communication between client and server

0.0.14

* Correction on documentation

0.0.13

* Fix some issue on web receipe.

0.0.12

* Change default value of zabbix.server.dbpassword to nil

0.0.11

* Remove mikoomo
* Still refactoring

0.0.10

* Preparation for multiple type installation and some refactoring
* Support the installation of a beta version when using the install_method == source and changing the attribute branch

0.0.9

* Tune of mikoomi for running on agent side.

0.0.8

* Fix some major issu

0.0.7

* Add some love to php value
* Now recipe mysql_setup populate the database
* Minor fix

0.0.6

* Change the name of the web_app to fit the fqdn

About

Zabbix chef cookbook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%