Sensu client are not appear in dashborad


#1

Hi

i have installed on single server all sensu packages and rabbitmq and redis according to the instruction on sensu docs and still client (which run on the same server) is not appear in the dashboard what could be the problem ?

here are some of the config files :

/etc/sensu/conf.d/rabbitmq.json
{
“rabbitmq”: {
“ssl”: {
“private_key_file”: “/etc/sensu/ssl/sensu_client_key.pem”,
“cert_chain_file”: “/etc/sensu/ssl/sensu_client_cert.pem”
},
“port”: 5671,
“host”: “es2.example.com”,
“user”: “sensu”,
“password”: “placeholder”,
“vhost”: “/sensu”
}
}

/etc/sensu/conf.d/redis.json
{
“redis”: {
“host”: “127.0.0.1”,
“port”: 6379
}
}

/etc/sensu/conf.d/client.json
{
“client”: {
“name”: “master”,
“address”: “es2.example.com”,
“subscriptions”: [ “ALL” ]
}
}

/etc/sensu/conf.d/api.json
{
“api”: {
“host”: “es2.example.com”,
“port”: 4567
}
}

/etc/sensu/uchiwa.json
{
“sensu”: [
{
“name”: “Sensu”,
“host”: “es2.example.com”,
“port”: 4567,
“user”: “sensu”,
“pass”: “placeholder”,
“path”: “”,
“timeout”: 5000
}
],
“uchiwa”: {
“host”: “0.0.0.0”,
“port”: 3000,
“user”: “uchiwa”,
“pass”: “placeholder”,
“refresh”: 5
}
}


#2

Can you pastebin some logs of the sensu-client and sensu-server?
Logs usually will have some hints as to why it is not working.

···

On Thu, Jun 25, 2015 at 4:55 AM, Igal Dahan <igal.dahan@gmail.com> wrote:

Hi

i have installed on single server all sensu packages and rabbitmq and redis
according to the instruction on sensu docs and still client (which run on
the same server) is not appear in the dashboard what could be the problem ?

here are some of the config files :

/etc/sensu/conf.d/rabbitmq.json
{
  "rabbitmq": {
          "ssl": {
        "private_key_file": "/etc/sensu/ssl/sensu_client_key.pem",
        "cert_chain_file": "/etc/sensu/ssl/sensu_client_cert.pem"
      },
        "port": 5671,
    "host": "es2.example.com",
    "user": "sensu",
    "password": "placeholder",
    "vhost": "/sensu"
  }
}

/etc/sensu/conf.d/redis.json
{
  "redis": {
    "host": "127.0.0.1",
    "port": 6379
  }
}

/etc/sensu/conf.d/client.json
{
   "client": {
      "name": "master",
      "address": "es2.example.com",
      "subscriptions": [ "ALL" ]
   }
}

/etc/sensu/conf.d/api.json
{
  "api": {
    "host": "es2.example.com",
    "port": 4567
  }
}

/etc/sensu/uchiwa.json
{
  "sensu": [
    {
      "name": "Sensu",
      "host": "es2.example.com",
      "port": 4567,
      "user": "sensu",
      "pass": "placeholder",
      "path": "",
      "timeout": 5000
    }
  ],
  "uchiwa": {
    "host": "0.0.0.0",
    "port": 3000,
    "user": "uchiwa",
    "pass": "placeholder",
    "refresh": 5
  }
}


#3

Sorry but I have found the problem… Certificate files…

Thanks anyway

Igal

Best Regards

Igal Dahan

···

On Jun 25, 2015 5:24 PM, “Kyle Anderson” kyle@xkyle.com wrote:

Can you pastebin some logs of the sensu-client and sensu-server?

Logs usually will have some hints as to why it is not working.

On Thu, Jun 25, 2015 at 4:55 AM, Igal Dahan igal.dahan@gmail.com wrote:

Hi

i have installed on single server all sensu packages and rabbitmq and redis

according to the instruction on sensu docs and still client (which run on

the same server) is not appear in the dashboard what could be the problem ?

here are some of the config files :

/etc/sensu/conf.d/rabbitmq.json

{

“rabbitmq”: {

      "ssl": {
    "private_key_file": "/etc/sensu/ssl/sensu_client_key.pem",
    "cert_chain_file": "/etc/sensu/ssl/sensu_client_cert.pem"
  },
    "port": 5671,
"host": "[es2.example.com](http://es2.example.com)",
"user": "sensu",
"password": "placeholder",
"vhost": "/sensu"

}

}

/etc/sensu/conf.d/redis.json

{

“redis”: {

"host": "127.0.0.1",
"port": 6379

}

}

/etc/sensu/conf.d/client.json

{

“client”: {

  "name": "master",
  "address": "[es2.example.com](http://es2.example.com)",
  "subscriptions": [ "ALL" ]

}

}

/etc/sensu/conf.d/api.json

{

“api”: {

"host": "[es2.example.com](http://es2.example.com)",
"port": 4567

}

}

/etc/sensu/uchiwa.json

{

“sensu”: [

{
  "name": "Sensu",
  "host": "[es2.example.com](http://es2.example.com)",
  "port": 4567,
  "user": "sensu",
  "pass": "placeholder",
  "path": "",
  "timeout": 5000
}

],

“uchiwa”: {

"host": "0.0.0.0",
"port": 3000,
"user": "uchiwa",
"pass": "placeholder",
"refresh": 5

}

}