How to Install SNMP on UnRAID6

One of the things I like to have in my lab environment is the ability to monitoring all OSes and keep an eye on such things as temperatures, disk space, and other sensors.  I was disheartened to find that UnRAID 6 did not have SNMP installed or configured. After some searching I was able to figure out how to get SNMP installed.

First, Log into your UnRAID Web page and Click on Plugins

Capture.PNGNext copy and paste the NerdPack Plugin into the URL Field and Click Install.  The NerdPack installs the prerequisites that you need to install SNMP.  Then you will see a plugin window pop up.

Capture.PNG

Then we go and reboot the server.  This step is not necessary, but I prefer to do this after each plugin install.

Next go to Settings, and Nerd Pack

Capture.PNG

Find the entry for Perl and click the slider

Capture.PNG

Click Apply on the bottom

Capture.PNG

The package manager will launch a window and you see the package install.

Capture.PNG

Then we go and install the UnRaid SNMP Plugin following the same steps for the previous plugin install.

Capture.PNG

Login to the host via SSH console and verify that SNMP is working by executing

snmpwalk -v2c -c public localhost

You should see output similar to below.

Capture.PNG

Now you should be able to import your host into an SNMPD Based monitoring.

Capture.PNG

UnRAID- Storage Server On a USB Drive

I’m in the process of converting my Lab Environment into a separated Storage Server and Virtualization platform.  Today we will focus on the Software RAID Storage Server side with UnRAID.

I’m using the below setup for a Test Bench.  Under no circumstances should you use a Desktop Setup for Production use, but for just a Test Bench to gauge performance of software, this is perfectly fine.

  • Intel i3-6100T
  • Gigabyte GA-Z170N-Gaming 5
  • 8GB DDR4
  • 4X Western Digital 4.0TB NASWare Drives
  • 128GB OCZ RD400 NVMe M.2 SSD

Setup is very easy, either create or purchase a USB Drive with UnRAID and boot from it. Once booted, you navigate to the Web Page for UnRAID.

unraid1

Then I navigated to the Main Tab and configured my drives.  I set three for Data and one for Parity.  Then we played the waiting game.  For 12TB of usable space we are waiting nine plus hours for the Parity Disk to Sync.

unraid2

As some veterans of UnRAID may have seen, I’m running version 6.18 in the above screenshots.  Since I have an NVMe M.2 SSD in this setup, I decided to use it as a cache drive.

unraid3

I decided to run some benchmarks to see how our system fares.  The System is only outfitted with a 1G network card, so we are limited to about 117MB/s as a best case scenario.  We ran into an interesting situation though.  When benching we started with the 1GiB File Size in Crystal Disk Mark, but we got abysmal  numbers.

unraid4

So decided to benchmark starting on the lower end starting with the 50MiB File Size and sure enough we hit speeds that maxed out the network adapter.  The trend continued on the 500MiB File Size as well.

So I went back to the 1GiB File Size Benchmark and low and behold we were hitting good speeds.

unraid7

There must be some type of caching mechanism that determines when to write and read from the cache and when not to.  I think because the system had just added the cache to the array, it was not “smart” enough to use it yet.

We can see the test consistently max out the Network Adapter.

unraid8

Here is a 2GiB File Size Benchmark, which is in line with the previous.

unraid9

I would expect similar performance until we have a file larger than the 128GB Cache Drive. I’ll need to find a benchmark tool that can use 128GiB File Sizes, as CrystalDiskMark only goes to 32GiB.  I also plan to run these same tests with a 10G Network as well, but I am currently waiting on the arrival of Second Xeon D Motherboard and have yet to order the 10G Adapter for that board.  We also have a ZeusRam 8GB SSD that I am waiting to arrive.  That drive is a favorite of the FreeNas Crowd.