際際滷

際際滷Share a Scribd company logo
Zabbix for beginners
01Installing Zabbix
Alireza Rezvani
www.cbt4all.com (Free video trainings and tutorials)
Auckland, New Zealand
Review
 Last video:
 00-Introduction
 What we do in this series and who is this series for?
 Explained our practical scenario for this series
 There are three ways of getting Zabbix
This video
 Install Zabbix Server
 SSH, SNMP, SMTP
 Login to Zabbix for the first time
Installing Zabbix  Review Scenario
 Monitor Routers interfaces, RAM and
CPU by SNMP
 If the bandwidth is less than my
expectation, if the link is down, if.,
Zabbix should send an alert email
 Create graph of bandwidth usage,
RAM usage, CPU usage, etc.
 Monitor Windows Servers and Linux Server by SNMP
 Monitor Windows Servers and Linux Server by Zabbix Agent
Installing Zabbix  Scenario and Solution
1. Create a Virtual Machine for Zabbix
2. Install Ubuntu Server
 SMTP: Simple Mail Transfer Protocol
 Zabbix should send an alert email
 SSH: Secure Shell
 Makes configuring easy
3. Verify the IP Address
4. Connect to Zabbix by Putty
5. Change the IP Address, if needed
6. Install SNMP (Simple Network Monitoring Protocol)
 Monitor Routers and Servers by SNMP
7. Update/Upgrade Ubuntu Server
Installing Zabbix  Install Ubuntu
 Steps:
1. Create a Virtual Machine for Zabbix
 I consider 2GB for RAM, 20GB for HDD
 https://www.zabbix.com/documentation/2.4/manual/installation/requirements
 NIC should be bridged to interface which you are connected to Internet through it
 Connect the NIC to GNS3 lab
Installing Zabbix  Install Ubuntu
2. Install Ubuntu Server
 Hostname: ZabbixSrv
 Domain: Your domain, here I put cbt4all.com
 Full name: Your name, here I put Alireza
 Username: Select an Username, here I put cbt4all
 Password: Choose a password, here I choose cbt4all. But as cbt4all is a weak password, Ubuntu warns
me. I choose YES but you would better choose strong password.
 I do not need encrypted home directory, so I choose NO here.
 Choose your time zone. As I live in New Zealand, I choose Pacific
 I prefer to let Ubuntu create partitions for me, so I choose default and confirm it by choosing YES
 I dont use proxy, so I leave it blank
 Although updating always is a good idea, so I choose Not Automatic Update
 Install Open SSH Server and Mail Server
 Select Internet Site
 ZabbixSrv.cbt4all.com sounds nice. Do not worry, it is just a name!
 Choose YES for creating encryption for SSH, and locahost is good but you can change if you like
 Choose YES for installing GLB
Installing Zabbix  Install Ubuntu, con.
3. Verify the IPAddress for ZabbixSrv by ifconfig command
 IP Address: 192.168.1.200, Subnet Mask: 255.255.255.0, Gateway: 192.168.1.254
 DNS Server: 192.168.1.254
4. Connect to Zabbix by Putty and SSH
5. If you want to change the IP Address, use VI Editor
 sudo vi /etc/network/interfaces
 auto eth0
 iface eth0 inet static
 address 192.168.1.200
 netmask 255.255.255.0
 gateway 192.168.1.254
 sudo vi /etc/resolv.conf
 nameserver 192.168.1.254
 sudo ifup eth0
 sudo ifdown eth0
 sudo /etc/init.d/networking restart
 Help for Ubuntu IP setting: https://help.ubuntu.com/10.04/serverguide/network-configuration.html
 Help for VI Editor: http://www.cs.rit.edu/~cslab/vi.html
 i (to insert), x (to delete), Arrow keys, Esc key (to exit from current mode), : (to go to command mode), q! (to quit
without save), wq (save and exit)
Installing Zabbix  Install Ubuntu, con.
6. Install SNMP
 sudo apt-get install libsnmp-mib-compiler-perl
 sudo apt-get install snmp-mibs-downloader
 sudo apt-get install libsnmp-base
 sudo apt-get install libsnmp-dev
 sudo apt-get install snmp
 sudo apt-get install snmpd
7. Update/Upgrade Ubuntu Server
 sudo apt-get update
 sudo apt-get dist-upgrade
Installing Zabbix  Install Ubuntu, con.
 IF you forgot to install Open SSH
Server and Mail Server during
installing Ubuntu Server, you can
use these to install them:
 Installing Open SSH Server
 sudo apt-get install openssh-server
 sudo cp /etc/ssh/sshd_config
/etc/ssh/sshd_config.original
 sudo chmod a-w
/etc/ssh/sshd_config.origina
 Installing Mail Server
 sudo apt-get -y install postfix mailutils libsasl2-2 ca-certificates libsasl2-modules
 sudo dpkg-reconfigure postfix
Installing Zabbix
1. Installing repository configuration package and Zabbix :
 sudo wget http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.4-
1+trusty_all.deb
 sudo dpkg -i zabbix-release_2.4-1+trusty_all.deb
 sudo apt-get update
 sudo apt-get install zabbix-agent zabbix-server-mysql zabbix-frontend-php snmpd php5-mysql php5-curl
2. Configure MySQL
 Choose a password for MySQL. I choose cbt4all
 Select YES to configure MySQL for Zabbix
 Choose a password for Administrator for database in MySQL. I choose cbt4all again!
3. Configuring the config file
 sudo vi /etc/apache2/conf-enabled/zabbix.conf
 Remove # from time zone and add your time zone. As I am in New Zealand, my time zone is Pacific/Auckland
 Find your time zone here: http://php.net/manual/en/timezones.php
4. Restart the Appache Service
 sudo service apache2 restart
Installing Zabbix- Welcome Wizard
1. Use browser to use Zabbix.
 The address you should use is http://192.168.1.200/zabbix/ which 192.168.1.200 is
the Zabbixs IP Address. If you have chosen another IP Address for your Zabbix
Server, use that one.
 Click on Next
2. You have to test connection between Zabbix and MySQL.
 You need to insert the password you chose before. I had chosen cbt4all
 Click on Test Connection
 Click on Next
3. Login to Zabbix
 Default Username is Admin (A in Admin must be capital)
 Default Password is zabbix
Welcome to Zabbix
 Welcome to Zabbix. In next video I will show you how you can
configure the Zabbix.
Time out
 I would welcome the opportunity to have your idea and feedback at
my blog, www.cbt4all.com
Thanks

More Related Content

Similar to 01-Zabbix4Beginners-InstallingZabbix.pdf (20)

