Welcome to ConSol* Labs
Labs is a technical playing field sponsored by ConSol* where we – the employees – can share our Open Source involvement. We use this site to blog about our area of personal interest, from the daily business at work and from our spare time projects.
check_jmx4perl: New Nagios configuration style
Posted on August 23rd, 2010 by roland
Since version 0.70, check_jmx4perl has support for configuration files. JMX Nagios checks are now considerably simpler to configure and multi checks add even more performance and flexibility.
Putting jmx4perl on the fast lane for Tomcat
Posted on August 18th, 2010 by roland
This post explains why a dedicated Tomcat Connector reserved for the jmx4perl agent is a useful thing.
Citrus and TestNG groups
Posted on August 13th, 2010 by Christoph
TestNG groups add great flexibility to the Citrus test execution. We are able to divide all tests into several groups reaching a sophisticated seperation of concerns in our test setup. As an example I want to classify some of my functional Citrus tests as “long-running”. These tests may not apply to continuous execution every time I package my project. Instead of this I want to set up a scheduled integration build to execute those long-running tests in a time schedule.
Citrus 1.1 released
Posted on August 12th, 2010 by Christoph
Citrus 1.1 release is here (download)! The release comes with a bunch of new features and bugfixes. Here is a short list of major features and changes in this release:
Wie man das Setzen der Schwellwerte an den DBA delegiert
Posted on August 12th, 2010 by lausser
Die Plugins check_oracle_health und check_mssql_health haben mit den Versionen 1.6.6 bzw. 1.5.6 ein neues Feature bekommen. Critical- und Warning-Schwellwerte können jetzt auch direkt in der Datenbank hinterlegt werden. Bei Änderungswünschen muss der DBA nun nicht mehr den Nagios-Administrator belästigen, damit dieser die entsprechenden Servicedefinitionen anpasst.
Service dependencies with NRPE
Posted on July 14th, 2010 by lausser
If you have defined services using the nrpe mechanism, you might know the following scenario:
The NRPE daemon fails and all services using it go critical. One first step to avoid these false alarms is to create an additional service which monitors the NRPE daemon itself (called check_nrpe_daemon in this example) and install a dependency between your services and check_nrpe_daemon.
Jmx4Perl 0.70
Posted on July 10th, 2010 by roland
I’m happy to announce the new jmx4perl release 0.70 with a lot of new features. The most exciting new stuff are configuration files and multi-checks for check_jmx4perl, a new Java client library and the start of a readline based JMX shell j4psh with syntax highlighting and command line completion.
Citrus with SOAP-ENV:mustUnderstand headers
Posted on May 19th, 2010 by Christoph
By setting the SOAP mustUnderstand header attribute to “1″, you indicate that the service provider must process the SOAP header entry. In case the service provider is not able to handle this special header a SOAP fault server error is sent back to the calling client. In this post I would like to point out an easy way to support these mustUnderstand headers when simulating SOAP WebServices with Citrus.
Überwachen von Eventlogs mit check_logfiles und einem Domain-Benutzer
Posted on April 12th, 2010 by lausser
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.
Fileupload with perl, decorated with a progressbar
Posted on April 6th, 2010 by roland
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.

