Using Jabber to monitor Windows EventLogs

Like every company we also got several machines working just for our infrastructural needs like Sharepoints, Activedirectory, Databases, Backup-Servers and so on.

To monitor many machines we came across the idea to use Jabber Instant Messaging to monitor the machines. For example the VPN should drop a line to specified jabber adresses if someone connects or disconnects. Every single machine is maintaining it’s own log – which means you would have to consolidate them in some ways. And since consolidation is not the masterplan – since you would need an event alarm system which sends out alarm calls if something weird is happening, you would need that alarm system too.

So we wrote (while waiting for the machines to install) several small tools which provide a gateway between syslog-ng, windows event logs and Jabber.

Since we are using this productively my Jabber Client Window looks something like this:

psi 

As you can see there are 3 machines online right now – and since these are Linux machines they also provide some status information like load averages and free memory. The Linux version was written by ahzf in perl – and obviously his library can handle the presence and status information much better than the one I used for the Windows version :-) – So there are no presence and status informations for the Windows machines right now.

The Windows version is written in C# and relies on the Jabber.NET library. It comes with a small setup and runs as a windows service.

jabbereventlog_windows

In the setup you have to enter the username+password of a user that can access the local Windows Event Log. After the successful setup you need to edit the config file:

editconfig

It’s XML and quite easy to understand (I think) – so you define the jabber server, the user, the password, the Users that you want to receive the messages and the EventLog you want to monitor.

After starting the service you get the startup message via the jabber server and from now on everything that is written into the Windows Event Log is sent to the accounts you specified. Easy eh?

P.S.: sourcecode release will be after we packaged everything.

Source: http://code.google.com/p/jabber-net/

7 Comments

Linksys: Epic FAIL! – AVM: Epic WIN!

We wanted to have a separate Office wireless network and a separate guest wireless network in our new Office here at sones. So it was decided to take the old and working wireless router and dedicate him as the guest wirless network base station and buy a new one with 802.11n capabilities to work as the brand new office wireless network base station.

Since we had great experiences with older Linksys WLAN routers we first decided to buy this one:

l_00736975

Linksys WRT160N

This one was promised to work as a 802.11n capable router but it just did not. There’s nothing more to say about this thing besides: horrible UI, not working, no 5ghz capabilities – we returned this router immediately to the dealer and ordered a new one. This time:

fritzbox1

AVM Fritz!Box 3270

And this one is a winner! Not only was our network up and running within 45 minutes – it also is faster than anything I’ve seen so far. There are even some very very cool frequency monitoring capabilities:

fritzbox

Not to mention the energy saving functionalities:

energy

No Comments

Rickrolled by bitsundso

Oh dare you Timo Hetzel!

rickrolled

1 Comment

das gute Gefühl guter Unterhaltung

Auf dem täglichen Weg ins Büro und von dort wieder nach Hause höre ich die verschiedensten Podcasts. Ein Stammpodcast seit nahezu der ersten Stunde ist Bitsundso und die verschiedenen Ableger davon: Games und so, Videogames und so, usw.

Und da Herr Hetzel und Crew seit wenigen Tagen hochoffiziell die Möglichkeit anbieten sie finanziell direkt zu unterstützen und dafür sogar noch zusätzlichen Nutzen (neben dem guten Gefühl) zu erhalten habe ich mir sozusagen direkt dieses famose Bits und so Plus Abo gegönnt.

bitsundso-plus-slide.001

Auf das da reichlich wunderbare Unterhaltung (wie in den letzten Jahren schon) kommen möge. Kaufe Bits und so Plus und werde glücklich!

Source: http://www.bitsundso.de/plus/

No Comments

Numbers

It’s time for a review of last years numbers regarding the schrankmonster website empire. I did not write that much – and I could clearly see that reflected in the monthly statistics. Nevertheless I am quite impressed what numbers where reached in the end:

the year 2008 in numbers:

  • 1.671.932.652 kbytes ~ 1.6 Tbytes of Traffic served to the visitors
  • 6.393.160 unique visits (532.763 on average per month)
  • 17.716.918 unique pages delivered
  • 63.656.905 hits overall (5.304.742 on average per month)

Sounds like a lot of work for one machine. In 2008 there were 3 machines that hosted schrankmonster and the sites around schrankmonster. I think schrankmonster now finally arrived on a machine where it can grow in the future. (I think the new machine will handle peaks like the famous “iTunes for Windows Mobile” articles easily)

No Comments

When x64 hasn’t quite arrived…

…I really thought that if I start using x64 only machines my live would be easier related to those resource hogs like SQL Server and Team Foundation Server. But I had to find out just now that obviously…:

 

tfsx64

No Comments

Happy New Year!

We (Steffi + Daniel) wish you a happy new year!

IMG_2906

IMG_2932

1 Comment

gone fishing 3

 

IMG_1716_stitch

No Comments

gone fishing 2

IMG_1558_stitch_75_prozent

“In olden days a glimpse of stocking
Was looked on as something shocking,
But now, God knows,
Anything Goes.”

1 Comment

gone fishing

Frohe Weihnachten

Happy Holidays!

Source: www.dreikiel.de

