zabbix Getting Started
Zabbix is the ultimate enterprise-level software designed for real-time monitoring of millions of metrics collected from tens of thousands of servers, virtual machines and network devices.
If you have installed Websoft9 zabbix, the following steps is for your quick start
Preparation
- Get the Internet IP of your Server on Cloud
- Check your Inbound of Security Group Rule of Cloud Console to ensure the TCP:80 is allowed
- Complete Five steps for Domain if you want to use Domain for zabbix
- Get default username and password of zabbix
Zabbix Initialization
Steps for you
-
Using local Chrome or Firefox to visit the URL https://DNS or https://Server's Internet IP, you can access the login page of Zabbix
-
Login to Zabbix console(default username and password)
-
You can see the Zabbix dashboard
-
Go to the User profile of Zabbix Administrator, change your language if you want
Having trouble?
Below is for you to solve problem, and you can contact Websoft9 Support or refer to Troubleshoot + FAQ to get more.
Zabbix QuickStart
-
Use SSH to connect Zabbix Server
-
Get the IP installed Zabbix-Agent which for monitor Zabbix-Server itself
docker inspect zabbix-agent | grep IPAddress
You should install Zabbix-Agent if you want to test it on another Server
-
Login to Zabbix console, open:【Configuration】>【Hosts】 to list all hosts
-
Fill the IP in the form and save it
-
Return to hosts list page and enable you host.
-
You can see the green status of Availability if monitor running
More useful Zabbix guide, please refer to Zabbix Documentation
Zabbix Setup
SMTP
-
Get SMTP related parameters in the mailbox management console
-
Log in Zabbix console as administrator, configure SMTP
- Open【Administrator】>【Media types】, selecting【Email】
- Configure your settings of SMTP
-
Send test mail
Zabbix language
-
Login to Zabbix Console
-
Go to the User profile of Zabbix Administrator, change your language if you want
If you can't select language, refer to https://zabbix.org/wiki/How_to/install_locale
Install Zabbix-Agent
-
Install Zabbix-agent
rpm -Uvh https://repo.zabbix.com/zabbix/<ZABBIX_VERSION>/rhel/7/x86_64/zabbix-release-<ZABBIX_VERSION>-1.el7.noarch.rpm
yum install zabbix-agent -y -
Configure it by the file: /etc/zabbix/zabbix_agentd.conf
Server=SERVER_IP
ServerActive=SERVER_IP
Hostname=zabbix_web
Resetting Password
There are two main measures to reset password.
Changing password
Take the steps below:
-
Login to Zabbix console, go to: 【Administrator】>【Users】, edit the target user
-
Click 【Change Password】
Forgot Password
Try to retrieve your password through database modification when forgot it.
Follow the steps below:
-
Login phpMyAdmin and open Zabbix database
-
Run the SQL command to reset your password
sudo mysql -uroot -p new_password -e "update zabbix.users set passwd=md5(new_password) where alias='Admin';"
Reference sheet
The below items and General parameter sheet is maybe useful for you manage Zabbix
Run docker ps
command, view all Containers when Zabbix is running:
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
18540fbd8378 zabbix/zabbix-web-apache-mysql:centos-5.2-latest "docker-entrypoint.sh" 7 hours ago Up 7 hours (healthy) 0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp zabbix-web
ed7551e10595 zabbix/zabbix-agent:centos-5.2-latest "/sbin/tini -- /usr/…" 7 hours ago Up 7 hours 0.0.0.0:10050->10050/tcp zabbix-agent
584c72d4110c zabbix/zabbix-server-mysql:centos-5.2-latest "/sbin/tini -- /usr/…" 7 hours ago Up 7 hours 0.0.0.0:10051->10051/tcp zabbix-server
cacb13aa8f36 zabbix/zabbix-java-gateway:centos-5.2-latest "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:10052->10052/tcp zabbix-java-gateway
7f86df1ec563 zabbix/zabbix-snmptraps:centos-5.2-latest "/usr/sbin/snmptrapd…" 7 hours ago Up 7 hours 0.0.0.0:162->1162/udp zabbix-snmptraps
01bf45e40f13 phpmyadmin/phpmyadmin "/docker-entrypoint.…" 8 hours ago Up 8 hours 0.0.0.0:9090->80/tcp phpmyadmin
Path
Zabbix installation directory: /data/zabbix
Zabbix configuration file: /data/zabbix/.env.xxx
Zabbix Persistent storage:/data/wwwroot/zabbix/zbx_env
Zabbix-Web Database configuration:/data/wwwroot/zabbix/.env_db_mysql*
Zabbix-Proxy Database configuration:/data/wwwroot/zabbix/.env_db_mysql_proxy