Monitoring Blog

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

Posts in 2013
  • Meine FRITZ!DECT 200 sind endlich da!

    Sunday, June 02, 2013 in Insights

    Im Februar bestellt und in der letzten Mai-Woche eingetroffen. Die intelligenten Steckdosen von AVM scheinen heiss begehrt zu sein. Jedenfalls kann ich jetzt über meine FRITZ!BOX aufzeichnen, wieviel Strom gewisse Geräte momentan oder aber über einen langen Zeitraum verbrauchen. Von Berufs wegen juckt's mich natürlich jedesmal in den Fingern, wenn irgendwo Messwerte anfallen. Mein Plugin check_nwc_health kann ja bereits CPU, Speicher und Interfaces einer FRITZ!BOX 7390 abfragen, also war klar, daß die Überwachung der FRITZ!DECT 200 bzw. des gemessenen Energieverbrauchs unbedingt dazugehört. Die fünfte Ausgabe der ConSol Monitoring Minutes, die sich mit diesem Thema befasst, ist heute ebenfalls entstanden. Die Kommunikation zwischen Plugin und Steckdose findet nicht direkt statt, sondern …

    Read more

  • Wie man einem Plugin das Maul stopft

    Friday, May 24, 2013 in Insights

    Ein Monitoring-Kunde wünschte sich, dass alle WARNINGs, welche aus der Vmware-Ungebung stammen, als CRITICALs dargestellt werden. Mit dem Tool negate ist das normalerweise kein Problem, man schreibt den Check einfach um in: $USER1$/negate --warning=CRITICAL $USER1$/check_vmware_api.pl .... Leider machte mir etwas anderes einen Strich durch die Rechnung. check_vmware_api.pl schreibt nämlich eine Warnung auf STDERR raus: Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /omd/sites/sagichnicht/lib/perl5/lib/perl5/Exporter.pm line 66. at /usr/lib/perl5/vendor_perl/5.10.0/Socket/INET6.pm line 21 Bisher hat diese Meldung nicht weiter gestört, man bekommt sie nur zu Gesicht, wenn man in Service Detais reinklickt. (Update der entspr. Perl-Module würde das Problem lösen, ist aber momentan …

    Read more

  • Monitoring von HSRP - Monitoring Minutes 04/13

    Monday, May 06, 2013 in Insights

    Wie in der dritten Folge schon angekündigt, habe ich zum Thema HSRP ein eigenes Filmchen erstellt. Hier ist die vierte Folge der ConSol Monitoring Minutes, in der gezeigt wird, wie eine mit dem HSRP-Protokoll redundant gemachte Gruppe von Cisco-Routern mit check_nwc_health überwacht wird.      

    Read more

  • Jmx4Perl 1.07

    Tuesday, April 16, 2013 in Insights

    It took quite some time, but now Jmx4Perl 1.07 is out with some nice bug fixes and enhancements for the Nagios plugin check_jmx4perl. There has been not much noise around jmx4perl since last October, but finally the newest bug fix release is available on CPAN with the following new features and fixes: j4psh can now autocomplete on MBean with quotes in their names. This long outstanding bug is finally fixed. There might still be issues with stranged name MBeans including various special characters, but for 99% of all MBean names autocompletion should work now. Please raise an issue if there are still problems with autocompletion in j4psh. Also for j4psh all commands working with wildcards (like cat) match now case insensitively. BaseMBean, BaseAttribute and BasePath can be used as …

    Read more

  • Citrus 1.3 released

    Tuesday, April 02, 2013 in Insights

    I am excited to announce that Citrus 1.3 has been released! We hope you enjoy the new feature set coming with this version like the new Java test builder for writing tests with Java code only and the new citrus-ssh module that adds connectivity to the ssh protocol as a client or server. Now let’s have a quick look at the major changes with this release. Java DSL support: We have introduced a Java test builder for writing Citrus tests in Java only. Before that you were forced to write your tests with a XML syntax. Of course this was not very popular within the Citrus users having development background. So now you can choose on how to write your Citrus test with Java and/or XML. Have a look at the user guide to to see how it works. Citrus SSH module: The Citrus family has raised a new …

    Read more

  • check_nwc_health - neuer Modus für Link Aggregation

    Thursday, March 28, 2013 in Insights

    Von einem Kunden wurde der Wunsch geäussert, Cisco Port Channels zu überwachen. Diese Technologie ist eine Art, wie man mehrere Interfaces zu einem Strang bündeln kann, sei es aus Gründen der Ausfallsicherheit oder (was mittlerweile eher seltener der Fall ist) der Lastverteilung. Üblicherweise werden Uplinks zwischen Switches auf diese Art redundant ausgelegt. Herausgekommen ist ein neues Feature, nämlich --mode link-aggregation-availability Mit --mode link-aggregation-availability wird ermittelt, wieviel Prozent der zusammengefassten Interfaces verfügbar (= OperStatus up) sind. Ohne Angabe von Schwellwerten mittels --warning/--critical werden diese selbständig errechnet und zwar so, dass der Status WARNING ist, sobald ein Interface weggebrochen ist und CRITICAL, sobald nur noch ein …

    Read more

  • Jolokia 1.1.x

    Tuesday, March 26, 2013 in Insights

    Two new Jolokia releases (1.1.0 and 1.1.1) in the past month add some nice new features. Spring support A new module jolokia-spring has been added which makes integration of Jolokia in Spring applications even easier. Simply add the following line (along with the corresponding namespace) to you application context and agent will be fired up during startup: <jolokia:agent> <jolokia:config autoStart="true" host="0.0.0.0" port="8778" .... /> </jolokia:agent> Expect more spring support to come with Jolokia 2.0, for example an agent as a Spring MVC controller. A Jolokia MBeanServer The new jolokia-jmx module provides also an own MBeanServer which never gets exposed via JSR-160 remoting. By registering your MBeans at the Jolokia MBeanServer you can make them exclusively available for Jolokia …

    Read more

  • Mod-Gearman in den Monitoring Minutes 2/13

    Monday, March 04, 2013 in Insights

    Soeben erschienen: die zweite Folge der ConSol Monitoring Minutes. Getreu unserem Motto “aus der Praxis für die Praxis” zeigen wir darin live, wie die Checks einer großen Nagios-Installation (hier: einer OMD-Site) mit Mod-Gearman an Worker delegiert werden können. Beim “Schweizer Taschenmesser” OMD (erhältlich über das ConSol-Repository) ist Mod-Gearman bereits integriert. httpvh://www.youtube.com/watch?v=AmhYtj9J3gY

    Read more

  • Portübersicht mit check_nwc_health

    Sunday, February 24, 2013 in Insights

    Mit dem neuen Feature interface-availability von check_nwc_health überwacht man die Anzahl noch verfügbarer Ports an einem Router oder Switch. Als besonderes Gimmick gibt es eine Übersicht über alle vorhandenen Ports und deren Verfügbarkeitsstatus dazu. Ein Port gilt als verfügbar, wenn: AdminStatus ist "up", OperStatus ist seit einiger Zeit nicht mehr "up" AdminStatus ist "down" Der Zeitdauer, während der ein Port im OperStatus "down" o.ä. sein muss, um als nicht mehr produktiv zu gelten, beträgt defaultmäßig 30 Minuten (1800 Sekunden), kann aber durch Verwendung des Parameters --lookback geändert werden. (Das Argument von --lookback wird in Sekunden angegeben) Die normale Ausgabe von check_nwc_health –mode interface-availability liefert eine zahlenmäßige Übersicht über insgesamt …

    Read more

  • A Jolokia short story

    Friday, February 22, 2013 in Insights

    Please follow me on my trip through debug hell, happy end included (or jump to the end of the post for a tl;dr, but you’ll miss quite something). While I was preparing an excercise for a Jolokia workshop, strange things happened. For the sake of simplicity (and because I like its small footprint), I’ve chosen Jetty as platform for some JMX programing exercise. A simple servlet should expose som JMX MBeans. I added some simple counters to the Servlet, but wanted to show also how easily Jolokia can serialize complex objects. Ok, why not exposing the ServletContext itself ? Seems to be a sufficient complex object. Here is this innocent Servlet: public class Demo implements Servlet, DemoMBean { private ServletContext ctx; public void init(ServletConfig config) throws ServletException { ctx = …

    Read more