No Comments

new toy for the new toy: Manfrotto 190XPROB + 460MG

Not many new toys come with this: A justification to buy even more shiny new toys. In this case the 450d was the cause to buy a tripod + head.

It’s dark in here but I wanted to make a picture of it:

IMG_3994

IMG_3996

No Comments

Power Install Party

Hmm… setting up the new gear for the office infrastructure can be somewhat time consuming…

powerinstallparty2

Having relatively huge VMWare Server Host machines we’re power-installing all the virtual machines that are needed for your inhouse infrastructure…

No Comments

new toy: Canon EOS 450D

Finally a DSLR landed at our premises: the Canon EOS 450D is as of now in our toy park – perfectly timed for the holidays and christmas.

 

IMG_3948
(made with the “old” SX100 IS)

2 Comments

SONES Office 80% complete

Das Entwickler-Büro #1 ist bereits 99% fertiggestellt… auch sonst sind die Räumlichkeiten nun fast komplett :-)

Also deshalb auch ein paar Update Panoramen:

IMG_3878_stitch

(Achim am Gerät)

IMG_3880_stitch

IMG_3910_stitch

No Comments

Interview with Steve Teixeira at the Technical Summit 2008 in Berlin

I had the chance to interview Steve Teixeira – the Product Unit Manager for the Parallel Developer Tools team in Microsofts Developer Division.

So here is the video of this (my first) interview:

If you click here you can watch it in HD.

No Comments

Stellenangebot Softwareentwickler .NET / C#

Wir stellen ein!

Die Sones GmbH ist ein junges IT-Unternehmen mit Standort in Erfurt. Wir forschen in den Bereichen neuartiger Datenbank- und Speichertechnologien und entwickeln auf dieser Basis neue und innovative Produkte und Lösungen.

Am Standort Erfurt suchen wir ab sofort eine(n)

Software-Entwickler .NET / C# (m/w)

Sie wollen in einem jungen Team innovative Software entwickeln die im Datenbank-Segment ganz neue Wege aufzeigt? Als Software-Entwickler bei der Sones GmbH haben Sie hierzu die Gelegenheit!

In einem hoch motiviertem Entwicklerteam arbeiten Sie am Kern unseres Datenbanksystems mit. Sie entwickeln Features und verbessern die Qualität der Codebasis im Hinblick auf Stabilität, Performance und Skalierbarkeit. Dabei kommen modernste Entwicklungswerkzeuge zum Einsatz.

Wenn Sie unsere hohen Ansprüche an fachliches Wissen, Eigeninitiative und Kommunikation als Herausforderung sehen – dann sind Sie bei uns herzlich willkommen!

Ihre Aufgaben:

  • Projektplanung und Projektsteuerung in Koordination mit anderen Entwicklungsbereichen
  • Analyse, Design, Implementierung neuer Produktfeatures
  • Verbesserung der Qualität existierenden Codes im Hinblick auf Stabilität, Performance und Skalierbarkeit
  • Softwaretests und Dokumentationen
  • Evaluierung neuer Technologien und Prototyping

Voraussetzungen:

  • Studium im Bereich der Informatik oder vergleichbare Ausbildung mit überzeugenden Referenzen (Projekte, Beschäftigungen)
  • Mehrjährige Erfahrung in der Objektorientierten Softwareentwicklung
  • Von Vorteil:
    • Programmierkenntnisse .NET und C#
    • Erfahrungen mit Testdriven Development
    • Gute Englischkenntnisse
    • Erfahrungen mit Datenbankarchitekturen und Netzwerkprogrammierung

Ihre Soft Skills:

  • Kommunikationsstärke und Bereitschaft zum dynamischen Wissens- und Informationsaustausch
  • Zuverlässigkeit und eigenständige kreative Denk- und Arbeitsweise
  • Ziel- bzw. Lösungsorientiertes Vorgehen

Wir bieten:

  • Hoch motiviertes und qualifiziertes Team
  • Ausgesprochen interessante und innovative Arbeitsgebiete
  • Viel Platz für Eigeninitiative und Kreativität
  • Die ständige Möglichkeit sich weiterzubilden und weiterzuentwickeln
  • Herausforderndes Umfeld eines High-Tech Start-Ups

Sie sind interessiert? Dann freuen wir uns über ihre aussagekräftige Bewerbung mit Angabe ihrer Gehaltsvorstellung an jobs@sones.de

Der Vollständigkeit halber das Stellenangebot nochmal als PDF:

2 Comments

Das neue SONES Office :-)

Seit Anfang dieser Woche sind wir ja offiziell in die neuen Räume eingezogen und dementsprechend geht es hier die ganze Zeit rund. Ikea hat schon aufgebaut und gerade ziehen die Elektriker die notwendigen Netzwerk- und Stromkabel ein. Es geht zu wie im Taubenschlag :-)

Rein technisch ist zumindest mein Arbeitsplatz schon vollständig aufgebaut – alles in allem ist hier ein deutlich angenehmeres Arbeiten möglich als im alten Büro und es sieht alles viel schicker aus.

IMG_3831_stitch

jaja es sieht noch wild aus – aber es entsteht ja noch :-)

