Jun 162016
 

I’ve been tossing up moving my Zabbix server from a VMWare host to a ProxMox host, and decided that it was time. I’m hoping that by moving the server from VMWare to ProxMox, the disk latency will go down a bit since I’m using a RAID1 array for Zabbix on the ProxMox host rather than emulated disks on VMWare as well as moving to some cheap SSDs.

To do this, I’ve decided to start with a clean CentOS 7 server rather than migrating my CentOS 6 server from VMWare to ProxMox.
While I’m doing the migration, I’ll also upgrade to the latest version of Zabbix.
Continue reading »

Share
Mar 082016
 

This post is more of a note to myself on how to install the proprietary nVidia drivers on a fresh Debian install as I keep forgetting which packages I need!

After recently reinstalling Jessie onto a computer with an older Geforce card, I had to install an older version of the drivers (340.96).

From a fresh install, I needed to install the following packages:

gcc
make
linux-headers-3.16.0-4-amd64

# apt-get install gcc make linux-headers-3.16.0-4-amd64

The kernel version above will change as time goes on, so you can substitute the version number with $(uname -r) – e.g. apt-get install linux-headers-$(uname -r)

Once the packages are installed, you need to make sure the gcc version that your kernel was compiled with matches your current compiler.
You can find out what version your kernel was compiled with by checking the contents of /proc/version
# cat /proc/version
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29)

In my case, my kernel was compiled with gcc-4.8, so I had to also install gcc-4.8.
# apt-get install gcc-4.8

Once the compiler was installed, I also need to set the CC environment variable so that the correct compiler is used to compile the nVidia driver.
# export CC=gcc-4.8

Now that everything is setup, I can run the nVidia installer to install the drivers.

Share
Jan 202016
 

My home Zabbix instance was running out of space today, so I had to resize the partition that it lived on so that it would last a few more days while I worked out how to migrate it from my VMWare host to my ProxMox host.

Continue reading »

Share
Jan 132016
 

If you’re a regular reader of my blog, you’ll know that I’ve set up a Motion daemon to monitor one of my IP Cameras.

Recently, I decided to also make a graph of the motion so that I easily track when motion was detected from my IP Camera. This was easily done with the Zabbix agent as I could send data straight into a Zabbix item with zabbix_sender.

Continue reading »

Share
Dec 302015
 

The SD Card on my Raspberry Pi died this week. So I decided that this time, I’d use Salt to manage my Pi and not have to worry about backing up my configuration from the Pi itself as Salt would be managing it for me!
Continue reading »

Share