Closed woodywuuu closed 6 years ago
You need to copy and rename the following file inside /opt/stackstorm/packs/zabbix/zabbix.yaml.example to /opt/stackstorm/configs/zabbix.yaml
Example: https://github.com/StackStorm-Exchange/stackstorm-zabbix/blob/master/zabbix.yaml.example
Thank you for prompt answer, @killsudo.
@woodywuuu
In addition, you also need to execute following command after setting /opt/stackstorm/configs/zabbix.yaml
file to register the configuration to the datastore.
# st2ctl reload --register-configs
or
You should configure the zabbix pack interactively as below. it's equal to the upper processings.
$ st2 pack config zabbix
Thank you ! @killsudo @userlocalhost
I'm new to st2 and zabbix. When I try to run zabbix.test_credentials ,it need data from configuration.I even check class Action in st2common,but can't find anything about where to add config.So I write a config dict in actions.py .XD