debian - Sensu does not seem to make a connection to a client -
i installed sensu 0.18.1 on debian 7.8.0 using chef. installation seems completed successfully, reason client not appear on uchiwa dashboard.
the server log says "unsubscribing keepalive , result queues" warning. i'm not sure message means...
and found message rabbitmq fails connection. seems connection once succeeded, fails in minute. doesn't make sense message means.
/var/log/rabbitmq/rabbit@debiansensuserver.log
=info report==== 24-aug-2015::20:01:30 === accepting amqp connection <0.9084.0> (127.0.0.1:59174 -> 127.0.0.1:5672) =error report==== 24-aug-2015::20:01:30 === closing amqp connection <0.9084.0> (127.0.0.1:59174 -> 127.0.0.1:5672): {bad_header,<<129,15,1,3,3,0,246,0>>}
how fix problem , show client on uchiwa dashboard?
i have poor knowledge field, suggestions highly appreciated.
/var/log/sensu/sensu-server.log
{"timestamp":"2015-08-24t19:38:15.089922-0400","level":"warn","message":"loading config file","file":"/etc/sensu/config.json"} {"timestamp":"2015-08-24t19:38:15.090311-0400","level":"warn","message":"loading config files directory","directory":"/etc/sensu/conf.d"} {"timestamp":"2015-08-24t19:38:15.109140-0400","level":"warn","message":"loading extension files directory","directory":"/etc/sensu/extensions"} {"timestamp":"2015-08-24t19:38:15.109842-0400","level":"warn","message":"loaded extension","type":"mutator","name":"json","description":"returns json formatted event data"} {"timestamp":"2015-08-24t19:38:15.109929-0400","level":"warn","message":"loaded extension","type":"mutator","name":"ruby_hash","description":"returns ruby hash event data"} {"timestamp":"2015-08-24t19:38:15.109999-0400","level":"warn","message":"loaded extension","type":"mutator","name":"only_check_output","description":"returns check output"} {"timestamp":"2015-08-24t19:38:15.110067-0400","level":"warn","message":"loaded extension","type":"handler","name":"debug","description":"returns raw event data"} {"timestamp":"2015-08-24t19:38:15.247597-0400","level":"warn","message":"reconnecting transport"} {"timestamp":"2015-08-24t19:38:15.247803-0400","level":"warn","message":"unsubscribing keepalive , result queues"}
/var/log/sensu/sensu-client.log
{"timestamp":"2015-08-24t19:26:57.291895-0400","level":"warn","message":"loading config file","file":"/etc/sensu/config.json"} {"timestamp":"2015-08-24t19:26:57.292039-0400","level":"warn","message":"loading config files directory","directory":"/etc/sensu/conf.d"} {"timestamp":"2015-08-24t19:26:57.294905-0400","level":"warn","message":"loading extension files directory","directory":"/etc/sensu/extensions"} {"timestamp":"2015-08-24t19:26:57.450583-0400","level":"warn","message":"reconnecting transport"}
can output content of config file , confirm sensu has connection redis server assume on localhost case. please put if have ipv6 enabled.
if want can edit /etc/default/sensu file , set log level debug, restart sensu-server using init script
i ran similar issues , problem redis connection, quite misleading.
Comments
Post a Comment