Monitoring

This section describes the installation and configuration of Zabbix for monitoring OpenVino infrastructure and services. 

Information about zabbix can be found at Zabbix.com.

The installation instructions outlined her include some corrections to the zabbix documentation.

 

  1. Download zabbix packages for CentOS 

  2. Install Zabbix packages Install Zabbix respository #rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-2.el7.noarch.rpm #yum clean all Install Zabbix server, frontend, agent #yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent

     

  3. Install MySQL

    #rpm -Uvh https://repo.mysql.com/mysql80-community-release-el7-3.noarch.rpm #sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/mysql-community.repo  #yum --enablerepo=mysql80-community install mysql-community-server #service mysqld start #grep "A temporary password" /var/log/mysqld.log #mysql_secure_installation #service mysqld restart #chkconfig mysqld on #mysql -u -root -p mysql> create user 'zabbix'@'localhost' identified by 'kookooforcoco'; mysql> create user 'zabbix'@'foxtrot' identified by 'kookooforcoco'; mysql> ALTER USER zabbix@localhost IDENTIFIED WITH mysql_native_password BY 'cocoforkookoo'; mysql> ALTER USER zabbix@foxtrot IDENTIFIED WITH mysql_native_password BY 'cocoforkookoo'; mysql> GRANT ALL PRIVILEGES ON *.* to zabbix@foxtrot WITH GRANT OPTION; mysql> FLUSH PRIVILEGES;

     

     

Import initial schema and data. You will be prompted to enter your newly created password

[mbarrow@foxtrot ~]$ zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -D zabbix -p

 

 

Configure the database for Zabbix server

Edit file /etc/httpd/conf.d/zabbix.conf, uncomment and set the right timezone for you.

 

Start Zabbix server and agent processes

Start Zabbix server and agent processes and make it start at system boot. 

SELinux configuration

Having SELinux status enabled in enforcing mode, you need to execute the following commands to enable communication between Zabbix frontend and server:

As frontend and SELinux configuration is done, you need to restart Apache web server:

Configuring Zabbix

 

 

Zabbix Configuration

Login and configuring users



Overview

In this section you will learn how to log in and set up a system user in Zabbix.

Login

This is the Zabbix “Welcome” screen. Enter the user name Admin with password cacaforcocopuffs to log in as a Zabbix superuser.

Configuring Zabbix Agents

openvinopi

Install the zabbix-agent :

 

alpha-echo

 

From foxtrot., insure connectivity with the host:

[root@charlie ~]# yum install zabbix zabbix-agent