Skip to content

Instantly share code, notes, and snippets.

@roubles
Last active July 10, 2018 15:43
Show Gist options
  • Save roubles/a58b13456048a31bce93bce72437bec7 to your computer and use it in GitHub Desktop.
Save roubles/a58b13456048a31bce93bce72437bec7 to your computer and use it in GitHub Desktop.
Installing Sensu on OSX

Install redis

Use homebrew:

    $ brew install redis

Redis config is here: /usr/local/etc/redis.conf

Starting redis

  $ redis-server /usr/local/etc/redis.conf

Install rabbitMQ

Use homebrew:

    $ brew install rabbitmq

Starting rabbitMQ

    $ /usr/local/sbin/rabbitmq-server

Install Sensu

Download .pkg from here https://docs.sensu.io/sensu-core/1.2/platforms/sensu-on-mac-os-x/#sensu-on-mac-os-x and install it.

This will install everything in /opt/sensu/bin/:

$ ls -la /opt/sensu/bin/
total 48
drwxr-xr-x  8 root  wheel   272 Jul  9 16:22 .
drwxr-xr-x  8 root  wheel   272 Jul  9 16:22 ..
lrwxr-xr-x  1 root  wheel    33 Jul  9 16:22 sensu-api -> /opt/sensu/embedded/bin/sensu-api
lrwxr-xr-x  1 root  wheel    36 Jul  9 16:22 sensu-client -> /opt/sensu/embedded/bin/sensu-client
-rwxr-xr-x  1 root  wheel   994 May 31 14:26 sensu-install
lrwxr-xr-x  1 root  wheel    36 Jul  9 16:22 sensu-server -> /opt/sensu/embedded/bin/sensu-server
-rwxr-xr-x  1 root  wheel  2585 May 31 14:26 sensu-service
lrwxr-xr-x  1 root  wheel    40 Jul  9 16:22 sensu-translator -> /opt/sensu/embedded/bin/sensu-translator

Configure Sensu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment