Add individual AWS ELB as a client in Sensu

Hi,

I’m new to Sensu and trying to monitor different AWS ELBs from Sensu server. Im using sensu aws plugin. Here is my configuration file.

{

“client”: {

“name”: “app1-elb”,

“subscriptions”: [

“check-from-sensu-server”,

“us-east-1”,
“elb”

]

},

“checks”: {

“check_app1_elb”: {

“command”: “/opt/sensu/embedded/bin/check-elb-health.rb -n app1-elb”,

“subscribers”: [

“elb”,

“check-from-sensu-server”,

“us-east-1”

],

“interval”: 30

}

}

}

``

I can see the check under sensu server in uchiwa. What should I do to see the ELBs individually in clients?

Cheers

Ferdous Shibly

Sensu has the concept of a JIT/proxy client check:
https://docs.sensu.io/sensu-core/1.2/reference/clients/#reference-documentation

···

On Tuesday, December 19, 2017 at 2:48:58 PM UTC-8, Ferdous Shibly wrote:

Hi,

I’m new to Sensu and trying to monitor different AWS ELBs from Sensu server. Im using sensu aws plugin. Here is my configuration file.

{

“client”: {

“name”: “app1-elb”,

“subscriptions”: [

“check-from-sensu-server”,

“us-east-1”,
“elb”

]

},

“checks”: {

“check_app1_elb”: {

“command”: “/opt/sensu/embedded/bin/check-elb-health.rb -n app1-elb”,

“subscribers”: [

“elb”,

“check-from-sensu-server”,

“us-east-1”

],

“interval”: 30

}

}

}

``

I can see the check under sensu server in uchiwa. What should I do to see the ELBs individually in clients?

Cheers

Ferdous Shibly