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

[0.9.0rc32] Cannot get any input to work #2814

Closed
dennisjac opened this issue Jun 7, 2015 · 1 comment
Closed

[0.9.0rc32] Cannot get any input to work #2814

dennisjac opened this issue Jun 7, 2015 · 1 comment
Assignees

Comments

@dennisjac
Copy link

I've created a fresh config using "influxd config" and configured the collectd, graphite and udp inputs like this:

[collectd]
  enabled = true
  bind-address = "127.0.0.1"
  database = "metrics_collectd"
  typesdb = "/usr/share/collectd/types.db"
  port = 25827

[[graphite]] # 1 or more of these sections may be present.
enabled = true
protocol = "udp" # Set to "tcp" or "udp"
bind-address = "127.0.0.1" # If not set, is actually set to bind-address.
port = 2003
name-position = "last"
name-separator = "-"
database = "metrics_graphite"  # store graphite data in this database
batch-size = 100 # How many points to batch up internally before writing.
batch-timeout = "1000ms" # Maximum time to wait before sending batch, regardless of current size.

[udp]
  enabled = true
  bind-address = ""
  database = "metrics_udp"
  batch-size = 100
  batch-timeout = "1000ms"

InlfuxDB starts without error but I don't see it listening on any udp ports just the tcp ports 8083, 8086 and 8088. This is the startup information I see:

[root@nexus influxdb]# /opt/influxdb/influxd -pidfile /var/run/influxdb/influxd.pid -config /etc/opt/influxdb/influxdb.conf

 8888888           .d888 888                   8888888b.  888888b.
   888            d88P"  888                   888  "Y88b 888  "88b
   888            888    888                   888    888 888  .88P
   888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
   888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
   888   888  888 888    888 888  888   X88K   888    888 888    888
   888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
 8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"

GOMAXPROCS set to 8
using configuration at: /etc/opt/influxdb/influxdb.conf
2015/06/08 00:46:38 [INFO] raft: Node at 127.0.0.1:8088 [Follower] entering Follower state
2015/06/08 00:46:38 read local node id: 1
[httpd] 2015/06/08 00:46:38 listening on HTTP: [::]:8086
2015/06/08 00:46:40 [WARN] raft: Heartbeat timeout reached, starting election
2015/06/08 00:46:40 [INFO] raft: Node at 127.0.0.1:8088 [Candidate] entering Candidate state
2015/06/08 00:46:40 [DEBUG] raft: Votes needed: 1
2015/06/08 00:46:40 [DEBUG] raft: Vote granted. Tally: 1
2015/06/08 00:46:40 [INFO] raft: Election won. Tally: 1
2015/06/08 00:46:40 [INFO] raft: Node at 127.0.0.1:8088 [Leader] entering Leader state
2015/06/08 00:46:40 [INFO] raft: Disabling EnableSingleNode (bootstrap)
2015/06/08 00:46:40 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]
2015/06/08 00:46:40 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]
2015/06/08 00:46:40 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]
2015/06/08 00:46:40 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]
2015/06/08 00:46:40 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]
2015/06/08 00:46:40 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]
2015/06/08 00:46:40 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]
2015/06/08 00:46:40 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]
@renan-strauss
Copy link
Contributor

Noticed the same for UDP. In fact UDP was broken just after I added it back. Opened PR #2816 to fix that

@dgnorton dgnorton self-assigned this Jun 8, 2015
dgnorton added a commit that referenced this issue Jun 9, 2015
dgnorton added a commit that referenced this issue Jun 9, 2015
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