Syslog Nachrichten und Sysinfos via XMPP/Jabber
Like every company we also got several machines working just for our infrastructural needs like linux-based VMWare/KVM hostservers, OpenVPN servers and so on.
To monitor many machines we came across the idea to use XMPP/Jabber Instant Messaging to monitor the machines. For example the VPN should drop a line to specified XMPP/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 XMPP/Jabber…
The linux version is based on perl NET::XMPP whereas 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.
The functionality of the perl implementation is the following: First it will listen on a file system FIFO and send every line to the given XMPP/Jabber account(s). Second it will update the XMPP/Jabber presence information every 60 sec. by the latest system load and free memory values. Using syslog-ng it is now easy to send specific system messages to your XMPP/Jabber account
You can get the latest version of this little tool at www.ahzf.de/itstuff/XMPPLogger/
The Windows version will be available at btk’s webpage: www.schrankmonster.de
Recent Entries
- Is my code compiled on Mono (or Microsoft .NET)?
- Definition of C#
- Google Wave – A Revolution done wrong!
- C# and implicit conversions
- Mein Cluster hat vier Räder ;)
- OpenVPN and Windows7
- M$ SharePoint and Symlinks…
- Die sones GmbH sucht weitere engagierte Softwareentwickler
- Detexify2 – Latex symbol classifier
- Piratenspot “Klarmachen zum Ändern” 2009