CONFIGURING NETWORK CONNECTIVITY.pptx
CONFIGURING NETWORK CONNECTIVITY.pptxCONFIGURING NETWORK CONNECTIVITY.pptx
CONFIGURING NETWORK CONNECTIVITY.pptx
angelito tomas
Os Virtualization
Os VirtualizationOs Virtualization
Os Virtualization
Don Bosco BSIT
Implementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case studyImplementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case study
A. S. M. Shamim Reza
Using MAMP for Web Development
Using MAMP for Web DevelopmentUsing MAMP for Web Development
Using MAMP for Web Development
Eric Greene
Keep calm-and-try-v6only
Keep calm-and-try-v6onlyKeep calm-and-try-v6only
Keep calm-and-try-v6only
Bangladesh Network Operators Group
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
How To Deploy A Cloud Based Webserver in 5 minutes - LAMPHow To Deploy A Cloud Based Webserver in 5 minutes - LAMP
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
Matt Dunlap
How to secure ubuntu 12.04
How to secure ubuntu 12.04 How to secure ubuntu 12.04
How to secure ubuntu 12.04
John Richard
dynamic host configuration protocol
dynamic host configuration protocoldynamic host configuration protocol
dynamic host configuration protocol
kinish kumar
Improving Hadoop Cluster Performance via Linux Configuration
Improving Hadoop Cluster Performance via Linux ConfigurationImproving Hadoop Cluster Performance via Linux Configuration
Improving Hadoop Cluster Performance via Linux Configuration
DataWorks Summit
Web 3, Week 1: Amazon Web Services for Beginners
Web 3, Week 1: Amazon Web Services for BeginnersWeb 3, Week 1: Amazon Web Services for Beginners
Web 3, Week 1: Amazon Web Services for Beginners
jkosoy
Linux routing and firewall for beginners v 1.0
Linux  routing and firewall for beginners v 1.0Linux  routing and firewall for beginners v 1.0
Linux routing and firewall for beginners v 1.0
Sriram Narayanan
Bal叩zs Bucsay - XFLTReaT: Building a Tunnel
Bal叩zs Bucsay - XFLTReaT: Building a TunnelBal叩zs Bucsay - XFLTReaT: Building a Tunnel
Bal叩zs Bucsay - XFLTReaT: Building a Tunnel
hacktivity
Connections install in 45 mins
Connections install in 45 minsConnections install in 45 mins
Connections install in 45 mins
Sharon James
Making Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch FixMaking Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch Fix
Diana Tkachenko
Membangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_serverMembangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_server
Iwan Kurniarasa
CAv6TF Meeting - 2014-05-27 - IPv6@ VMware Integration Engineering
CAv6TF Meeting - 2014-05-27 - IPv6@ VMware Integration EngineeringCAv6TF Meeting - 2014-05-27 - IPv6@ VMware Integration Engineering
CAv6TF Meeting - 2014-05-27 - IPv6@ VMware Integration Engineering
Christian Elsen
Apnic IPv6 Deployment
Apnic IPv6 DeploymentApnic IPv6 Deployment
Apnic IPv6 Deployment
APNIC
Automation in Cloud
Automation in CloudAutomation in Cloud
Automation in Cloud
Abhishek Amralkar
NSBCon UK nservicebus on Azure by Yves Goeleven
NSBCon UK nservicebus on Azure by Yves GoelevenNSBCon UK nservicebus on Azure by Yves Goeleven
NSBCon UK nservicebus on Azure by Yves Goeleven
Particular Software
Linux routing and firewall for beginners
Linux   routing and firewall for beginnersLinux   routing and firewall for beginners
Linux routing and firewall for beginners
n|u - The Open Security Community
CONFIGURING NETWORK CONNECTIVITY.pptx
CONFIGURING NETWORK CONNECTIVITY.pptxCONFIGURING NETWORK CONNECTIVITY.pptx
CONFIGURING NETWORK CONNECTIVITY.pptx
angelito tomas
Implementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case studyImplementation of DNS Anycast - a case study
Implementation of DNS Anycast - a case study
A. S. M. Shamim Reza
Using MAMP for Web Development
Using MAMP for Web DevelopmentUsing MAMP for Web Development
Using MAMP for Web Development
Eric Greene
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
How To Deploy A Cloud Based Webserver in 5 minutes - LAMPHow To Deploy A Cloud Based Webserver in 5 minutes - LAMP
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
Matt Dunlap
How to secure ubuntu 12.04
How to secure ubuntu 12.04 How to secure ubuntu 12.04
How to secure ubuntu 12.04
John Richard
dynamic host configuration protocol
dynamic host configuration protocoldynamic host configuration protocol
dynamic host configuration protocol
kinish kumar
Improving Hadoop Cluster Performance via Linux Configuration
Improving Hadoop Cluster Performance via Linux ConfigurationImproving Hadoop Cluster Performance via Linux Configuration
Improving Hadoop Cluster Performance via Linux Configuration
DataWorks Summit
Web 3, Week 1: Amazon Web Services for Beginners
Web 3, Week 1: Amazon Web Services for BeginnersWeb 3, Week 1: Amazon Web Services for Beginners
Web 3, Week 1: Amazon Web Services for Beginners
jkosoy
Linux routing and firewall for beginners v 1.0
Linux  routing and firewall for beginners v 1.0Linux  routing and firewall for beginners v 1.0
Linux routing and firewall for beginners v 1.0
Sriram Narayanan
Bal叩zs Bucsay - XFLTReaT: Building a Tunnel
Bal叩zs Bucsay - XFLTReaT: Building a TunnelBal叩zs Bucsay - XFLTReaT: Building a Tunnel
Bal叩zs Bucsay - XFLTReaT: Building a Tunnel
hacktivity
Connections install in 45 mins
Connections install in 45 minsConnections install in 45 mins
Connections install in 45 mins
Sharon James
Making Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch FixMaking Spinnaker Go @ Stitch Fix
Making Spinnaker Go @ Stitch Fix
Diana Tkachenko
Membangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_serverMembangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_server
Iwan Kurniarasa
CAv6TF Meeting - 2014-05-27 - IPv6@ VMware Integration Engineering
CAv6TF Meeting - 2014-05-27 - IPv6@ VMware Integration EngineeringCAv6TF Meeting - 2014-05-27 - IPv6@ VMware Integration Engineering
CAv6TF Meeting - 2014-05-27 - IPv6@ VMware Integration Engineering
Christian Elsen
Apnic IPv6 Deployment
Apnic IPv6 DeploymentApnic IPv6 Deployment
Apnic IPv6 Deployment
APNIC
NSBCon UK nservicebus on Azure by Yves Goeleven
NSBCon UK nservicebus on Azure by Yves GoelevenNSBCon UK nservicebus on Azure by Yves Goeleven
NSBCon UK nservicebus on Azure by Yves Goeleven
Particular Software

