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

How to make input plugin collect data on each :00:00, :05:00, :10:00, ... ? #3968

Closed
crazy-canux opened this issue Apr 4, 2018 · 1 comment · Fixed by #4938
Closed

How to make input plugin collect data on each :00:00, :05:00, :10:00, ... ? #3968

crazy-canux opened this issue Apr 4, 2018 · 1 comment · Fixed by #4938
Assignees
Labels
area/agent bug unexpected problem or unintended behavior
Milestone

Comments

@crazy-canux
Copy link
Contributor

crazy-canux commented Apr 4, 2018

Bug report

Relevant telegraf.conf:

System info:

telegraf-1.5
influxdb-1.5
ubuntu16.04

Steps to reproduce:

[agent]
interval = "60s"
round_interval = true

[[outputs.influxdb]]
urls = ["http://127.0.0.1:8086"] # required
database = "test" # required
precision = "s"

[[inputs.rabbitmq]]
interval = "5m"
url = "http://localhost:15672"
username = "username"
password = "password"

Expected behavior:

time consumers messages messages_publish queue


2018-04-04T05:40:00Z 0 0 0 report_queue

Actual behavior:

time consumers messages messages_publish queue


2018-04-04T05:38:00Z 0 0 0 report_queue

Additional info:

How to make telegraf collect data on :05:00, :10:00, :15:00, ...

@danielnelson
Copy link
Contributor

The agent currently aligns all inputs based on the agent interval, and then begins counting the plugin intervals. We should fix this.

@danielnelson danielnelson added the bug unexpected problem or unintended behavior label Apr 4, 2018
@danielnelson danielnelson self-assigned this Sep 14, 2018
@russorat russorat added this to the 1.9.0 milestone Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/agent bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants