0% found this document useful (0 votes)
87 views17 pages

Zabbix Configdoc

The document provides instructions for installing and configuring Zabbix monitoring software on a Linux server. It describes downloading and installing Zabbix server, agent, and frontend components along with required PHP extensions and MySQL database. It also covers basic configuration of Zabbix server and agent services, firewall rules, and accessing the Zabbix web interface.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views17 pages

Zabbix Configdoc

The document provides instructions for installing and configuring Zabbix monitoring software on a Linux server. It describes downloading and installing Zabbix server, agent, and frontend components along with required PHP extensions and MySQL database. It also covers basic configuration of Zabbix server and agent services, firewall rules, and accessing the Zabbix web interface.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

http://10.6.215.12/zabbix/setup.

php

PHP version5.4.165.4.0OKPHP option "memory_limit"128M128MOKPHP option


"post_max_size"16M16MOKPHP option "upload_max_filesize"2M2MOKPHP option
"max_execution_time"300300OKPHP option "max_input_time"300300OKPHP option
"date.timezone"Asia/KolkataOKPHP databases supportMySQL
OKPHP bcmathonOKPHP mbstringonOKPHP option "mbstring.func_overload"offoffOKPHP
socketsonOKPHP gd2.1.02.0OKPHP gd PNG supportonOKPHP gd JPEG supportonOKPHP gd GIF
supportonOKPHP gd FreeType supportonOKPHP libxml2.9.12.6.15OKPHP xmlwriteronOKPHP
xmlreaderonOKPHP LDAPonOKPHP ctypeonOKPHP sessiononOKPHP option
"session.auto_start"offoffOKPHP gettextonOKPHP option "arg_separator.output"&&OK
Welcome@123
http://10.6.215.12/zabbix/zabbix.php?action=dashboard.view

The default user is “Admin” and the password is “Zabbix

Agent Configuration
Installing Zabbix agent on linux machine

yum install zabbix zabbix-agent

iptables -A INPUT -p tcp -s 10.6.215.12 --dport 10050 -m state --state


NEW,ESTABLISHED -j ACCEPT

service zabbix-agent restart

service zabbix-agent start

service zabbix-agent stopCentOS 7.7

Login as administrator. dont use sudo su -

rpm -Uvh https://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/zabbix-release-


4.4-1.el7.noarch.rpm

yum clean all

yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent


mysql -u root -p

gave its temporary password u-w_SmMTg5W: (Check on google how to


get the temporary mysql password)

<mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'Welcome@123'; -->


this step is mandatory to change the temporary password

<mysql> create database zabbix character set utf8 collate utf8_bin; -->
here, zabbix is the DB user

<mysql> GRANT ALL PRIVILEGES on *.* TO 'root'@'localhost' WITH GRANT


OPTION;

<mysql> quit;

zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -u root -p


zabbix --> here zabbix is the db name

Edit file /etc/zabbix/zabbix_server.conf

DBPassword=Welcome@123

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


timezone for you.

php_value date.timezone Asia/Kolkata


systemctl restart zabbix-server zabbix-agent httpd

systemctl enable zabbix-server zabbix-agent httpd

systemctl restart mysqld

Connect to your newly installed Zabbix frontend:


http://server_ip_or_name/zabbix http://10.6.215.12/zabbix

++++++++++++++++++

conf file: /etc/zabbix/zabbix_server.conf /etc/zabbix/zabbix_agentd.conf


/etc/zabbix/zabbix_agentd.d/*.conf /etc/my.cnf

log: /var/log/zabbix/zabbix_agentd.log and


/var/log/zabbix/zabbix_server.log

Connect to DB: mysql -u zabbix -p

external scripts: /usr/lib/zabbix/externalscripts

/var/lib/mysql/mysql.sock

CentOs Reboot Command: systemctl reboot

zabbix port: 80 or 10051


DB Port: 3306, datadir = /var/lib/mysql log_error =
/var/log/mysql/error.log

SELECT user FROM mysql.user;

SELECT user,host FROM mysql.user;

SHOW GRANTS FOR 'zabbix'@'localhost';

sudo netstat -lpn | grep zabbix

netstat -tulpn | grep zabbix

cat /etc/services | grep 1005

cat /etc/sysconfig/iptables

/run/zabbix/zabbix_server.pid

getsebool -a | grep zabbix : setsebool -P zabbix_can_network=true,


setsebool -P httpd_can_connect_zabbix=true, setsebool -P
zabbix_run_sudo=true

iptables -A INPUT -m state --state NEW -p tcp --dport 25 -j ACCEPT[/code]

systemctl start firewalld


https://teams.microsoft.com/l/team/19%3aff5ae14e03fc411ca092b49e87d24ee2%4
0thread.skype/conversations?groupId=b8f62e3b-a0b3-4652-b53b-
8aaa6eaffd3c&tenantId=622f8cde-07b5-4d16-ab2a-6dc0c3a66e35

https://teams.microsoft.com/l/team/19%3aff5ae14e03fc411ca092b49e87d24ee2%4
0thread.skype/conversations?groupId=b8f62e3b-a0b3-4652-b53b-
8aaa6eaffd3c&tenantId=622f8cde-07b5-4d16-ab2a-6dc0c3a66e35

POST https://graph.microsoft.com/beta/teams/{id}/channels/{id}/messages

Content-type: application/json

https://graph.microsoft.com/beta/teams/19%3aff5ae14e03fc411ca092b49e87d24e
e2%40thread.skype/channels

https://graph.microsoft.com/beta/teams/3aff5ae14e03fc411ca092b49e87d24ee2/
channels

CREATE TABLE [IF NOT EXISTS] `test123` (`name` char);

CREATE TABLE IF NOT EXISTS `MyFlixDB`.`Members` (`full_names`


VARCHAR(150)) ENGINE = InnoDB;
conf

/etc/zabbix/web/zabbix.conf.php

Take backup of /var/lib/mysql for Zabbix backup

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy