Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added possibility to create custom scripts #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vladimir-low
Copy link

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:

  • enumerate all script you want to be uploaded in
    node['zabbix']['agent']['user_script'] list
  • put scripts into files/default/scripts folder.

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']
}

which could be used at user parameters later.

This feature is disabled by default. To start using
it you need to do the following:
 - enumerate all script you want to be uploaded in
   node['zabbix']['agent']['user_script'] list
 - put scripts into files/default/scripts folder.

NOTE: filename should be the same as specified at user_script list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant