-
Notifications
You must be signed in to change notification settings - Fork 582
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
[dev.icinga.com #12276] InfluxdbWriter does not write state other than 0 #4423
Comments
Updated by bsheqa on 2016-08-01 15:53:21 +00:00 It looks like metadata is only being sent if there are also valide perfdata. |
Updated by nglp on 2016-10-05 08:09:30 +00:00 We have an issue like this, our case: Any check or host without valid performance data (or none performance data) doesnt write metadata on influxdb It can be reproduced doing simple steps
Same with services, you can try with simple script with an exit 0 (or 2) inside Our version is r2.5.3-1 |
Updated by spjmurray on 2016-10-06 09:27:08 +00:00 Looks like an easy enough fix. I shall have it done shortly... |
Updated by spjmurray on 2016-10-06 10:24:51 +00:00
From e58433c71af91c635cbba516ab0fc6ce3a51d79f Mon Sep 17 00:00:00 2001 Previously the logic would just bail out if no performance data was associated with a refs: #12276 |
Updated by spjmurray on 2016-10-06 10:27:31 +00:00 As you can see meta-data is only written out once per check now and doesn"t have a metric name (as it"s not guaranteed to have one when no performance data is present).
|
Updated by nglp on 2016-10-10 13:20:32 +00:00 spjmurray wrote:
Thank you mate, this will be implemented on next releases? |
Updated by spjmurray on 2016-10-10 16:33:24 +00:00 Depends how long it takes to send a bribe of cookies to Germany... I"ll give Gunnar a poke tomorrow and get the ball rolling, short answer: probably |
Updated by nglp on 2016-11-02 10:16:58 +00:00 spjmurray wrote:
Hi again, I really need this, so i tried to patch it on v.2.5.3 but im getting an error on compilation when it tries to compile that module with that patch code. Can you provide me the ccp or version with you compiled it sucesfully? Thank you |
Updated by spjmurray on 2016-11-04 12:30:13 +00:00 Given it was written 17th September on master I can only assume it"s intended to be patched onto 2.5.4 or later. I"ve rebased onto the current upstream head and it still applies and compile cleanly. Hopefully this is some help |
Updated by spjmurray on 2016-11-04 12:42:39 +00:00 @dnsmichi - can someone have a look at this please? |
Updated by mfriedrich on 2016-11-09 15:11:08 +00:00
Been on vacation lately. |
Updated by spjmurray on 2016-11-09 15:15:02 +00:00
Applied in changeset 2c37a00. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12276
Created by bsheqa on 2016-08-01 15:06:34 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2016-11-09 15:15:02 +00:00)
Target Version: 2.6.0
Last Update: 2016-11-09 15:15:02 +00:00 (in Redmine)
The InfluxdbWriter seems to not write states other than 0 to a InfluxDB database. If a hostalive check or service is not OK, the state does not get written at all
Tested with the following queries:
Attachments
Changesets
2016-11-09 15:10:21 +00:00 by spjmurray 2c37a00
The text was updated successfully, but these errors were encountered: