Unable to see client on Uchiwa dashboard (Sensu Monitoring)


#1

I have a Sensu SERVER setup and a Sensu CLIENT. Services sensu-server, sensu-client, uchiwa, sensu-api are running on SERVER. Services sensu-client is running on CLIENT.

All the checks I described in /etc/sensu/conf.d in SERVER are listed in uchiwa.

Unfortunately, I can’t see any client listed. Including the sensu-client running on SERVER.

in SERVER:

   $ cat client.json { "client": { "name": "server", "address": "10.41.10.1", "subscriptions": ["ALL" ] } }
 

in CLIENT:

   $cat client.json { "client": { "name": "compute1", "address": "10.41.10.10", "subscriptions": [ "system","cmpt" ] } }
 

How to debug this issue? I can’t see any errors. I don’t know if the problem is with uchiwa or sensu? Has anyone resolved a similar issue?


#2

Can you pastebin your sensu-client logs? Without logs it is very
difficult to debug.

···

On Mon, Feb 8, 2016 at 1:03 AM, Aslam Abbas <xachu4u@gmail.com> wrote:

I have a Sensu SERVER setup and a Sensu CLIENT. Services sensu-server,
sensu-client, uchiwa, sensu-api are running on SERVER. Services sensu-client
is running on CLIENT.

All the checks I described in /etc/sensu/conf.d in SERVER are listed in
uchiwa.

Unfortunately, I can't see any client listed. Including the sensu-client
running on SERVER.

in SERVER:

$ cat client.json
{
   "client": {
      "name": "server",
      "address": "10.41.10.1",
      "subscriptions": ["ALL" ]
   }
}

in CLIENT:

$cat client.json
{
   "client": {
      "name": "compute1",
      "address": "10.41.10.10",
      "subscriptions": [ "system","cmpt" ]
   }
}

How to debug this issue? I can't see any errors. I don't know if the problem
is with uchiwa or sensu? Has anyone resolved a similar issue?