laradji / zabbix

Zabbix chef cookbook
Apache License 2.0
91 stars 125 forks source link

Added possibility to create custom scripts #182

Open vladimir-low opened 10 years ago

vladimir-low commented 10 years ago

Such scripts could be used at user parameters later.

This feature is disabled by default. To start using it you need to do the following:

NOTE: filename should be the same as specified at user_script list

EXAMPLE: default['zabbix']['agent'] => { ... 'user_script' => ['check_zookeeper.py'], 'user_parameter' => ['zookeeper[*],/etc/zabbix/user_scripts/check_zookeeper.py -s localhost:2181'] }