Tag: tech_support

Server performance monitoring with “Netdata”

I run a couple of servers at work for my skunkworks projects, and I was trying to find a good monitoring tool to see how much stress I was putting them under.  I already use “monit” (https://mmonit.com/monit/), running on a Raspberry Pi, to monitor whether a server (and services running on it) is there at all, but for more detailed monitoring, Netdata (https://github.com/netdata/netdata) was the killer app for me.  It’s super easy to install, and once up and running you just go to <servername>:19999 to check the status.  If you leave it idle for a while, it’ll stop updating (nice!), which I thought was good because it does provide a metric ton of information.  The really nice thing is that because my servers host a bunch of Docker containers, I can see what *each container* is doing.  Too awesome.

Example shot for one of the containers:

oblivion

Adding existing NTFS mount to Linux Mint 19.1

I had a Windows machine that had a Vagrant setup on a different drive.  When I replaced the Windows partition with Linux Mint, I wanted to have the other drive, already formatted as NTFS and containing my Vagrant workspace, mounted as /vagrant in the Linux machine.

First, I found out the properties of the drive:

sudo fdisk -l

I found it was a device under /dev/sdb1 and formatted as type HPFS/NTFS/exFAT.  Now to open the fstab file

sudo vi /etc/fstab

Then add this line:

/dev/sdb1 /vagrant ntfs defaults,uid=1000 0 0

Changes to that file can then be applied with “sudo mount -a” (except I believe with partitions marked as ‘noauto’), or in my case, a reboot.

I’m quite sure there is some optimizing that could be done there, but I’ll update this later if I find some.