Newbe: How to re-register a client or alternatively reset sensu?


#1

Hi,

As said - im new to sensu and have set up a server (using Uchiwa GUI) which should monitor multiple remote machines.
Got it running and that was the happy point I assume. Clicking on a client I got a lots of info and unfortunately a cross in the upper right corner which was not a “Close window” but a “DELETE CLIENT”

Sooo
new to this I got a lot of clients removed.
HOW DO I GET THEM BACK ???

Is there a way to reactivate them ?
or alternatively
Can Sensu be reset to present these clients again

Is it a Uchiwa issue?
In that case - how to handle that??

Thanks to anyone who can find it in them to answer this.

Karsten Jeppesen


#2

Deleting a client deregisters them and removes all events.

If the clients are still actually running and configured correctly
they will automatically re-register and show up again.
https://sensuapp.org/docs/latest/clients#client-keepalives

It is not an uchiwa "issue" as much as uchiwa is providing an
interface to access this endpoint:
https://sensuapp.org/docs/latest/api-clients#clientsclient-delete

···

On Sun, Apr 24, 2016 at 11:32 PM, bjowulf <warlockonduty@gmail.com> wrote:

Hi,

As said - im new to sensu and have set up a server (using Uchiwa GUI) which
should monitor multiple remote machines.
Got it running and that was the happy point I assume. Clicking on a client I
got a lots of info and unfortunately a cross in the upper right corner which
was not a "Close window" but a "DELETE CLIENT"

Sooo
new to this I got a lot of clients removed.
HOW DO I GET THEM BACK ???

Is there a way to reactivate them ?
or alternatively
Can Sensu be reset to present these clients again

Is it a Uchiwa issue?
In that case - how to handle that??

Thanks to anyone who can find it in them to answer this.

Karsten Jeppesen