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.

Monitoring the Mesos cluster using Nagios

Monitoring is a vital part of keeping the infrastructure up and running. Mesos integrates well with the existing monitoring solutions and has plugins for most monitoring solutions, such as Nagios. This module will give you a walkthrough of how to install Nagios on your cluster and enable monitoring to send you e-mail alerts whenever something goes wrong in your cluster.

Installing Nagios 4

The first thing we need to do before installing Nagios is to add an Nagios user to the system from which the Nagios process can run and send out alerts. We can create a new user and a new usergroup for Nagios by executing the following commands: