{"id":526,"date":"2024-05-21T22:34:04","date_gmt":"2024-05-21T22:34:04","guid":{"rendered":"https:\/\/www.rosemarknetworks.com\/?p=526"},"modified":"2024-05-21T23:01:10","modified_gmt":"2024-05-21T23:01:10","slug":"zabbix-6-4-apt-based-distros-ubuntu-debian","status":"publish","type":"post","link":"https:\/\/www.rosemarknetworks.com\/?p=526","title":{"rendered":"Zabbix 6.4 (apt-based distros &#8211; Ubuntu, Debian)"},"content":{"rendered":"\n<p>Zabbix is an open source suite of tools that monitor, analyze, and report statistics and problems on network devices, ranging from Windows PCs, Linux servers, to any switch accessible via SNMP, BSD firewalls, and even Zabbix itself. Templates exist for several systems such as Cisco IOS (both old and new Catalyst models), Windows Server, and VMware ESXI.<\/p>\n\n\n\n<p>Zabbix is composed of the following applications:<\/p>\n\n\n\n<ol>\n<li><strong>Zabbix Server<\/strong> acts as a daemon on a singular server or within a highly available cluster, brokering connections between a database (MySQL or PostgreSQL), Zabbix Agents, and Zabbix Frontend. <\/li>\n\n\n\n<li><strong>Zabbix Agent<\/strong> is a system process that Zabbix Server monitors over port 10050. <\/li>\n\n\n\n<li><strong>Zabbix Frontend<\/strong> is a service installed on a machine running Zabbix Server that provides a user interface in a webbrowser, from where new machines can be enrolled and be inspected \/ edited.<\/li>\n\n\n\n<li><strong>Zabbix Proxy<\/strong> is a service that behaves similarly to Zabbix Server, exposing the same port and behavior as Zabbix Server, answering to a Zabbix Server or cluster. This can be used in networks that have complex layers and sections. A common usecase is to introduce a connection surface within an DMZ or gapped network.<\/li>\n<\/ol>\n\n\n\n<p>There are a few other minor components such as Zabbix Sender, which have niche usages we will cover in another blog.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Zabbix Server<\/h2>\n\n\n\n<p>Installing Zabbix on apt-based distros is fairly straight-forward. We&#8217;ll be assuming a Debian 12 virtual machine for the sake of this walkthrough. The first thing to do is add the <a href=\"https:\/\/www.zabbix.com\/download?zabbix=6.4&amp;os_distribution=debian&amp;os_version=12&amp;components=server_frontend_agent&amp;db=mysql&amp;ws=apache\" data-type=\"link\" data-id=\"https:\/\/www.zabbix.com\/download?zabbix=6.4&amp;os_distribution=debian&amp;os_version=12&amp;components=server_frontend_agent&amp;db=mysql&amp;ws=apache\">Zabbix repository<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -O zabbix-repository.deb https:\/\/repo.zabbix.com\/zabbix\/6.4\/debian\/pool\/main\/z\/zabbix-release\/zabbix-release_6.4-1+debian12_all.deb\ndpkg -i zabbix-repository.deb\napt update <\/code><\/pre>\n\n\n\n<p> wget is a utility that downloads files from an http(s) source. The first line saves the latest Zabbix repository (select the correct URL from the download page, as this link above may not be correct in the future). The next line with dpkg adds the repository to our system so that the apt package manager can find and fetch Zabbix binaries. apt update then refreshes the index.<\/p>\n\n\n\n<p>The next thing to do is install these applications as well as our database and some utilities that are good to have.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent zabbix-sender zabbix-get mariadb-server vim apache2 python3.11-venv<\/code><\/pre>\n\n\n\n<p>This installs Zabbix Server, its frontend, an agent with which it monitors itself as a client, a set of configuration files for the Apache web server, the SQL scripts that the service requires, as well as <strong>Zabbix Sender <\/strong>and <strong>Zabbix Get <\/strong>which are CLI utilities that enable us to send and receive Zabbix analytics data through bash \/ Python scripting. We also install mariadb-server, vim for configuration editing (use nano if you wish), and a special package called Venv, which is responsible for the management of Python virtual environments. This is required whenever you install external Python libraries using Python&#8217;s PIP package manager &#8211; some Zabbix plugins \/ 3rd party template solutions are based on Python, such as our inhouse ZFS pool and CPU temperature detection. Note that mariadb is identical in 99% of usecases to thet original MySQL server, insofar as its bindings to other applications and syntax.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring Zabbix Server (+ Frontend)<\/h2>\n\n\n\n<p>Once Zabbix&#8217; packages have been installed, we configure the database and then start the system daemons to bring the server and its frontend online.<\/p>\n\n\n\n<p>From a shell prompt, we enter MySQL&#8217;s terminal with the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -uroot -p<\/code><\/pre>\n\n\n\n<p>You will be prompted to enter the root password of your server. From there, we create our database:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>create database zabbix character set utf8mb4 collate utf8mb4_bin;\ncreate user 'zabbix'@'localhost' identified by '<strong>password<\/strong>';\ngrant all privileges on zabbix.* to 'zabbix'@'localhost';\nset global log_bin_trust_function_creators = 1;\nquit;<\/code><\/pre>\n\n\n\n<p>Note the bolded <strong>password<\/strong>. This is the password that Zabbix Server uses when connecting to the database, and will be stored in a config file. In a future update, we&#8217;ll demonstrate using a secrets vault, but for now this is fairly secure for intranet Zabbix deployments.<\/p>\n\n\n\n<p>Also note that &#8216;zabbix&#8217; and &#8216;localhost&#8217; are in single quotes in the user lines. Official guidelines do not specify this, but from experience I&#8217;ve determined that this is necessary and that without doing this the initial setup will fail. My theory is that this differs distro to distro or potentially that it&#8217;s related to the encoding of the database.<\/p>\n\n\n\n<p>After doing this, we&#8217;ve created the database itself, but we haven&#8217;t set its schema. The schema for Zabbix is quite massive, so rather than do so by hand, we use a built-in shell command <strong>zcat<\/strong> to populate the schema tables. Make a note of the <em>set global log_bin_trust_function_creators <\/em>line in the MySQL code above &#8211; we&#8217;ll be resetting this after the schema is defined.<\/p>\n\n\n\n<p>When we installed zabbix-sql-scripts, this put a compressed schema file in the usr share directory. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>zcat \/usr\/share\/zabbix-sql-scripts\/mysql\/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix <\/code><\/pre>\n\n\n\n<p>Notice that this time, the -u flag of the mysql command is set to zabbix, not root. This means we&#8217;re authenticating not with the default Linux user but with the &#8216;zabbix&#8217;@&#8217;localhost&#8217; user we created in MySQL previously, and therefore we&#8217;ll need that password instead. You will be prompted here. <\/p>\n\n\n\n<p><strong>NOTE: Zcat has no stdout display while it&#8217;s being piped to MySQL, which means that there&#8217;s no visual cue that this process is working. <\/strong>It will appear to hang for upwards of 10 minutes on slow servers, but it is NOT hanging, it&#8217;s just taking a long time. Allow this process to execute and complete. You will know that it&#8217;s done when the command prompt unlocks and gives you the standard <em>root@server<\/em> &gt; shell directive. <\/p>\n\n\n\n<p>After this is done, reopen MySQL as done earlier and turn off log_bin_trust_function_creators:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>set global log_bin_trust_function_creators = 0;<\/code><\/pre>\n\n\n\n<p>The last step before we switch to the frontend is to specify the DBPassword in \/etc\/zabbix\/zabbix_server.conf:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>DBPassword=&#91;database password specified in MySQL terminal previously.]<\/code><\/pre>\n\n\n\n<p><strong>A minor caveat: <\/strong>this is something that the official guides do not indicate. The frontend uses Linux locale files to determine certain aspects of its text rendering. By default, this is en_US.UTF-8. Debian does not come with these locale files. Ubuntu may not either, I am unsure. The solution is, before we start the daemon, to run <strong>dpkg-reconfigure locales<\/strong>:<\/p>\n\n\n\n<p> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"649\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-1024x649.png\" alt=\"\" class=\"wp-image-539\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-1024x649.png 1024w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-300x190.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-768x487.png 768w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image.png 1364w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"866\" height=\"510\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-1.png\" alt=\"\" class=\"wp-image-540\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-1.png 866w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-1-300x177.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-1-768x452.png 768w\" sizes=\"(max-width: 866px) 100vw, 866px\" \/><\/figure>\n\n\n\n<p>Now we start the daemons:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl enable zabbix-server zabbix-agent apache2\nsystemctl start zabbix-server zabbix-agent apache2<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring Zabbix from the frontend<\/h2>\n\n\n\n<p>Open up a web browser and navigate to http:\/\/[server_IP]\/zabbix\/. You will be greeted with the following screen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"610\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-2-1024x610.png\" alt=\"\" class=\"wp-image-542\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-2-1024x610.png 1024w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-2-300x179.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-2-768x457.png 768w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-2.png 1132w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">The Zabbix 6.4 splash page<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"607\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-3-1024x607.png\" alt=\"\" class=\"wp-image-543\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-3-1024x607.png 1024w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-3-300x178.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-3-768x455.png 768w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-3.png 1127w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Pre-requisites checklist. <\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"610\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-4-1024x610.png\" alt=\"\" class=\"wp-image-544\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-4-1024x610.png 1024w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-4-300x179.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-4-768x457.png 768w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-4.png 1132w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Our initial installation uses the password field here as opposed to what we set in \/etc\/zabbix_server.conf. Since we&#8217;re using MySQL, go ahead and keep it on these default settings which correlate to our previous setup. <\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"610\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-5-1024x610.png\" alt=\"\" class=\"wp-image-545\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-5-1024x610.png 1024w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-5-300x179.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-5-768x457.png 768w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-5.png 1127w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Give your server a name (this is not its hostname, don&#8217;t worry, this is for display purposes), set its time zone, and set it to the dark color palette because everyone loves dark mode.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"612\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-6-1024x612.png\" alt=\"\" class=\"wp-image-546\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-6-1024x612.png 1024w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-6-300x179.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-6-768x459.png 768w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-6.png 1120w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Confirm that these settings look correct.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"618\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-7-1024x618.png\" alt=\"\" class=\"wp-image-547\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-7-1024x618.png 1024w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-7-300x181.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-7-768x464.png 768w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-7.png 1128w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Woo!<\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Creating a Zabbix user<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"612\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-8-1024x612.png\" alt=\"\" class=\"wp-image-548\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-8-1024x612.png 1024w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-8-300x179.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-8-768x459.png 768w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-8.png 1434w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Once the server is finished installing, when we reload the page, we&#8217;re prompted with this. The default login for the frontend is <strong>Admin \/ zabbix. <\/strong><\/p>\n\n\n\n<p>Once logged in, we&#8217;ll want to create a new user with a secure password and email address. On the sidebar on the left, we have various tabs. Select the Users tab, expand it, and select the Users subheading. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"223\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-9-1024x223.png\" alt=\"\" class=\"wp-image-550\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-9-1024x223.png 1024w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-9-300x65.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-9-768x168.png 768w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-9-1536x335.png 1536w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-9-1560x340.png 1560w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-9.png 1723w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select <em>Create User<\/em> in the top right corner.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"812\" height=\"614\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-10.png\" alt=\"\" class=\"wp-image-551\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-10.png 812w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-10-300x227.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-10-768x581.png 768w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<p>Fill the username (the system username), the Name and Last Name (display, contact), enter its password, and choose Zabbix Administators from the selection dialogue in the group field. <\/p>\n\n\n\n<p>Make note of the Media tab. We can&#8217;t use it right now, but we&#8217;ll come back here after the next step. Move on to Permissions and select a role:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"873\" height=\"532\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-11.png\" alt=\"\" class=\"wp-image-552\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-11.png 873w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-11-300x183.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-11-768x468.png 768w\" sizes=\"(max-width: 873px) 100vw, 873px\" \/><\/figure>\n\n\n\n<p>Press Add at the bottom.<\/p>\n\n\n\n<p>You can now logout and log in as our new Superadmin.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Adding email alerts<\/h2>\n\n\n\n<p>All this is fine and dandy, but right now, were we to be monitoring some machines, we wouldn&#8217;t have any way of getting information from Zabbix when the service detects an error or warning. We need to introduce a <em>media type<\/em>, which defines a communication protocol to send emails to our different users&#8217; emails. Let&#8217;s add an email server: <\/p>\n\n\n\n<p>Navigate to the media definitions page at <em>Alerts -&gt; Media types<\/em>. From here, we see a list like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"533\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-12-1024x533.png\" alt=\"\" class=\"wp-image-553\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-12-1024x533.png 1024w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-12-300x156.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-12-768x400.png 768w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-12-1536x799.png 1536w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-12-1560x812.png 1560w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-12.png 1716w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p> There are A LOT OF OPTIONS here, lots of really unique stuff. For now select <strong>Email (HTML).<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"847\" height=\"650\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-13.png\" alt=\"\" class=\"wp-image-554\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-13.png 847w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-13-300x230.png 300w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-13-768x589.png 768w\" sizes=\"(max-width: 847px) 100vw, 847px\" \/><\/figure>\n\n\n\n<p>The exact settings will differ depending on your setup. Once you have an email server configured, press update. Make sure <em>enabled<\/em> is checked.<\/p>\n\n\n\n<p>Now, go back to the user we created earlier and go to its media tab:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"416\" src=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-14.png\" alt=\"\" class=\"wp-image-555\" srcset=\"https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-14.png 681w, https:\/\/www.rosemarknetworks.com\/wp-content\/uploads\/2024\/05\/image-14-300x183.png 300w\" sizes=\"(max-width: 681px) 100vw, 681px\" \/><\/figure><\/div>\n\n\n<p>Set the user&#8217;s email in the <em>Send to<\/em> field.  Customize which alert types and times you want to receive alerts for if you wish. <\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Zabbix server itself is all set up now! There&#8217;s a lot more to cover involving hosts &#8211; we&#8217;re not monitoring anything but Zabbix itself! &#8211; and templates and triggers and external services like our ZFS monitoring, which we&#8217;ll cover in the next article.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">author@rosemarkblog ~ whoami<\/h2>\n\n\n\n<p>Hi, my name&#8217;s Maeve Banks. I write and edit configuration guides, research adventure notes, cautionary tales, and youshouldknowthis articles for the Rosemark blog. I&#8217;m a system administrator with a special interest in creating custom featured solutions for certain tasks using FOSS software like Python. I also run a Linux homelab and enjoy learning new things about networking. If you have any questions about the content of this blog entry or requests \/ suggestions for future entries, you can reach me at maevebanks.ky@gmail.com, or by commenting below on this blogpost. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Zabbix is an open source suite of tools that monitor, analyze, and report statistics and problems on network devices, ranging from Windows PCs, Linux servers, to any switch accessible via SNMP, BSD firewalls, and even Zabbix itself. Templates exist for several systems such as Cisco IOS (both old and new Catalyst models), Windows Server, and VMware ESXI.<\/p>\n","protected":false},"author":1,"featured_media":542,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[15],"_links":{"self":[{"href":"https:\/\/www.rosemarknetworks.com\/index.php?rest_route=\/wp\/v2\/posts\/526"}],"collection":[{"href":"https:\/\/www.rosemarknetworks.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosemarknetworks.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosemarknetworks.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosemarknetworks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=526"}],"version-history":[{"count":14,"href":"https:\/\/www.rosemarknetworks.com\/index.php?rest_route=\/wp\/v2\/posts\/526\/revisions"}],"predecessor-version":[{"id":558,"href":"https:\/\/www.rosemarknetworks.com\/index.php?rest_route=\/wp\/v2\/posts\/526\/revisions\/558"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosemarknetworks.com\/index.php?rest_route=\/wp\/v2\/media\/542"}],"wp:attachment":[{"href":"https:\/\/www.rosemarknetworks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosemarknetworks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosemarknetworks.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}