Habe ich erwähnt dass das Büro indem ich sitze das einzige mit Tür auf die Dachterrasse ist? Oh das wird toll im Sommer!

IMG_3838_stitch

der Himmel ist böse grau in letzter Zeit – ich schätze ich habe heute eine interessante Heimfahrt.

No Comments

www.slow-backward.de zurück…

…aus der Domain Parklücke.

Ich habe heute mal meine alte und treugediente Domain “slow-backward.de” (da wo die Charlotte Webseite für die Sendung “Fast Forward” mal vor laaaaaanger Zeit abrufbar war) auf die Charlotte Roche Kategorie dieser Webseite umgeleitet.

Das ganze soll u.a. dem Zweck dienen hier wieder die Informationen leichter findbar für webseiten zu machen. Kommentare dazu?

3 Comments

Philips Living Colors

After painting the walls we took one of the new Philips Living Colors Lamp for a test run:


SONES Logo + Living Colors from Bietiekay on Vimeo.

No Comments

Painting the wall

SONES just moved into the new place – and after having all the ordering done we’re now waiting for the delivery of the various bits and pieces of the new office.

To make it a little bit more SONESisch my wife and I decided to paint a 1,5m huge logo of the company on the wall that can be seen first when you walk in. So we went to the nearest hardware store and bought all the needed tools aaaaaaaand we found somebody who could mix the right shade of green to fit our company color.

IMG_3789

Back at the office we started with placing the projector and the logo itself so we could draw the borders with a pencil on the wall.

IMG_3782

IMG_3793

When the borders where on the wall we started the masking tape attack! It was the first time that I had used masking tape but it everything went surprisingly good.

IMG_3800

The last and final step is to paint it. So we got the paint, we got the rollers – and after half an hour:

IMG_3809

The shades you’re seeing in the picture above are just because of the wet and already dry paint which has a slightly different shade. So after a bit of drying and the removal of the masking tape:

IMG_3827

Et voilá!

No Comments

a new machine for this website

This week I ordered a new machine for all the websites which are now consolidated on one machine. I might have broken the previous subversion server logins for now – but this will be fixed in the next days or so.

Capture

So if you’re seeing this post you’re already on the new machine.

No Comments

free dr pepper

I am not a fan of Guns’n’Roses – but this deal is a steal: Dr Pepper betted that the band won’t get their new album released in 2008. If they would release it in 2008 every US citizen would get a free serve of Dr Pepper.

freepepper

get yours!

Source: http://www.drpepper.com/freeDrPepper/

No Comments

the server was out for a walk

Precisely 30 minutes before the weekend started for the support staff at the server hosting company this server is hosted .. well… it crashed.

So I waited till this morning and after merely seconds and new SATA cables the machine was up and running as if nothing ever happened.

DAMN CABLES!

So – everything should be fine now. Enjoy your stay.

No Comments

SPAM down 100%

Obviously the SPAM Provider whose internet access was cut off on wednesday (as reported by the Washington Post)

mail_spam_

Incoming mails is down from 4226 two days ago to 1663 today…giving a spam filter total of 0 false negatives (down from 1115 false negatives two days ago).

Thank you, whoever you are, for cutting of that evil spam providing internet access provider!

Source: WashingtonPost

No Comments

DIY Photo Frame (with a twist)

I got these two quite old Windows Mobile Professional phones (with touchscreen and everything) and beside the fact that they are my phones I am using them just to display my calendar entries on my desk. Now I thought it would be a great thing if those two QVGA devices would display personal pictures in a slideshow.

And it would be even better if they would get their pictures from the internet. And even better if there would be an application that would allow me or my wife to upload/delete pictures from the slideshow playing on all devices.

Thought said, and done. I did a little afterwork project today, taking me approx. 3 hours with everything from scratch.

So I made these parts:

  1. a webservice to upload, delete and retrieve the pictures

    This really is just a webservice very similar to the one I used in my DropBox application. It’s hosted on one of my machines and makes the pictures also available to the mobile clients.

  2. an upload tool to upload, delete the pictures comfortably

    I took the DropBox Application and customized it – it now resizes the pictures automatically before uploading and it can display a preview in the file browser.

    photoframe_upload_1

    photoframe_upload_2

  3. a small application running on my phones that displays this pictures using the webservice

    This one was made from scratch and consumes the webservice from above. It asks for the next picture URL, downloads this picture and displays it… and so on.

    photoframe_app_1 photoframe_app_2

Since it’s already up and running and looking great on my desk I wanted to share it with you. Don’t expect everything to work out-of-the-box but it’s a start for everyone who wants to have something like this. Oh – of course your windows mobile device needs to have internet access…

So as usual here’s the sourcecode of the whole package for your pleasure. Use it where ever and in what ever whay you want as long as you’re crediting.

PhotoFrame.zip (639,87 KB)

P.S: There’s a fun fact I did not know: I accidently double-clicked the windows mobile application on my Vista machine and guess what: It just runs! Yes, manage Windows Mobile Application running natively on Windows Vista:

funfact

Source 1: PhotoFrame.zip (639,87 KB)
Source 2: DropBox

No Comments