Monitoring Blog

Release announcements, technical guides and monitoring insights from the ConSol team.

Posts in 2011
  • check_oracle_health unter Windows

    Friday, February 11, 2011 in Insights

    Seit einigen Versionen ist check_oracle_health auch unter Windows lauffähig, was anscheinend nur wenig bekannt ist. In vielen Firmen ist auf den Arbeitsplatz-PCs ein Oracle-Client installiert, mit dem Applikationen auf die Unternehmensdatenbanken zugreifen. Es ist daher nur logisch, wenn beim Monitoring die Verfügbarkeit einer Datenbank aus der Sicht so eines PCs geprüft wird. Natürlich ist es auch möglich, check_oracle_health auf dem meist Linux-basierten Nagios-Server auszuführen, aber die Überwachung findet näher an der Realität statt, wenn man einen typischen Arbeitsplatzrechner nachbildet. Es sind ja durchaus Fehlersituationen denkbar, deren Ursache in der Windows-Client-Software zu suchen ist. check_oracle_health kann auf zwei Arten ausgeführt werden: Analog zu Unix als Perl-Plugin. …

    Read more

  • Jmx4perl im Perl Magazin Nr. 17

    Wednesday, February 09, 2011 in Insights

    Für alle Freunde des leichtgewichtigen JMX Monitorings findet sich in der neuesten Ausgabe des Perl Magazins eine Vorstellung von jolokia. In dem 9-seitigen Artikel wird JMX im Allgemeinen, die jxm4perl (bzw. Jolokia) Agenten und die Programmierung mit JMX::Jmx4Perl beleuchtet. Die Ausgabe lässt sich online für 6 € inkl. Versandkosten bestellen. Fragen zu dem Artikel bzw. jmx4perl im Allgemeinen beantworte ich in den Kommentaren hier gerne.

    Read more

  • Mod-Gearman 1.0 released

    Tuesday, February 08, 2011 in Insights

    Mod-Gearman 1.0 has been released (download). About half a year after starting development of Mod-Gearman it’s time to finish main development and release the stable 1.0. use gearman to spread the load of your nagios box onto several worker avoid core blocking events like eventhandler distribute writing performance data Reduce Load Mod-Gearman reduces the load of your nagios box, even on the same hardware. Mod-Gearman worker don’t fork as much as nagios does and the worker is much smaller than the nagios core process which reduces the system load for each fork. You can define worker for specific host or servicegroups to organize your checks. Avoid Blocking Events There are blocking events, for example eventhandler and running oscp commands from Nagios. Running eventhandler with Mod-Gearman …

    Read more

  • Check language bundles with maven-rbc-plugin

    Sunday, January 30, 2011 in Insights

    Got an an internationalized Java app? Then the maven-rbc-plugin plugin can help you finding Check the language bundles of your app with maven-rbc-plugin entries not fully internationalized missing resource files invalid unicode ... and more The recent 0.4 release brings a new report goal nicely presenting any resource issues detected. Have a look at the usage guide as a quick start for integrating the plugin.

    Read more

  • Citrus 1.2.M1 released

    Wednesday, January 26, 2011 in Insights

    We are very happy to announce the first milestone release of Citrus 1.2 in early 2011. The framework comes with great new features and many improvements to you. This post gives a short overview of the major changes, hope you enjoy the new features: New Groovy features Citrus extended the possibilities to work with script languages like Groovy. You can use Groovy’s MarkupBuilder to create XML message payloads. Your Groovy code goes right into the test case or comes from external file resource. With MarkupBuilder you are no longer bound to the XML message syntax with the typical overhead in writing code. The markup builder generates fully qualified XML message payloads and you can just focus on the pure message content and strike off the XML pain. Here is a small example for you: <send …

    Read more

  • Jolokia goes Javascript

    Tuesday, January 18, 2011 in Insights

    Starting with release 0.82, Jolokia contains now a brand new Javascript client library. This blog post highlights the main features and gives some usage examples. It supports the full Jolokia protocol stack, including bulk requests and HTTP POST and GET requests. Both, synchronous and asynchronous operation modes are available and support for JSONP in order to come around the same-origin-policy is build in, too. jolokia.js uses jQuery as underlying framework and provides two API layers: A basic one with full control over the requests and a simplified API for ease of use, but slightly less powerful. The following example shows a asynchronous Jolokia request for reading the head memory from an Jolokia agent deployed on the same server which serves this script: var j4p = new …

    Read more

