Chapter 18. Monitoring Red Hat Gluster Storage
Monitoring of Red Hat Gluster Storage servers is built on Nagios platform to monitor Red Hat Gluster Storage trusted storage pool, hosts, volumes, and services. You can monitor utilization, status, alerts and notifications for status and utilization changes.
For more information on Nagios software, refer Nagios Documentation.
Using Nagios, the physical resources, logical resources, and processes (CPU, Memory, Disk, Network, Swap, cluster, volume, brick, Host, Volumes, Brick, nfs, shd, quotad, ctdb, smb, glusterd, quota, geo-replication, self-heal,and server quorum) can be monitored. You can view the utilization and status through Nagios Server GUI.
Red Hat Gluster Storage trusted storage pool monitoring can be setup in one of the three deployment scenarios listed below:
- Nagios deployed on Red Hat Gluster Storage node.
- Nagios deployed on Red Hat Gluster Storage Console node.
- Nagios deployed on Red Hat Enterprise Linux node.
This chapter describes the procedures for deploying Nagios on Red Hat Gluster Storage node and Red Hat Enterprise Linux node. For information on deploying Nagios on Red Hat Gluster Storage Console node, see Red Hat Gluster Storage Console Administration Guide.
The following diagram illustrates deployment of Nagios on Red Hat Gluster Storage node.
![Nagios deployed on Red Hat Gluster Storage node](https://access.redhat.com/webassets/avalon/d/Red_Hat_Gluster_Storage-3.2-Administration_Guide-en-US/images/9e32802fe852d1363a70566c2157896c/5990.png)
Figure 18.1. Nagios deployed on Red Hat Gluster Storage node
The following diagram illustrates deployment of Nagios on Red Hat Enterprise Linux node.
![Nagios deployed on Red Hat Enterprise Linux node](https://access.redhat.com/webassets/avalon/d/Red_Hat_Gluster_Storage-3.2-Administration_Guide-en-US/images/42df7b68bd592cc079bc8b073f00d3c2/5991.png)
Figure 18.2. Nagios deployed on Red Hat Enterprise Linux node
18.1. Prerequisites
Ensure that you register using Subscription Manager or Red Hat Network Classic (RHN) and enable the Nagios repositories before installing the Nagios Server.
Note
Register using Red Hat Network (RHN) Classic only if you are a Red Hat Satellite user.
- Registering using Subscription Manager and enabling Nagios repositories
- To install Nagios on Red Hat Gluster Storage node, subscribe to
rhs-nagios-3-for-rhel-6-server-rpms
repository. - To install Nagios on Red Hat Enterprise Linux node, subscribe to
rhel-6-server-rpms
,rhs-nagios-3-for-rhel-6-server-rpms
repositories. - To install Nagios on Red Hat Gluster Storage node based on RHEL7, subscribe to
rh-gluster-3-nagios-for-rhel-7-server-rpms
repository. - To install Nagios on Red Hat Enterprise Linux node, subscribe to
rhel-7-server-rpms
,rh-gluster-3-nagios-for-rhel-7-server-rpms
repositories.
- Registering using Red Hat Network (RHN) Classic and subscribing to Nagios channels
- To install Nagios on Red Hat Gluster Storage node, subscribe to
rhel-x86_64-server-6-rhs-nagios-3
channel. - To install Nagios on Red Hat Gluster Storage node, subscribe to
rhel-x86_64-server-7-rh-gluster-3-nagios
channel. - To install Nagios on Red Hat Enterprise Linux node, subscribe to
rhel-x86_64-server-6
,rhel-x86_64-server-6-rhs-nagios-3
channels. - To install Nagios on Red Hat Enterprise Linux node, subscribe to
rhel-x86_64-server-7
,rhel-x86_64-server-7-rh-gluster-3-nagios
channels.
Note
Once nagios is installed on Red Hat Gluster Storage or RHEL node, verify that the following booleans are ON by running the
getsebool -a | grep nagios
command:
nagios_run_sudo --> on
nagios_run_pnp4nagios --> on