Nagios time in far future

In case of the time being too far in the future you can go to: /etc/init.d/nagios stop mv /var/nagios/retention.dat{,.old} /etc/init.d/nagios start/etc/init.d/nagios stop mv /var/nagios/retention.dat{,.old} /etc/init.d/nagios start

OpenWrt on TP-LINK TL-WR904N

I have successfully installed OpenWrt Attitude Adjustment 12.09 on TP-LINK TL-WR904N Rev. 1.0 Ver 1.3. This HW is not described on OpenWrt HW list, but I have flashed it successfully with openwrt-ar71xx-generic-tl-wr941nd-v4-squashfs-factory.bin. BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) built-in shell (ash)…

OpenWrt on Tenda W307R

I have successfully installed OpenWrt Attitude Adjustment 12.09 on Tenda W307R Rev. V2.0. This HW is not described on OpenWrt HW list, but I have flashed it successfully with openwrt-ramips-rt305x-w306r-v20-squashfs-factory.bin. BusyBox v1.19.4 (2013-03-15 02:26:13 UTC) built-in shell (ash) Enter ‘help’…

Moving the repositories

As a few of you might know, I’m going to leave the Centre for Information Technology at Technical University of Ostrava within a few weeks. It’s been great fun to work here all the time but the last year. There’s…

fdupes to remove duplicate files on Linux

Quick and dirty solution to remove all duplicate files but one: yes 1 | fdupes -rd /path/to/folderyes 1 | fdupes -rd /path/to/folder

Firefox and Thunderbird repositories for Ubuntu 10.10

sudo add-apt-repository ppa:mozillateam/firefox-stable sudo add-apt-repository ppa:mozillateam/thunderbird-stable

Text_CAPTCHA_Numeral bugs

There are two bugs in Text_CAPTCHA_Numeral Pear Module. Here is the patch. diff -Nuar Text_CAPTCHA_Numeral-1.3.0.ok/php-pear-Text-CAPTCHA-Numeral.xml Text_CAPTCHA_Numeral-1.3.0/php-pear-Text-CAPTCHA-Numeral.xml — Text_CAPTCHA_Numeral-1.3.0.ok/php-pear-Text-CAPTCHA-Numeral.xml 2010-10-24 04:16:40.000000000 +0200 +++ Text_CAPTCHA_Numeral-1.3.0/php-pear-Text-CAPTCHA-Numeral.xml 2010-11-18 23:15:05.000000000 +0100 @@ -43,7 +43,7 @@ <file baseinstalldir="Text" md5sum="1b16ce634831d571c8ba2e5819aaf6f9" name="tests/captchanumeral.answerisok.phpt" role="test" /> <file baseinstalldir="Text" md5sum="33de4b4f24e52c2e2ff35645cf1b4e51" name="tests/captchanumeral.firstandsecond.phpt"…

Nagios and dpt-i2o-raidutils, raidutil check

We do check our production boxes with hardware raid cards on raid status. We are using our script to call raidutil, which is running fine, but not under nagios user. Permissions for the files are as follows: -rwxr-xr-x 1 root…

Fork me on GitHub