O'Reilly logo

KVM Virtualization Cookbook by Konstantin Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

To set up a new Sensu deployment and define various monitoring checks, perform the following steps:

  1. Install the Redis server and ensure that it is responding to requests:
root@kvm:~# apt-get install -y redis-server...root@kvm:~# redis-cli pingPONGroot@kvm:~#
  1. Install the Rabbitmq server:
root@kvm:~# apt-get install -y rabbitmq-server...root@kvm:~#
  1. Create the virtual host the Sensu agents will subscribe to and the credentials and permissions for the Rabbitmq clients:
root@kvm:~# rabbitmqctl add_vhost /sensuCreating vhost "/sensu" ......done.root@kvm:~# rabbitmqctl add_user sensu secretCreating user "sensu" ......done.root@kvm:~# rabbitmqctl set_permissions -p /sensu sensu ".*" ".*" ".*"Setting permissions for user ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required