Hi, and welcome back! I’m glad you decided to join us again! In the Zabbix Guide Part 1, we configured our CentOS 7 Minimal install to run our Zabbix setup. IN this part, we’ll take a look at a few tips and tricks on how to get some things working that will make our lives easier once we start adding agents.
Like the previous part, all of these commands will be run as root, so you might as well
and stay there.
Static IP Address
If you haven’t, now would be a good time to go ahead and establish a static IP address for your Zabbix server. This can be done with DHCP Reservations, or manually setting the IP address on the Network Manager text interface…
Configuring your interface for a static IP address is beyond the scope of this particular article. Stay tuned for more in the future!
Now that you’re back and have a static IP address assigned, we can continue! We’re ready to configure the Zabbix server with the initial configuration and some basic setup. If you haven’t, go back to [
http://ip.ad.dr.ess/zabbix] to pull up the installation screen.
The first screen is just your basic welcome screen, so click the blue ‘Next step’ button near the bottom right corner. The second screen is the prerequisite checks. If you are following along with the setup from the first part of this article, everything should be fine, but review the settings anyway, just to be certain. If everything checks out, go ahead and click the Next step button.
For demonstration articles, I like to keep things simple… The database name, the username, and the password are all zabbix. On this screen, you should enter the database name, username, and password. This should be the same information that you used to in the Zabbix server configuration with. When you click the Next step button, if it responds with an error, log on to your Zabbix server and check the /etc/zabbix/zabbix_server.conf file for the information you need, or refer to (Part 1) of the guide.
On the Zabbix Server Details screen,
This is just information that the system will use to identify itself when we install the agent (farther down). The only thing we need to enter is a Name for the server. You can enter the server name, or a short name… I’ll be creative and call mine “Zabbix Server” and then click the ‘Next step’ button.
The final screen is just a quick summary of what settings we chose, etc. Go ahead and click “Next step” here. The next screen should show, hopefully, a Success message. Click the finish butto, and the system will take you to the Zabbix Login page!
What are you waiting for? Go ahead and log in! Oh… I should mention the default username is admin, and the defaultl password is zabbix. I would highly suggest changing that password right after you log in.
Change the @#$&!^@! Password!
The Zabbix interface has a lot of options buried everywhere. But first, let’s just get the password changed so our coworkers can’t…get creative with us… Click on the “Administration” Menu across the top… and then click the “Users” tab.
Then click on the “Admin” user, and on the next screen that loads, click “Change Password”, and then enter your new password into the new boxes that appear. Click the ‘Update’ button near the bottom of the page. My password is mubles, cough. Let’s just say I won’t need anybody to change the password on my luggage.
With that out of the way, let’s head back over to Monitoring -> Dashboard.
The Dashboard page is busy and has a lot of good information once you figure out what all it has. The top box is the “Status Of Zabbix” It will show information about the system and a few details about stuff.
One of the important aspects of this screen is to keep an eye on the “Zabbix server is running” … If that says “NO” then there is an issue with the Zabbix Server that needs to be seen about.
The rest of the information here is pretty self explanatory, I think. Number of hosts (any single device that can be monitored via the Zabbix Agent, or SNMP).
The number of Items are the individual metrics that are being monitored across all the devices.
The number of Triggers are the number of alert thresholds that are defined in the system. (More on those in a later post).
I’m going to skip number of users (online). I think you can figure that part out. ;-)
Required Server Performance, New values per second is the number of new items the server is processing per second. [This screenshot came from a live system, by the way].
The next section, the System Status basically shows a list of your Host groups, and how many of each kind of alert you have at the moment. My system looks pretty happy, don’t you think?
I said we’d get into some GUI tips-n-tricks this go round, so come along with me to Zabbix Guide Part 3!