How to monitor a device using JIT client?

Hi,

Now that sensu has JIT client implemented, what are the good practices for monitoring bunch of networking devices that you cannot install sensu-client on?

For instance if I want to ping monitor 10 devices, should I have 10 different check scripts (configured with “source” attribute) each targeting a device or there is a way to have a single common ping script and somehow register all those 10 devices with that common ping script?

Any help regarding how to go about monitoring agent-less devices is appreciated.

Cheers

Farzad

We are still experimenting with this, but we are using this
module/script to configure sensu server-side checks:
https://github.com/Yelp/puppet-monitoring_check/blob/master/manifests/server_side.pp
https://github.com/Yelp/puppet-monitoring_check/blob/master/files/check_server_side.rb

We use common scripts (nagios check_ping for example) but the puppet
type allows us to deploy checks en-mass using yaml files and puppet's
create_resources function.

The key thing here is that we have yaml files for config data, but the
flexibility to do even more fancy things.
Also the script runs server-side on the cluster of sensu-servers. That
means the check is not tied to any one server, so we get the HA aspect
of that and no SPOF, which is cool.

The important part I think is having a good config language. In puppet
this is hiera, which makes is really good for describing how we
monitor differently in prod/dev, or different switches in different
datacenters, etc
Then you have to run the check *somewhere*, the sensu-servers seem
like as good as a place as any.

···

On Mon, Jun 8, 2015 at 3:38 PM, Farzad Panahi <farzad.panahi@gmail.com> wrote:

Hi,

Now that sensu has JIT client implemented, what are the good practices for
monitoring bunch of networking devices that you cannot install sensu-client
on?

For instance if I want to ping monitor 10 devices, should I have 10
different check scripts (configured with "source" attribute) each targeting
a device or there is a way to have a single common ping script and somehow
register all those 10 devices with that common ping script?

Any help regarding how to go about monitoring agent-less devices is
appreciated.

Cheers

Farzad