-
Notifications
You must be signed in to change notification settings - Fork 33
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
mutator-influxdb-line-protocol.rb #32
Comments
Can you validate it is installed as an extension? extensions require a bit more setup than normal plugins: https://sensuapp.org/docs/0.29/reference/extensions.html#installing-sensu-extensions |
ok so i found it is installed correctly because of the following error |
gem env
|
@ssirobertreilly ok thanks I will take a look in a bit when I have some time just to make sure can you validate |
ls -al /etc/sensu/extensions/mutator-influxdb-line-protocol.rb |
I changed the perms on it to rule that out still get long stack and this error |
also, when i attempt to use the influxdb check i get the same message. |
at this point it looks like it is missing the gem 'cause', yet it is installed |
Can you verify in |
cat /etc/default/sensu |
Strange, I validated that that is an indirect dependency from influxdb gem and assuming the relative path you are giving me from sensu is what I expect this should work just fine. As a side note (not saying we cant fix or work around) I see this: InfluxCommunity/influxdb-ruby@6d8918a so maybe once they release we can bump the version and then this goes away? |
Here is the running theory I have and need some validation on your end, what version are you testing? Some things that seem related: Here is a full list of changes: 1.0.0...1.1.0. If you are using prior to these issues makes sense to me why its broken: InfluxCommunity/influxdb-ruby#151 and InfluxCommunity/influxdb-ruby#148 |
sensu 0.29 |
@majormoses That was in 1.0.0 @ssirobertreilly thanks for all the info. i'm going to try to repro your issue and see what's going on. |
my bad, github UI confuses me again...I need to stop using the UI... |
Hey @ssirobertreilly, I got this working. Can you run through an installation and compare with the output I got. It looks like you're doing everything right but there could be something subtly different. 1. Install the plugin:
2. Verify the
|
@eheydrick I will remove and re run through the setup, I did do the prework of enabling udp for influxdb. |
I was running influx udp on 8090 but for the sake of this test i changed it to 8089 handlers.json
still get the error complaining about "cause" not being found ... |
strange even though /etc/default/sensu is |
whaaat ? i will give it some time and validate i am getting data, must have been a bad gem dep when i installed influxdb using gem vs sensu-install. that is only thing I did differently |
womp {"timestamp":"2017-07-07T11:08:51.020539-0400","level":"error","message":"unknown handler","handler_name":"influxdb_udp"} |
ok, I got it working once i reinstalled and got rid the ruby dep error, I must have had a typo in the hander. it works now. thanks again for your time. |
@ssirobertreilly glad it's working for you. Regarding the EMBEDDED_RUBY message on installation - that's output whether you have it enabled already or not. We should probably stop outputting that since it's on by default since 0.21. |
when using the udp line protocol, this my handler
but file is named mutator-influxdb-line-protocol.rb,
in the log i get
sensu 0.29
influxdb 1.2.4
The text was updated successfully, but these errors were encountered: