Seit der Version 3.2 von check_logfiles ist es einfach geworden, Eventlogs von Windows-Servern auszulesen, ohne auf diesen das Plugin installieren zu müssen. Es wird jetzt nur noch ein "Gatewayserver" sowie ein Domainbenutzer nagios benötigt.

weiterlesen...

Author:Gerhard Laußer

With LWP you can easily upload a file from within a perl script. To add some sugar this small example shows how to show a progressbar during the upload. This is especially useful for giving feedback while uploading large files. This technique is based on LWP’s DYNAMIC_FILE_UPLOAD hook for sending files chunk by chunk. BTW, this feature is a good thing anyway in order to avoid sucking large files completely into memory before doing an upload.

weiterlesen...

Author:Roland Huß
Tags:LWP, Perl
Categories:misc

Es gibt mal wieder ein Update für check_hpasm, diesmal mit dem Schwerpunkt auf HP Bladesystems. Neu hinzugekommen ist die Überwachung von Sicherungen (Fuses) und Enclosure Managern. Ausserdem werden jetzt bei fehlerhaften Komponenten auch gleich die Spare-Part-Nummern angezeigt.

weiterlesen...

Author:Gerhard Laußer
Tags:BladeCenter, check_hpasm, Nagios, Plugins, snmp
Categories:nagios
Jmx4Perl 0.65

Jmx4Perl reaches is next evolution step, with a bunch of new features. The most important news are a new JDK 6 based JVM agent which allows monitoring of arbitrary Java applications (not only servlet containers) and the support for bulk read requests.

weiterlesen...

Author:Roland Huß
Tags:Jmx4Perl
Categories:jmx4perl

If you have ever sent or received mail messages via Java, chances are high that you have used JavaMail for this task. Most of the time JavaMail does an excellent job and a lot of use cases are described in the JavaMail FAQ. But there are still some additional quirks you should be aware of when doing advanced mail operations like adding or removing attachments (or “Parts”) from existing mails retreived from some IMAP or POP3 store. This post gives a showcase for how to remove an attachment from a mail at an arbitrary level which has been obtained from an IMAP store. It points to the pitfalls which are waiting and shows some possible solutions. The principles laid out here are important for adding new attachments to a mail as well, but that’s yet another story.

weiterlesen...

Author:Roland Huß
Tags:J2EE, Java, javamail
Categories:java mail, development
Osgish

This is the first announcement about my new toy osgish [os-gish], a shell for
OSGi containers.

weiterlesen...

Author:Roland Huß
Tags:jmx, Jmx4Perl, OSGi
Categories:osgish
Jmx4Perl 0.60 released

Jmx4Perl’s next release 0.60 is out in the wild.

weiterlesen...

Author:Roland Huß
Tags:jmx, Jmx4Perl
Categories:jmx4perl

Folgende Anfrage wurde von einem Kunden an mich gerichtet:

Jetzt kam von den Admin die Anfrage ob es nicht möglich ist alle Meldungen (winwarncrit) erstmal als Warning an Nagios zu melden, um dann bestimmte Meldungen nach und nach als Critical einzustufen, oder komplett zu verwerfen (exclude).
Geht das?

weiterlesen...

Author:Gerhard Laußer
Tags:check_logfiles, Eventlog, Nagios
Categories:nagios

In my last post (citrus-xpath-validation-power) I solved a validation problem regarding generic XML data structures with some XPath expression power. Now in latest 1.1-SNAPSHOT version of Citrus things become even more straightforward.

weiterlesen...

Author:Christoph Deppisch
Tags:Citrus, XPath
Categories:citrus, development

I recently struggled with the validation of a very generic XML data structure in some message payload. It turned out to be a good example where XPath validation can overcome the normal XML tree comparison. I’d like to share my thoughts about this issue, because others might run into similar problems too and the solution with XPath really impressed me with its powerful validation possibilities.

weiterlesen...

Author:Christoph Deppisch
Tags:Citrus, XPath
Categories:citrus, development