sudo /etc/init.d/sensu-client start
Starting sensu-client [FAILED]
**ls -lh /etc/sensu/conf.d/client.json **
-rw-rw-rw- 1 sensu sensu 421 Jul 13 00:42 /etc/sensu/conf.d/client.json
cat /etc/sensu/conf.d/client.json
{
“client”: {
“name”: “sensu.server”,
“address”: “10.10.10.100”,
“subscriptions”: [ “ALL” ]
“socket”: {
“bind”: “0.0.0.0”,
“port”: 3031
}
}
//
“rabbitmq”: {
“vhost”: “/sensu”,
“host”: “localhost”,
“password”: “password”,
“port”: 5672,
“user”: “sensu”
}
}
tail -f /var/log/sensu/sensu-client.log
{“timestamp”:“2016-07-13T00:42:44.119558+0300”,“level”:“warn”,“message”:“config file does not exist or is not readable”,“file”:"/etc/sensu/config.json"}
{“timestamp”:“2016-07-13T00:42:44.119889+0300”,“level”:“warn”,“message”:“ignoring config file”,“file”:"/etc/sensu/config.json"}
{“timestamp”:“2016-07-13T00:42:44.120066+0300”,“level”:“warn”,“message”:“loading config files from directory”,“directory”:"/etc/sensu/conf.d"}
{“timestamp”:“2016-07-13T00:42:44.120217+0300”,“level”:“fatal”,“message”:“client must be a hash”,“object”:null}
{“timestamp”:“2016-07-13T00:42:44.120335+0300”,“level”:“fatal”,“message”:“SENSU NOT RUNNING!”}