Category Archives: Linux

Check_MK bleeding edge

I have been doing som OMD/Check_MK bleeding edge testing and development, aswell as collecting interesting plugins and locals. Running a Debian Wheezy box on ESXi My notes: Get and install the last omd package (as of 3 june 2014): wget “http://files.omdistro.org/nightly/2014-06-01/omd-1.11.20140601.wheezy.i386.deb” dpkg -i omd-1.11.20140601.wheezy.i386.deb Stop and upgrade the site: omd stop <sitename> omd update <sitename> omd start  sitename>… Read More »

Monitoring Raspberry Pi fw versions with check_mk

Modified http://exchange.nagios.org/directory/Plugins/Hardware/Others/check_rpi_firmware/details to work with my omd/check_mk setup for monitoring firmware versions on rpi farm. Code: #/bin/bash raw_firmware=`/opt/vc/bin/vcgencmd version` date_version=`echo $raw_firmware | awk ‘{print $1,$2,$3,$4}’` git_version=`echo $raw_firmware | awk ‘{print $10}’` echo “0 RpiFirmwareVersion hash=($git_version) $date_version ($git_version)” exit 0 Commands: vim /usr/lib/check_mk_agent/local/RpiFirmwareVersion chmod +x /usr/lib/check_mk_agent/local/RpiFirmwareVersion

RiksTV in Windows 7

I just changed from Altibox (IPTV) to RiksTV (DVB-T) and wanted to get this to work on Windows and Linux. Windows was easy enough: Software: DVBViewer Pro v4.8.1.0 Hardware: Hauppauge! WinTV-HVR-1300 Hauppauge! WinTV-CI-USB2 STRONG Conax CAM Installation without any problems. Drivers found by windows by default, but downloaded official drivers on Hauppauge! webpage and installed just… Read More »

Installing ESXi 4.1 on a Whitebox

Installing ESXi 4.1 on a Whitebox: * System: Gigabyte EP45-DS3L with Intel Core2Duo Quad Q6600. (no VT-d implementation on NB) * NIC: RTL8139 onboard * Raid: 3ware 9650 PCIe x4 4-port version. 1) Make a bootable installation USB-pen/drive. [1] I used a 320gb usb 5400rpm drive from some laptop. 2) Format it with fat32. 3)… Read More »

XBMC, Take two

So, i decided to wait with Dharma, and take another shot at the current XBMC live Install XBMC Live apt-get install vim python-software-properties pkg-config add-apt-repository ppa:team-xbmc-svn/ppa apt-get update apt-get upgrade apt-get dist-upgrade apt-get install linux-generic linux-headers-generic linux-image-generic xbmc xbmc-bin xbmc-data xbmc-live xbmc-skin-confluence xbmc-standalone wget http://uk.download.nvidia.com/XFree86/Linux-x86/256.44/NVIDIA-Linux-x86-256.44.run chmod +x NVIDIA-Linux-x86-256.44.run ./NVIDIA-Linux-x86-256.44.run

Nagios

Setting up a new nagios-solution at work, I am using a tool called check_mk. Together with some php config generation script, I am automaticly discovering new devices and services. check_mk is a rather new app, check it out!

Hardboot linux machine from console

http://blog.air4web.com/linux-force-reboot.html Pretty handy when my server hangs on umounting a drive: echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger