Hi,

all stable releases of the Graylog Collector are currently incompatible 
with Graylog 2.0.0-beta*. Please subscribe 
to https://github.com/Graylog2/collector/pull/85 for updates on this issue.

Cheers,
Jochen

On Wednesday, 6 April 2016 17:59:51 UTC+2, ob1 wrote:
>
> 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 graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/c5289a99-543e-4a69-b341-c118de92128d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to