More from NM Consulting, LLC (6)

晦粥喝閣滴-掛顎但稼-堰畉n鞄.沿糸韓温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温
晦粥喝閣滴-掛顎但稼-堰畉n鞄.沿糸韓温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温晦粥喝閣滴-掛顎但稼-堰畉n鞄.沿糸韓温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温
晦粥喝閣滴-掛顎但稼-堰畉n鞄.沿糸韓温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温
NM Consulting, LLC
際際滷 huong dan bao dam an toan va bao mat he thong thong tin.pptx_2022082605...
際際滷 huong dan bao dam an toan va bao mat he thong thong tin.pptx_2022082605...際際滷 huong dan bao dam an toan va bao mat he thong thong tin.pptx_2022082605...
際際滷 huong dan bao dam an toan va bao mat he thong thong tin.pptx_2022082605...
NM Consulting, LLC
Mining_Cryptocurrency_la_gi_va_nhung_die.pdf
Mining_Cryptocurrency_la_gi_va_nhung_die.pdfMining_Cryptocurrency_la_gi_va_nhung_die.pdf
Mining_Cryptocurrency_la_gi_va_nhung_die.pdf
NM Consulting, LLC
Trojan.pdfdfzddddddddddddddddddddddddddddddddddddd
Trojan.pdfdfzdddddddddddddddddddddddddddddddddddddTrojan.pdfdfzddddddddddddddddddddddddddddddddddddd
Trojan.pdfdfzddddddddddddddddddddddddddddddddddddd
NM Consulting, LLC
CML1020_WindowsServer2012R2FailoverCluster(ARC).pdf
CML1020_WindowsServer2012R2FailoverCluster(ARC).pdfCML1020_WindowsServer2012R2FailoverCluster(ARC).pdf
CML1020_WindowsServer2012R2FailoverCluster(ARC).pdf
NM Consulting, LLC
Failover Cluster Deployment for Windows 2012 iSCSI File server.pdf
Failover Cluster Deployment for Windows 2012 iSCSI File server.pdfFailover Cluster Deployment for Windows 2012 iSCSI File server.pdf
Failover Cluster Deployment for Windows 2012 iSCSI File server.pdf
NM Consulting, LLC
晦粥喝閣滴-掛顎但稼-堰畉n鞄.沿糸韓温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温
晦粥喝閣滴-掛顎但稼-堰畉n鞄.沿糸韓温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温晦粥喝閣滴-掛顎但稼-堰畉n鞄.沿糸韓温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温
晦粥喝閣滴-掛顎但稼-堰畉n鞄.沿糸韓温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温温
NM Consulting, LLC
際際滷 huong dan bao dam an toan va bao mat he thong thong tin.pptx_2022082605...
際際滷 huong dan bao dam an toan va bao mat he thong thong tin.pptx_2022082605...際際滷 huong dan bao dam an toan va bao mat he thong thong tin.pptx_2022082605...
際際滷 huong dan bao dam an toan va bao mat he thong thong tin.pptx_2022082605...
NM Consulting, LLC
Mining_Cryptocurrency_la_gi_va_nhung_die.pdf
Mining_Cryptocurrency_la_gi_va_nhung_die.pdfMining_Cryptocurrency_la_gi_va_nhung_die.pdf
Mining_Cryptocurrency_la_gi_va_nhung_die.pdf
NM Consulting, LLC
Trojan.pdfdfzddddddddddddddddddddddddddddddddddddd
Trojan.pdfdfzdddddddddddddddddddddddddddddddddddddTrojan.pdfdfzddddddddddddddddddddddddddddddddddddd
Trojan.pdfdfzddddddddddddddddddddddddddddddddddddd
NM Consulting, LLC
CML1020_WindowsServer2012R2FailoverCluster(ARC).pdf
CML1020_WindowsServer2012R2FailoverCluster(ARC).pdfCML1020_WindowsServer2012R2FailoverCluster(ARC).pdf
CML1020_WindowsServer2012R2FailoverCluster(ARC).pdf
NM Consulting, LLC
Failover Cluster Deployment for Windows 2012 iSCSI File server.pdf
Failover Cluster Deployment for Windows 2012 iSCSI File server.pdfFailover Cluster Deployment for Windows 2012 iSCSI File server.pdf
Failover Cluster Deployment for Windows 2012 iSCSI File server.pdf
NM Consulting, LLC

