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
mod_statsdx doesn't work #185
Comments
I try again to reproduce this problem. This is what I do:
Notice that this downloads the ejabberd-contrib git repo, compiles this module, and enables its configuration in $HOME/.ejabberd-modules, so there is nothing to configure in the main ejabberd configuration file. Why does in your case mention that the module is configured with hooks,traffic? Don't touch any configuration at all, simply follow the most simple steps I showed. Later, if all works correctly, you will be able to touch the configuration. |
@badlop but I must change something in default config ;_; In ejabberd 16.04 everything works, in newer versions there is a problem, even when I delete default config and add own configuration in my main config file. |
I tried add config to /etc/ejabberd/modules.d/mod_statsdx.yml (this is my CONTRIB_MODULES_CONF_DIR) but file is ignored... |
You are having a problem, I invested time trying to reproduce it, provided you precise steps, and asked you a very precise question: If you follow those steps, does it work correctly, or not? Now that you mention, I've added
to ejabberdctl.cfg, and then created the file /tmp/config/mod_statsdx.yml with this content:
Then I started ejabberd, and the module started correctly, it only reported that I made a typo error in the config:
This proves that the file is read correctly. |
|
Oh, quite strange, because I have tried 16.09 (from git), and your test 1 works correctly for me. |
After upgrading ejabberd from 16.04 to 16.08 I have problem with module mod_statsdx, in error.log I see:
The text was updated successfully, but these errors were encountered: