JSON alerts for Munin

Sunday 2018-01-07

Munin is a great and easy way to monitor your servers. The documentation for Munin is kind of all over the place, and sometimes not all that clear.

  • There is the recent “Munin Guide” which is quite informative and well laid out.
  • Sometimes additional info and background can be found on the old munin wiki.

Getting the standard mail alerts working on munin is simplest, but as soon as you want custom layouts or send alerts as a push message to a phone, it can take quite some work. Here’s what I figured out to get the Munin alert available to you as JSON inside your own Python script so you can do anything you want with it.
Read the rest of this entry »

Advertisements

Strange fix for SMB problems in Linux

Monday 2011-11-28

Linux Sucks.Last week, the upgrade to Ubuntu 11 severely broke all carefully selected menu colors, graphics settings and icon sets. I gave up the fight after a few hours of effortless restoration work and switched to Linux Mint 11.

While setting up my machine and restoring the links to the company Windows file servers I could not connect. The password window would re-appear without any feedback. The fix was even stranger than the problem.

Read the rest of this entry »


Installing Wubi 9.10

Friday 2010-04-23

Why I HATE LinuxOk, fist of all: DO NOT DOWNLOAD WUBI 9.10 as it contains a serious GRUB2 problem which will give you some headaches if you’re new to Linux. Why I’m saying this? I just ran into this GRUB2 problem while installing the new Wubi 9.10. Here’s what I did:

  1. Downloaded Wubi 9.10 windows installer and ran it.
  2. Installer downloads stuff, and boots into Ubuntu installer
  3. After reboot, GRUB screen comes up with a loud beep and a prompt. Great.

Some googling finds a lot of Linux voodoo talking l33tspe4king nerds, but it did contain some info with which I managed to get things working:

Read the rest of this entry »


Creating an Ubuntu Postgres server

Friday 2006-11-10
Follow these steps to create an Ubuntu Linux “server” running a Postgres database which allows non-local connections. You will need a machine with at least 10GB HD, bootable from CD-ROM, network card, and preferably more than 200MB RAM. Other than that, it can even be a Mac G4 if you like (just download the correct Ubuntu build).
Read the rest of this entry »