Recently uploaded (20)

Illuminati brotherhood in Uganda call +256789951901/0701593598
Illuminati brotherhood in Uganda call +256789951901/0701593598Illuminati brotherhood in Uganda call +256789951901/0701593598
Illuminati brotherhood in Uganda call +256789951901/0701593598
removed_43fc2846aef7ee8f2a43e6bb3648f7c3
2025_Dominion Presentaci坦n_Corporativa_Larga (ENG)_web.pdf
2025_Dominion Presentaci坦n_Corporativa_Larga (ENG)_web.pdf2025_Dominion Presentaci坦n_Corporativa_Larga (ENG)_web.pdf
2025_Dominion Presentaci坦n_Corporativa_Larga (ENG)_web.pdf
dominionglobalanalyt
BusinessGPT - Privacy first AI Platform.pptx
BusinessGPT  - Privacy first AI Platform.pptxBusinessGPT  - Privacy first AI Platform.pptx
BusinessGPT - Privacy first AI Platform.pptx
AGATSoftware
CCleaner Pro 6.33 Crack + Key Free Download 2025
CCleaner Pro 6.33 Crack + Key Free Download 2025CCleaner Pro 6.33 Crack + Key Free Download 2025
CCleaner Pro 6.33 Crack + Key Free Download 2025
kortez3
Dmytro Kuzmenko: Potential of Vision-Language-Action (VLA) models (UA)
Dmytro Kuzmenko: Potential of Vision-Language-Action (VLA) models (UA)Dmytro Kuzmenko: Potential of Vision-Language-Action (VLA) models (UA)
Dmytro Kuzmenko: Potential of Vision-Language-Action (VLA) models (UA)
Lviv Startup Club
Human-Motivation-Theory PPT
Human-Motivation-Theory  PPTHuman-Motivation-Theory  PPT
Human-Motivation-Theory PPT
AddisuAynayehu1
Carousel - Five Key FinTech Trends in 2025
Carousel - Five Key FinTech Trends in 2025Carousel - Five Key FinTech Trends in 2025
Carousel - Five Key FinTech Trends in 2025
Anadea
Top Social Media Marketing Trends in 2025
Top Social Media Marketing Trends in 2025Top Social Media Marketing Trends in 2025
Top Social Media Marketing Trends in 2025
bulbulkanwar7070
Vitaly Bondar: Are GANs dead or alive? (UA)
Vitaly Bondar: Are GANs dead or alive? (UA)Vitaly Bondar: Are GANs dead or alive? (UA)
Vitaly Bondar: Are GANs dead or alive? (UA)
Lviv Startup Club
BUSINESS CORRESPONDENCE Unit IV - NOTES.pptx
BUSINESS CORRESPONDENCE Unit IV - NOTES.pptxBUSINESS CORRESPONDENCE Unit IV - NOTES.pptx
BUSINESS CORRESPONDENCE Unit IV - NOTES.pptx
manikandansMani2
Real Illuminati agent in Kampala Uganda +256789951901/0701593598
Real Illuminati agent in Kampala Uganda +256789951901/0701593598Real Illuminati agent in Kampala Uganda +256789951901/0701593598
Real Illuminati agent in Kampala Uganda +256789951901/0701593598
removed_43fc2846aef7ee8f2a43e6bb3648f7c3
Creativity, AI, and Human-Centered Innovation
Creativity, AI, and Human-Centered InnovationCreativity, AI, and Human-Centered Innovation
Creativity, AI, and Human-Centered Innovation
Raj Lal
BPR: Decode, Segment, and Excel Beyond Success
BPR: Decode, Segment, and Excel Beyond SuccessBPR: Decode, Segment, and Excel Beyond Success
BPR: Decode, Segment, and Excel Beyond Success
Vipin Srivastava
Project Status Report - Powerpoint Template
Project Status Report - Powerpoint TemplateProject Status Report - Powerpoint Template
Project Status Report - Powerpoint Template
Aurelien Domont, MBA
Oleksandr Krakovetskyi: 亞仍磲 亞亠仆亠舒亳于仆亳 仄仂亟亠仍亠亶 亰 仄从于舒仆仆礆 (UA)
Oleksandr Krakovetskyi:  亞仍磲 亞亠仆亠舒亳于仆亳 仄仂亟亠仍亠亶 亰 仄从于舒仆仆礆 (UA)Oleksandr Krakovetskyi:  亞仍磲 亞亠仆亠舒亳于仆亳 仄仂亟亠仍亠亶 亰 仄从于舒仆仆礆 (UA)
Oleksandr Krakovetskyi: 亞仍磲 亞亠仆亠舒亳于仆亳 仄仂亟亠仍亠亶 亰 仄从于舒仆仆礆 (UA)
Lviv Startup Club
Siddhartha Bank Navigating_Nepals_Financial_Challenges.pptx
Siddhartha Bank Navigating_Nepals_Financial_Challenges.pptxSiddhartha Bank Navigating_Nepals_Financial_Challenges.pptx
Siddhartha Bank Navigating_Nepals_Financial_Challenges.pptx
Siddhartha Bank
Runnin Digital community - Linkedin & FB
Runnin Digital community  - Linkedin & FBRunnin Digital community  - Linkedin & FB
Runnin Digital community - Linkedin & FB
Nir Makovsky
Smart Logistics Integrating Freight, Trucking & Warehousing Prospect Logis...
Smart Logistics  Integrating Freight, Trucking & Warehousing  Prospect Logis...Smart Logistics  Integrating Freight, Trucking & Warehousing  Prospect Logis...
Smart Logistics Integrating Freight, Trucking & Warehousing Prospect Logis...
prospectsingapore
Dunlop Model Class Lecture one for mid.pptx
Dunlop Model Class Lecture one for mid.pptxDunlop Model Class Lecture one for mid.pptx
Dunlop Model Class Lecture one for mid.pptx
NazrulIslamJewel1
Holden Melia - An Accomplished Executive
Holden Melia - An Accomplished ExecutiveHolden Melia - An Accomplished Executive
Holden Melia - An Accomplished Executive
Holden Melia
2025_Dominion Presentaci坦n_Corporativa_Larga (ENG)_web.pdf
2025_Dominion Presentaci坦n_Corporativa_Larga (ENG)_web.pdf2025_Dominion Presentaci坦n_Corporativa_Larga (ENG)_web.pdf
2025_Dominion Presentaci坦n_Corporativa_Larga (ENG)_web.pdf
dominionglobalanalyt
BusinessGPT - Privacy first AI Platform.pptx
BusinessGPT  - Privacy first AI Platform.pptxBusinessGPT  - Privacy first AI Platform.pptx
BusinessGPT - Privacy first AI Platform.pptx
AGATSoftware
CCleaner Pro 6.33 Crack + Key Free Download 2025
CCleaner Pro 6.33 Crack + Key Free Download 2025CCleaner Pro 6.33 Crack + Key Free Download 2025
CCleaner Pro 6.33 Crack + Key Free Download 2025
kortez3
Dmytro Kuzmenko: Potential of Vision-Language-Action (VLA) models (UA)
Dmytro Kuzmenko: Potential of Vision-Language-Action (VLA) models (UA)Dmytro Kuzmenko: Potential of Vision-Language-Action (VLA) models (UA)
Dmytro Kuzmenko: Potential of Vision-Language-Action (VLA) models (UA)
Lviv Startup Club
Human-Motivation-Theory PPT
Human-Motivation-Theory  PPTHuman-Motivation-Theory  PPT
Human-Motivation-Theory PPT
AddisuAynayehu1
Carousel - Five Key FinTech Trends in 2025
Carousel - Five Key FinTech Trends in 2025Carousel - Five Key FinTech Trends in 2025
Carousel - Five Key FinTech Trends in 2025
Anadea
Top Social Media Marketing Trends in 2025
Top Social Media Marketing Trends in 2025Top Social Media Marketing Trends in 2025
Top Social Media Marketing Trends in 2025
bulbulkanwar7070
Vitaly Bondar: Are GANs dead or alive? (UA)
Vitaly Bondar: Are GANs dead or alive? (UA)Vitaly Bondar: Are GANs dead or alive? (UA)
Vitaly Bondar: Are GANs dead or alive? (UA)
Lviv Startup Club
BUSINESS CORRESPONDENCE Unit IV - NOTES.pptx
BUSINESS CORRESPONDENCE Unit IV - NOTES.pptxBUSINESS CORRESPONDENCE Unit IV - NOTES.pptx
BUSINESS CORRESPONDENCE Unit IV - NOTES.pptx
manikandansMani2
Creativity, AI, and Human-Centered Innovation
Creativity, AI, and Human-Centered InnovationCreativity, AI, and Human-Centered Innovation
Creativity, AI, and Human-Centered Innovation
Raj Lal
BPR: Decode, Segment, and Excel Beyond Success
BPR: Decode, Segment, and Excel Beyond SuccessBPR: Decode, Segment, and Excel Beyond Success
BPR: Decode, Segment, and Excel Beyond Success
Vipin Srivastava
Project Status Report - Powerpoint Template
Project Status Report - Powerpoint TemplateProject Status Report - Powerpoint Template
Project Status Report - Powerpoint Template
Aurelien Domont, MBA
Oleksandr Krakovetskyi: 亞仍磲 亞亠仆亠舒亳于仆亳 仄仂亟亠仍亠亶 亰 仄从于舒仆仆礆 (UA)
Oleksandr Krakovetskyi:  亞仍磲 亞亠仆亠舒亳于仆亳 仄仂亟亠仍亠亶 亰 仄从于舒仆仆礆 (UA)Oleksandr Krakovetskyi:  亞仍磲 亞亠仆亠舒亳于仆亳 仄仂亟亠仍亠亶 亰 仄从于舒仆仆礆 (UA)
Oleksandr Krakovetskyi: 亞仍磲 亞亠仆亠舒亳于仆亳 仄仂亟亠仍亠亶 亰 仄从于舒仆仆礆 (UA)
Lviv Startup Club
Siddhartha Bank Navigating_Nepals_Financial_Challenges.pptx
Siddhartha Bank Navigating_Nepals_Financial_Challenges.pptxSiddhartha Bank Navigating_Nepals_Financial_Challenges.pptx
Siddhartha Bank Navigating_Nepals_Financial_Challenges.pptx
Siddhartha Bank
Runnin Digital community - Linkedin & FB
Runnin Digital community  - Linkedin & FBRunnin Digital community  - Linkedin & FB
Runnin Digital community - Linkedin & FB
Nir Makovsky
Smart Logistics Integrating Freight, Trucking & Warehousing Prospect Logis...
Smart Logistics  Integrating Freight, Trucking & Warehousing  Prospect Logis...Smart Logistics  Integrating Freight, Trucking & Warehousing  Prospect Logis...
Smart Logistics Integrating Freight, Trucking & Warehousing Prospect Logis...
prospectsingapore
Dunlop Model Class Lecture one for mid.pptx
Dunlop Model Class Lecture one for mid.pptxDunlop Model Class Lecture one for mid.pptx
Dunlop Model Class Lecture one for mid.pptx
NazrulIslamJewel1
Holden Melia - An Accomplished Executive
Holden Melia - An Accomplished ExecutiveHolden Melia - An Accomplished Executive
Holden Melia - An Accomplished Executive
Holden Melia

