NOTE: this page contains reference documentation for installing and operating Sensu on Oracle Solaris systems. For instructions on installing or operating Sensu on other platforms, please visit the supported platforms page.

Download and install Sensu on Solaris 10

NOTE: As of Sensu version 0.27, package repository URLs have changed.
To install or upgrade to the latest version of Sensu, please ensure
you have updated existing configurations to follow the repository URL
format specified below.

Download Sensu from the Sensu Downloads page, or by using the wget
utility:

Configure the Sensu client. No “default” configuration is provided with
Sensu, so the Sensu client will not run without the corresponding
configuration. Please refer to the “Configure Sensu” section (below),
for more information on configuring Sensu. At minimum, the Sensu client
will need a working transport definition and client definition.

Download and install Sensu on Solaris 11

Download Sensu from the Sensu Downloads page, or by using the wget
utility:

NOTE: all native system installer packages for Sensu contain this
post-install script, which is used for setting up the sensu system user and
group, creating various configuration directories, setting configuration
directory permissions, and creating service init scripts. This step may will be included in future Solaris 11 packages,
however at this time it is necessary to perform these steps manually.

Install the Sensu service init script(s) using the svcadm utility:

$ sudo svcadm restart manifest-import

Configure the Sensu client. No “default” configuration is provided with
Sensu, so the Sensu client will not run without the corresponding
configuration. Please refer to the “Configure Sensu” section (below),
for more information on configuring Sensu. At minimum, the Sensu client
will need a working transport definition and client definition.

Configure Sensu

By default, all of the Sensu services on Solaris systems will load configuration
from the following locations:

/etc/sensu/config.json

/etc/sensu/conf.d/

NOTE: additional or alternative configuration file and directory locations may
be used by modifying Sensu’s service configuration and/or by starting the Sensu
services with the corresponding CLI arguments. For more information, please
consult the Sensu Configuration reference documentation.

Create the Sensu configuration directory

In some cases, the default Sensu configuration directory (i.e.
/etc/sensu/conf.d/) is not created by the Sensu installer, in which case it is
necessary to create this directory manually.

mkdir /etc/sensu/conf.d

Example client configuration

Copy the following contents to a configuration file located at
/etc/sensu/conf.d/client.json:

Newsletter

Subscribe to the newsletter to get product updates about Sensu, including notifications when new releases are available. No more than one email per week, no less than one email per month. #monitoringlove.