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

kapacitor define-topic-handler not working with .yml files #1473

Closed
AlbinOS opened this issue Jul 11, 2017 · 1 comment
Closed

kapacitor define-topic-handler not working with .yml files #1473

AlbinOS opened this issue Jul 11, 2017 · 1 comment

Comments

@AlbinOS
Copy link

AlbinOS commented Jul 11, 2017

Dear,

First of all, thanks you for the amazing work on the TICK stack, it's a real pleasure to use it in as monitoring system.

Unfortunately, I'm running into a weird issue with Kapacitor as we are trying to use the topic handler feature.

If you try to define a topic-handler using a YAML file but named with .yml extension you'll have a weird error :

$> kapacitor define-topic-handler system my_handler slack.yml
invalid handler spec: handler Kind must not be empty

$> mv slack.yml slack.yaml

$> kapacitor define-topic-handler system my_handler slack.yaml

The content of the .yml/.yaml file is the following :

---

#// DEFINE: kapacitor define-topic-handler slack slack slack.yml
kind: slack

I know the living debate between the .yml/.yaml (I use .yml due to Ansible habit) and if you want to strictly apply YAML guidances, it's fine by me the error should be handled.

I'll have a quick look in the code if I can find where to change that.

Thanks a lot and have a nice evening from Belgium,
Albin.

@AlbinOS AlbinOS changed the title kapacitor define-topic-handler not working kapacitor define-topic-handler not working with .yml files Jul 11, 2017
@AlbinOS
Copy link
Author

AlbinOS commented Jul 11, 2017

Okey, while searching I saw that you already fixed the bug 2 month ago but I guess this is not yet released...

See #1403 and #1400, sorry for the false issue !

@AlbinOS AlbinOS closed this as completed Jul 11, 2017
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

No branches or pull requests

1 participant