Hi Folks,

Running latest graylog beta on Centos 6.7.  I have graylog-collector-0.4.2 
running on a separate Centos 6.7 server. 

My collector is not appearing in System/Collectors in the UI and throws the 
following warnings:

2016-04-06T15:48:42.962+0000 WARN  [HeartbeatService RUNNING] 
collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog 
server, result was: 404 - Not Found
2016-04-06T15:48:47.961+0000 WARN  [HeartbeatService RUNNING] 
collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog 
server, result was: 404 - Not Found
2016-04-06T15:48:52.962+0000 WARN  [HeartbeatService RUNNING] 
collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog 
server, result was: 404 - Not Found
2016-04-06T15:48:57.963+0000 WARN  [HeartbeatService RUNNING] 
collector.heartbeat.HeartbeatService - Unable to send heartbeat to Graylog 
server, result was: 404 - Not Found

Indeed, curl'ing yields this (I guess it proves that it's at least getting 
a response):

#curl x.x.x.x:12900
{"type":"ApiError","message":"HTTP 404 Not Found"}

Within the Graylog UI, I manually configured a Gelf TCP input (TCP:12201) 
and can see incoming messages, but shouldn't my collector automatically 
register with graylog and appear in System/Collectors?

Here's what I've configured in graylog-collector:

server-url = "http://x.x.x.x:12900";

inputs {
  local-syslog {
    type = "file"
    path = "/var/log/messages"
    charset = "utf-8"
    content-splitter = "newline"
  }
  local-maillog {
    type = "file"
    path = "/var/log/maillog"
    charset = "utf-8"
    content-splitter = "newline"
  }

outputs {
  gelf-tcp {
    type = "gelf"
    host = "x.x.x.x"
    port = 12201
  }
  console {
    type = "stdout"
  }
}


-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/f0a13e1e-44c6-448b-b6ca-343e8318e606%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to