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

use “fill(previous)” instead of “fill(null)” in histou application while querying influxdb timeseries database #36

Open
kaushalshriyan opened this issue Feb 10, 2020 · 7 comments

Comments

@kaushalshriyan
Copy link

Hi Philip Griesbacher,

I am referring to https://support.nagios.com/kb/article/nagios-core-performance-graphs-using-influxdb-nagflux-grafana-histou-802.html I am currently facing issue with the setup. For example, is there a way to run SQL query in InfluxDB for the time period between 17:20 till 18:00 where there is no data? For example http://externalIP:3000/dashboard/script/histou.js?orgId=1&host=dublin-dmz-non-dmz-cszk1.testmoconnect.io&service=Check%20Disk&refresh=30s&fullscreen&edit&panelId=1 I see the below issue.

Screenshot 2020-02-09 at 10 58 31 PM

Is there a way to use “fill(previous)” instead of “fill(null)”, which is the default one in histou application https://github.com/Griesbacher/histou as per the below screenshot?

grafanadashboard

Please let me know if you need any additional information and I look forward to hearing from you. Thanks in advance.

Best Regards,

Kaushal

@kaushalshriyan
Copy link
Author

@Griesbacher Checking in if you had a chance to look at the issue. I look forward to hearing from you. Much appreciated for your help and thanks in advance.

Best Regards,

Kaushal

@kaushalshriyandac
Copy link

@Griesbacher Checking in again if you got a chance to look at this issue.

@kaushalshriyan
Copy link
Author

@Griesbacher Checking in again if you had a chance to look at the issue. Thanks in Advance.

@Griesbacher
Copy link
Owner

Hi, sorry I'm not actively working on Histou. You could create custom simple templates and change the fill behavior, like here: https://github.com/Griesbacher/histou/blob/master/templates/default/ping.simple.example#L54

@kaushalshriyan
Copy link
Author

@Griesbacher I am not sure if I understand it completely. Any examples?

@kaushalshriyan
Copy link
Author

@Griesbacher I will appreciate it if you can help me understand with examples. Thanks in Advance. I working hard to fix this task.

@Griesbacher
Copy link
Owner

The link I've provided is an example, histou generates JSON which will be used as dashboard by Grafana. Therefore you have to change the histou output to match the Grafana config for your desired Dashboard. The line I've marked is for the filling behavior.

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

3 participants