/chef-zabbix-agent

Cookbook that installs and configures zabbix agent.

Primary LanguageRuby

zabbix-agent

Description

Installs and configures zabbix-agent and appropriate custom scripts for it if needed.

Attributes

  • node['zabbix']['listen'] - Ip address or interface to listen on. Default: 0.0.0.0
  • node['zabbix']['server_name'] - Server name or ip address that is allowed to connect to this zabbix_agent. Default: zabbix.example.com
  • node['zabbix']['agent_debuglevel'] - Log level. Default: 3
  • node['zabbix']['agent_log_dir'] - Directory to put log files in. Default: /var/log/zabbix-agent
  • node['zabbix']['agent_pid_dir'] - Directory to put pid file in. Default: /var/run/zabbix

Additional user defined zabbix items

iostat

dev.iostat[*]

Where star stands for disk name. Show iops for that device.

mdraid

dev.md[*]

Invoked automatically if /proc/mdstat exists. Creates script that checks the status of md raid device.

Copyright

2013 Evil Martians (surrender@evilmartians.com)