Posts in 2010
  • Verkürzen der Ausgabe von check_oracle_health und Konsorten

    Monday, December 20, 2010 in Insights

    Überwacht man mit check_oracle_health den Füllgrad von Tablespaces einer Oracle-Datenbank, so werden in der Ausgabe des Plugins grundsätzlich alle Tablespaces aufgeführt. Dabei spielt es keine Rolle, ob ein Tablespace genügend freien Speicherplatz hat oder bereits zu voll ist. Dies hatte in der Vergangenheit zur Folge, daß die Ausgabe bei großen Datenbanken mit vielen Tablespaces sehr, sehr lang war und somit in der Web-Oberfläche von Nagios etwas unübersichtlich erschien. Mit den neuesten Releases von check_oracle_health, check_db2_health, check_mysql_health und check_mssql_health ist es nun möglich, nur noch diejenigen Tablespaces/Datenbanken anzeigen zu lassen, die voller sind als es die Schwellwerte erlauben. Dazu wurde eine neuer Kommandozeilenparameter −−report eingeführt, welcher …

    Read more

  • Integrate your own SoapAttachment Validator into your Citrus project

    Tuesday, December 14, 2010 in Insights

    Citrus includes a lot of convenient features which are only waiting for you to discover and use them. The other day I needed to validate a SoapAttachment. As you probably already know, a SoapAttachment is referenced by a href property in an Include tag like this: <Include href="…" xmlns=“http://www.w3.org/2004/08/xop/include"/>. Validation is quite easy when you’re still mock testing your application because you have full control over what your mock response will look like. So just add the following bean to your citrus-context.xml: <bean id="soapAttachmentValidator"> <property name="ignoreAllWhitespaces" value="true"/> </bean> And use it in your test file like so: <send with="facadeMessageSender"> <message> <data> <![CDATA[...-your request-...]]> </data> </message> </send> <ws:receive …

    Read more

  • OMD 0.44 is out in the wild

    Saturday, November 27, 2010 in Insights

    OMD, the new star on the open monitoring scene, has been released in version 0.44 two weeks ago with a lot of enhancements and new addons. For those, who don’t know yet the Open Monitoring Distribution, it is a Linux based distribution containing Nagios and important plugins, addons and GUIs in their latests versions all together in a single package. OMD is available for the major Linux brands (SLES, Debian, Ubuntu, RedHat/CentOS). Installing and starting OMD is a piece of cake, involving essentially only three steps. Really. It has fine support for upgrades and multiple installations and much more. More information on OMD can be found on its website. OMD is a community effort, where ConSol guys are some part of. Starting with OMD 0.44 many of our Nagios work coming out of the ConSol Labs …

    Read more

  • Jolokia

    Sunday, October 17, 2010 in Insights

    Let’s welcome the new kid on the labs.consol block: Jolokia. Jolokia is a fresh way for accessing JMX MBeans remotely. For those who know jmx4perl, Jolokia is currently not much more than jmx4perl’s Java agent in disguise. Future versions of jmx4perl will rely on the Jolokia agent. The ratio behind this split is to attract more Java developers in order to extend the agent or pick it up for inclusion in their products. Therefore Jolokia is released under the Apache License. This move makes sense anyway, since the agent is by no way tied to Perl alone, but open for any sort of client bindings. In fact, a JavaScript binding is already in the pipeline, Stephan is working on it. Also, the intersection of Java and Perl lovers is neglible anyway ;-). An overview of Jolokia can be found on our …

    Read more