October 23rd, 2009
Ton posted how to increase the NRPE data load to 16k. But if you use Opsview in a distributed environment (got slaves) you also have to adjust NSCA for large output.
That’s quite easy. Patch and recompile nsca-2.7.2 and change the nsca binary on the master and send_nrpe on the slaves. So the now-up-to-16k check results are sent to, and recieved by, the master. Here’s the NSCA-2.7.2 16k patch containing the necessary changes to common.h.
Tags: nagios
Posted in tech | No Comments »
April 21st, 2009
It’s unfair: The database admin got his DB layout, net network admin the network diagram. The sysadmin looses.
Now you’re able to plot the Nagios configuration with plot-config.pl to compete with others! And it comes in handy to show it off, search for errors or documentation.
plot-config.pl walks through nagios configuration files and draws depencies between hosts (parent-child) and (optionally) shows the services per host. You can plot the graphviz graph bottom-up or left-right and even neato or circo graphs. Though the output is a colored SVG it’s jut a quick & dirty hack.
Here an example output of plot-config.pl (without services):

very minimal output of plog-config.pl
Tags: GPL, nagios, script
Posted in tech | No Comments »
April 20th, 2009
Of course I run gentoo and I like it to stick to the latest (masked) Gnome version. As it is quite a task to control every package prior to adding it to package.keywords, I worte upgrade_all.
‘upgrade_all’ walks through ‘world’ and finds all packages that would be downgraded on next emerge, shows the according eix-stanza and prompts before adding a stablilizing line to package.keywords. Though it’s a quick shot it works for me, so feel free to edit and extend it, but don’t forget to let me know.
Tags: gentoo, GPL, script
Posted in tech | 1 Comment »
July 29th, 2008
“Participate in Creating a Better World, One Couch at a Time” that the misson statement on couchsurfing.com. I like the idea of offering your couch to travellers and to get in touch with the world right at your home. I appreciate the spirit of all the people out there offering their couch, because i know how preicous an accomodation can be. I invite couchsurfers to lay down their weary head at my couch.
Posted in News | No Comments »
July 17th, 2008
Neben Käsknöpfle wohl die vorarlberger Landesspeise. Hier meine Variante dieses Maisgerichts, das früher als Arme-Leute-Essen galt.
Zutaten
0,5l Milch
250g Riebelgrieß (Mischung aus schalenhaltigem Weizengrieß und Maisgrieß)
Salz
Butter
Muskatnuss
Zubereitung
Butterschmalz in einer Pfanne sehr heiß werden lassen, Milch und eine Prise Salz dazugeben und alles zusammen aufkochen. Die Milch vorsichtig mit etwas Muskat verfeinern.
Riebelgriess einrühren und so lange rühren, bis sich die Masse vom Geschirr löst.
Anschliessend auskühlen lassen.
In einer Pfanne Butter erhitzen, die ausgekühlte Masse hinein geben und langsam backen. Die Masse laufend zerkleinern und durchrösten lassen.
Genossen wird der Riebel am einfachsten mit einer Tasse Milch oder Kaffe. Bestreut mit Zucker und neben Apfelmuss (oder auch Kompott) serviert, ist er eine köstliche Süßspeise.
Posted in Rezepte | No Comments »
May 13th, 2008
“Epimenides, der Kreter, sagte alle Kreter wären Lügner und alle sonst von den Kretern aufgestellten Behauptungen wären gewiß Lügen. War das eine Lüge?”
Für die Lehrveranstaltung “Grundlagen methodischen Arbeitens” erstellte ich einen Artikel über Gödels Unvollständigkeitssatz. Ein kurzer, gegen Ende aber durchaus detaillierter Einstieg in die Zeit, die Umstände, die Idee, die Durchführung des Gödelschen Satzes.
Abstract - Ein Essay über die Formalisierung der Mathematik, die Zerstörung der Hilbertschen Vision durch Gödel und das Halteproblem als praktisches, an den Gödelschen Beweis angelehntes Beispiel. Die wichtigsten Begriffe wie formales System, Widerspruchsfreiheit und Vollständigkeit werden eingeführt. Abschließend wird Gödels Unvollständigkeits-Theorem nah am Originalartikel erklärt.
Gödels Unvollständigkeits-Theorem (pdf)
Posted in scholastics | No Comments »
October 31st, 2007
Spät, dafür unvollständig beginne ich damit die Übungsbeispiele für Theoretische Informatik und Logik zu digitalisieren. Der erste (unvollständige) Lösungsvorschlag zur 3. Übung steht unter technische Informatik zur Verfügung. Ich freue mich über alle Rückmeldungen mit gefundenen Fehlern, Anregungen oder Wünschen, also melde Dich!
Posted in scholastics | No Comments »
October 30th, 2007
Nachdem ich die Prüfung über Mathematik 1 (für Informatiker) geschafft habe, darf ich mich dieses Semester mit dem Sequel, Mathe 2, auseinandersetzten. Dazu gibts auch wieder eine Übung und meine Lösungsvorschläge im Bereich technische Informatik.
Die Beispiele für die ersten Übungen sind bereits online, der Rest folgt hoffentlich zeitiger, sodass noch Zeit zum abschreiben Fehler suchen bleibt.
Posted in scholastics | No Comments »
July 11th, 2007
Today I needed to configure a sftp server as replacement for the standard ftpd. I was shocked as alomst any documentation can be found via google. But it’s rather simple so here’s what I’ve done on AIX:
Install openssh (have a look at the IBM LinuxToolbox), sftp should be activated per default. Check /etc/ssh/sshd_config for the line http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html
Now you have to configure sftp-server as login-command:
- add
/usr/sbin/sftp-server as allowed login shell to /etc/security/login.cfg
- assign sftp-server as login-command to the sftp-user
- per smit: look for
Initial PROGRAM
- manually: edit
/etc/passwd, so the sftp-users line looks like
sftp-user:!:1010:1010:mailto.sftp@localhost:/home/sftp:/usr/sbin/sftp-server
- If you changed the
sshd_config restart the sshd-subsystem:
stopsrc -s sshd
startsrc -s sshd
That’s it! The sftp-user should be able to login via sftp, like sftp sftp-user@localhost and end up in its home-directory with no shell, just sftp.
Posted in tech | No Comments »
June 21st, 2007
Aufgrund großer Nachfrage stelle ich auch eine ‘druckbare’ Zusammenstellung des FragenWiki online. Dabei habe ich die Einträge 1:1 aus dem Wiki übernommen, und um sämtliche Absätze (z.B. Diskussion) gekürzt, die leer waren.
Stand: 2007-06-21 12:00.
Update: Die bewerteten Fragen wurden neu zusamengestellt.
Stand: 2007-06-22 14.00
Allen viel Glück bei der Prüfung!
Posted in scholastics | No Comments »