01-Zabbix4Beginners-InstallingZabbix.pdf

  • 1. Zabbix for beginners 01Installing Zabbix Alireza Rezvani www.cbt4all.com (Free video trainings and tutorials) Auckland, New Zealand
  • 2. Review Last video: 00-Introduction What we do in this series and who is this series for? Explained our practical scenario for this series There are three ways of getting Zabbix
  • 3. This video Install Zabbix Server SSH, SNMP, SMTP Login to Zabbix for the first time
  • 4. Installing Zabbix Review Scenario Monitor Routers interfaces, RAM and CPU by SNMP If the bandwidth is less than my expectation, if the link is down, if., Zabbix should send an alert email Create graph of bandwidth usage, RAM usage, CPU usage, etc. Monitor Windows Servers and Linux Server by SNMP Monitor Windows Servers and Linux Server by Zabbix Agent
  • 5. Installing Zabbix Scenario and Solution 1. Create a Virtual Machine for Zabbix 2. Install Ubuntu Server SMTP: Simple Mail Transfer Protocol Zabbix should send an alert email SSH: Secure Shell Makes configuring easy 3. Verify the IP Address 4. Connect to Zabbix by Putty 5. Change the IP Address, if needed 6. Install SNMP (Simple Network Monitoring Protocol) Monitor Routers and Servers by SNMP 7. Update/Upgrade Ubuntu Server
  • 6. Installing Zabbix Install Ubuntu Steps: 1. Create a Virtual Machine for Zabbix I consider 2GB for RAM, 20GB for HDD https://www.zabbix.com/documentation/2.4/manual/installation/requirements NIC should be bridged to interface which you are connected to Internet through it Connect the NIC to GNS3 lab
  • 7. Installing Zabbix Install Ubuntu 2. Install Ubuntu Server Hostname: ZabbixSrv Domain: Your domain, here I put cbt4all.com Full name: Your name, here I put Alireza Username: Select an Username, here I put cbt4all Password: Choose a password, here I choose cbt4all. But as cbt4all is a weak password, Ubuntu warns me. I choose YES but you would better choose strong password. I do not need encrypted home directory, so I choose NO here. Choose your time zone. As I live in New Zealand, I choose Pacific I prefer to let Ubuntu create partitions for me, so I choose default and confirm it by choosing YES I dont use proxy, so I leave it blank Although updating always is a good idea, so I choose Not Automatic Update Install Open SSH Server and Mail Server Select Internet Site ZabbixSrv.cbt4all.com sounds nice. Do not worry, it is just a name! Choose YES for creating encryption for SSH, and locahost is good but you can change if you like Choose YES for installing GLB
  • 8. Installing Zabbix Install Ubuntu, con. 3. Verify the IPAddress for ZabbixSrv by ifconfig command IP Address: 192.168.1.200, Subnet Mask: 255.255.255.0, Gateway: 192.168.1.254 DNS Server: 192.168.1.254 4. Connect to Zabbix by Putty and SSH 5. If you want to change the IP Address, use VI Editor sudo vi /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.200 netmask 255.255.255.0 gateway 192.168.1.254 sudo vi /etc/resolv.conf nameserver 192.168.1.254 sudo ifup eth0 sudo ifdown eth0 sudo /etc/init.d/networking restart Help for Ubuntu IP setting: https://help.ubuntu.com/10.04/serverguide/network-configuration.html Help for VI Editor: http://www.cs.rit.edu/~cslab/vi.html i (to insert), x (to delete), Arrow keys, Esc key (to exit from current mode), : (to go to command mode), q! (to quit without save), wq (save and exit)
  • 9. Installing Zabbix Install Ubuntu, con. 6. Install SNMP sudo apt-get install libsnmp-mib-compiler-perl sudo apt-get install snmp-mibs-downloader sudo apt-get install libsnmp-base sudo apt-get install libsnmp-dev sudo apt-get install snmp sudo apt-get install snmpd 7. Update/Upgrade Ubuntu Server sudo apt-get update sudo apt-get dist-upgrade
  • 10. Installing Zabbix Install Ubuntu, con. IF you forgot to install Open SSH Server and Mail Server during installing Ubuntu Server, you can use these to install them: Installing Open SSH Server sudo apt-get install openssh-server sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.original sudo chmod a-w /etc/ssh/sshd_config.origina Installing Mail Server sudo apt-get -y install postfix mailutils libsasl2-2 ca-certificates libsasl2-modules sudo dpkg-reconfigure postfix
  • 11. Installing Zabbix 1. Installing repository configuration package and Zabbix : sudo wget http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.4- 1+trusty_all.deb sudo dpkg -i zabbix-release_2.4-1+trusty_all.deb sudo apt-get update sudo apt-get install zabbix-agent zabbix-server-mysql zabbix-frontend-php snmpd php5-mysql php5-curl 2. Configure MySQL Choose a password for MySQL. I choose cbt4all Select YES to configure MySQL for Zabbix Choose a password for Administrator for database in MySQL. I choose cbt4all again! 3. Configuring the config file sudo vi /etc/apache2/conf-enabled/zabbix.conf Remove # from time zone and add your time zone. As I am in New Zealand, my time zone is Pacific/Auckland Find your time zone here: http://php.net/manual/en/timezones.php 4. Restart the Appache Service sudo service apache2 restart
  • 12. Installing Zabbix- Welcome Wizard 1. Use browser to use Zabbix. The address you should use is http://192.168.1.200/zabbix/ which 192.168.1.200 is the Zabbixs IP Address. If you have chosen another IP Address for your Zabbix Server, use that one. Click on Next 2. You have to test connection between Zabbix and MySQL. You need to insert the password you chose before. I had chosen cbt4all Click on Test Connection Click on Next 3. Login to Zabbix Default Username is Admin (A in Admin must be capital) Default Password is zabbix
  • 13. Welcome to Zabbix Welcome to Zabbix. In next video I will show you how you can configure the Zabbix.
  • 14. Time out I would welcome the opportunity to have your idea and feedback at my blog, www.cbt4all.com Thanks