--- title: 'Zabbix proxy SBC-selection' disqus: hackmd tags: Delaware --- SBC-selection for Zabbix proxy === This short document describes and compares two selected Single Board Computers (SBC's) wich are capable of running Zabbix proxy. There are only two SBC's documented as these are the top picks of previous comparisons not mentioned in this document. ## Table of Contents [TOC] 1 Purpose --- In order to run a Zabbix proxy, there needs to be a compute module where it can be run on. A Raspberry Pi could be a perfect example of this. However, the downsides of a Raspbarry Pi are the following: - SD-card: once the SD-card reaches its max read/writes, the Zabbix database can no longer function properly and makes the Zabbix proxy corrupt. - USB: Running the database alternatively on an external USB-stick can be an option. However, once the USB is removed at any point in time, the Zabbix proxy will again be corrupt. The upside is that a Raspberry Pi can operate on POE using the [POE-hat](https://www.raspberrypi.com/products/poe-hat/). Running the device on POE makes it plug & play capable. ### 1.1 Solution To prevent the device configuration to get corrupted, there need to be some prerequisites for future purchased devices. #### Prerequisites; - Device has onboard storage (**eMMC** or equivalent) with a minimum capacity of **8Gb** - Device supports **POE-power** - Device has minimum **2Gb** of **RAM** - Device has onboard Wifi support (nice to have) 2 Raspberry Pi computing module (CM4 - ARM based) --- |![](https://i.imgur.com/bzrPlh1.png) |:--:| | *Figure 1: RPi - Compute Module 4* | (Buy on [SOS-solutions](https://www.sossolutions.nl/ras)). The regular Raspberry Pi 4 does not support onboard storage. Therefore, the Raspberry Pi Compute Module 4 is a candidate. It supports **8 to 32Gb** of onboard **eMMC-storage** and has **1 to 8Gb** of **LPDDR4** **SDRAM** with a **quad-core CPU**. The compute module has a **cost** of **€93,70** at the time of writing for the **top-spec (8Gb RAM, 32Gb eMMC)**. Because of high demand, the mid-tier spec (4Gb RAM, 16Gb eMMC) is not available. **In adition** to the module itself, there needs to be a **[base-board](https://www.raspberrypi.com/products/compute-module-4-io-board/)** wich provides the IO **and** a **POE** to convert the 48V-POE to 5V. The board featured in the below image (Figure 2) adds a cost of **€51,50** at the time of writing. |![](https://i.imgur.com/Pc4mwwI.png) |:--:| | *Figure 2: RPi - Compute Module 4 IO-board (from WaveShare)* | (Buy on [Amazon](https://www.amazon.com/Waveshare-Raspberry-Compute-Suitablr-Variants/dp/B08T259X2H?language=en_US&currency=EUR&th=1)). :::warning **Caution!** Not all IO-boards natively have POE-support! ::: An alternative to the board mentioned above (Figure 2) could be the [TOFU-board](https://store.oratek.com/products/tofu), it is more compact but, still requires an extra POE-hat and is more expensive. Final cost overview (CM4): | Item | Price | | -------- | -------- | | Compute Module | €93,70 | | IO-board | €51,50 | | Total cost| **€145,20** | ###### references: [`CM4`](https://www.raspberrypi.com/products/compute-module-4/?variant=raspberry-pi-cm4001000), [`IO-board`](https://www.raspberrypi.com/products/compute-module-4-io-board/) 3 Pico-ITX AL05P (Intel based) --- |![](https://i.imgur.com/4LnTGEv.png) |:--:| | *Figure 3: Pico-ITX - AL05P (model BC-23E30)* | (Buy on [DFI-store](https://dfi-america.com/estore/al05p.html?__hstc=22885796.608aa30e7bbf20d090e917edb5296f50.1654588162094.1654588162094.1654588162094.1&__hssc=22885796.1.1654588162094&__hsfp=1007481374)). This SBC has **native POE-support** for 48V. It contains an **Intel Atom X5-3930** **dual-core** processor and has **2 to 4Gb** of **DDR4 RAM**. Next to that, it has a capacity of **16 to 64Gb** onboard **eMMC-storage**. (Full **datasheet** can be viewed **[here](https://www.dfi.com/Uploads/DownloadCenter/e5ae83bd-a80e-441c-b1ac-dc23bfaa6da0/DFI-AL05P-2.5-Pico-ITX-DataSheet.pdf?timestamp=1645165324.92699)**). According to Intel's roadmap, it has a supported **CPU Life Cycle** of **15 years**. **Price** for this product (model BC-23E30) from [manufacturer site](https://dfi-america.com/estore/al05p.html?__hstc=22885796.608aa30e7bbf20d090e917edb5296f50.1654588162094.1654588162094.1654588162094.1&__hssc=22885796.1.1654588162094&__hsfp=1007481374) self is **$341**. This comes down to **€319,67**. ###### reference: [`Pico-ITX - AL05P`](https://dfi-america.com/estore/al05p.html?__hstc=22885796.608aa30e7bbf20d090e917edb5296f50.1654588162094.1654588162094.1654588162094.1&__hssc=22885796.1.1654588162094&__hsfp=1007481374) 4 Khadas VIM3 (basic) --- The device ("basic" model) is similar in specifications (**6core CPU**, **2Gb RAM**, **16Gb** onboard **eMMC-storage**) to previous mentioned devices, howerver it also **supports Wifi**. It still **needs** an **extra module** to work with **POE**. The extension board also adds support for SIM and provides extra M.2 slots. However, if the board is connected via Wifi. This module is excesive (or rather a nice to have extra) to our setup. The **Khadas VIM3** (basic model) costs **€140** and the **extension** board **€51,63** at the time of writing. |![](https://i.imgur.com/tORnt9o.png) |:--:| | *Figure 4: Khadas VIM3* | (Buy from [Khadas](https://www.khadas.com/product-page/vim3) or [AliExpres](https://nl.aliexpress.com/item/33045254508.html?spm=a2g0o.productlist.0.0.230e45e0Tfqj3u&algo_pvid=01411e84-5d29-4f6a-a1b8-cfad29512c24&algo_exp_id=01411e84-5d29-4f6a-a1b8-cfad29512c24-3&pdp_ext_f=%7B%22sku_id%22%3A%2267374489926%22%7D&pdp_npi=2%40dis%21EUR%21%21140.64%21%21%21%21%21%400bb0600116546126360543119e95ae%2167374489926%21sea)) |![](https://i.imgur.com/CrdZLFS.png) |:--:| | *Figure 5: Khadas VIM3 - extension board (POE, 2x M.2 add-on)* | (Buy from [AliExpress](https://nl.aliexpress.com/item/1005002323538460.html?spm=a2g0o.search0304.0.0.4c68678bGIT1Fo&algo_pvid=6d98f5ae-7765-4c6d-a95a-b32a93766e34&algo_exp_id=6d98f5ae-7765-4c6d-a95a-b32a93766e34-22&pdp_ext_f=%7B%22sku_id%22%3A%2212000020084449111%22%7D&pdp_npi=2%40dis%21EUR%21%2151.63%21%21%21%21%21%402101e9d316546107121455812e4305%2112000020084449111%21sea&gatewayAdapt=glo2nld)) This board has is the **most powerfull** for its price and connectivity when comparing to the previous mentioned boards. Reasontly the **Khadas VIM4** whas announced and has an **8core CPU** but, is a bit overkill for this project. Plus the Khadas VIM4 has a **price bump** of **$100**. Final cost overview (Khadas VIM3): | Item | Price | | -------- | -------- | | Khadas VIM3 | €140 | | Extension-board | € 51,63 | | Total cost| **€191,63** | ###### reference: [`Khadas VIM3`](https://www.khadas.com/product-page/vim3) ## Conclusion Both options are great. The CM4 is almost equal to the Intel board in terms of specifications and has a lower price tag (half of the Intel board). However, when talking about the future, Intel comes out ahead and has a bonus of the 15y life cycle support. Next to that the Intel board is capable of running native Windows an can come in handy for potential future projects that need this functionality. In the end, for a Zabbix proxy, the CM4 will perform perfectly fine with mid-tier specifications (4Gb RAM, 16Gb eMMC). Last and not least, the Khadas is also a nice option with its 6core CPU, 2Gb RAM and 16Gb eMMC-storage for originally €5 more than the CM4 configuration. But because there is a standard shipping cost, an extra €40 is added (already in price listed above). ## Extra's :::info **Find this document incomplete?** Leave some feedback! :::