Seite wählen

NETWAYS Blog

NAT in IPv6 & Debian Backports, New Feature in iSMS & MySQL Query Cache, plus Application Developer Apprenticeship

4 – 8 July considered NAT in IPv6, demonstrated Debian backporting, shared a MySQL tip and announced a new feature in iSMS alongside an applications developer apprenticeship.
Starting the week, Thomas despaired at the continued use of NAT in IPv6. In light of the experimental RFC 6296 “IPv6-to-IPv6 Network Prefix Translation” he considered the reasons behind retaining NAT despite the abundance of addresses as we depart from IPv4: Simpler roaming, or fear of the side effects of renumbering, alongside the desire for dynamic and changing official IPs. He noted that NPTv6 is more like 1:1-NAT than the classic NAT from the xDSL line in IPv4. An internal address has its equivalent external address and passes all ports 1:1. A subnet’s complete prefix (/48, /68 etc.) is replaced with the last part remaining the same. Thomas feared that providers would find false comfort in NPTv6 and use it too broadly.
Marcus then showed how to backport packages from Debian. He began with a debootstrap to create a chroot to work in. With chroot chroot_squeeze/ /bin/bash should anything go wrong, the chroot file can be deleted and recreated. He then modified the /etc/apt/sources.list, recommending the use of the entire stable Debian branch to install build dependencies from the stable packages. Finally, the source entry in the /etc/apt/sources.list can is changed to testing, unstable or experimental depending on which source was required for the package. He carried out last run of the apt-get build-dep to ensure no errors in dependencies exist. Using Icinga as his example, Marcus then continued to retrieve icinga via apt-get, modifying the version with dch –v. Upon changing the name and email address, as well as the distribution in the changelog file, he then built the package with dpkg-buildpackage.
From the development team, Marius posted an opening for an applications developer apprenticeship. As of 1 September, NETWAYShopes to take in an IT student wishing to learn more about Linux, languages such as PHP, Python, Perl and C, modern technologies in web and systems development all in the open source spirit. Enthusiastic applicants with basic knowledge of Linux and programming are welcome to apply to jobs@netways.de. More information can be found on the jobs area of our website.
Building on a post he wrote a few years ago, Bernd shared his new tip for MySQL query cache. Alongside cache fragmentation and limitations in cached operations, internal cache maintenance can present problems. He saw the cause to be the deletion of all corresponding cache entries when the base tables are updated. In environments with frequent transactions, results can almost never be retrieved from the cache even though all results of a select query are in saved in the cache and managed there. To resolve this, Bernd recommended SQL_ CACHE and SQL_NO_CACHE. With these two, the query cache can be limited to individual statements and the storage of unnecessary results on the cache can be avoided.
Last but not least, Lennart noted a new smsfinder feature in iSMS. In the past, responding to an SMS required the same content to be used with a ACK or OK at the front. Now it is possible to send an SMS via –use-db, which automatically sends an id tag along with the status text. By simply sending the 4 digit id in a return message, an issue regarding a certain host or service can be acknowledged. This however only works with acknowledgements, and cannot as yet, set a service or host to OK. Download the addon at www.netways.org for free under GPL.

Neues Feature für iSMS aka smsfinder

Wir haben den Funktionsumfang vom iSMS aka smsfinder im Bereich Acknowledgement erweitert. Bisher musste man auf eine SMS mit dem gleichen Inhalt und einem vorangestellten ACK bzw. OK antworten. Neu hinzugekommen ist die Möglichkeit über das Setzen des Schalters –use-db eine SMS zu versenden, die zusätzlich zum Status-Text eine ID verschickt. Sendet man diese max. 4 stellige ID zurück wird ein Acknowledgement auf den betreffenden Service bzw. Host gesetzt. Zu beachten ist hier, dass beim ID-Verfahren bisher ausschließlich Acknowledgements gesetzt werden und es nicht möglich ist einen Service oder Host auf OK zu setzen.
Das komplette Addon ist als Download unter GPL auf www.netways.org zu finden.

Lennart Betz
Lennart Betz
Senior Consultant

Der diplomierte Mathematiker arbeitet bei NETWAYS im Bereich Consulting und bereichert seine Kunden mit seinem Wissen zu Icinga, Nagios und anderen Open Source Administrationstools. Im Büro erleuchtet Lennart seine Kollegen mit fundierten geschichtlichen Vorträgen die seinesgleichen suchen.

Multi-Tech iSMS: Neue Firmware und neues Plugin

Multi-Tech liefert die aktuellen iSMS mit der Firmware 1.44 aus. Da sich hier ein paar Kleinigkeiten geändert haben, haben wir unser Plugin angepasst. Dieses kann – wie gewohnt – unter www.netways.org heruntergeladen werden.
Diese Firmware kann hier bezogen werden und das Change-Log findet sich hier.

Martin Krodel
Martin Krodel
Head of Sales

Der studierte Volljurist leitet bei NETWAYS die Sales Abteilung und berät unsere Kunden bei ihren Monitoring- und Hosting-Projekten. Privat reist er gerne durch die Weltgeschichte und widmet sich seinem ständig wachsenden Fuhrpark an Apple Hardware.

Weekly Snap: Plugins for iSMS & HW Group, speeches for OSDC & CeBIT

Feb 22- 26 got us geared up for the OSDC and CeBIT, introduced ideas for HW Group monitoring hardware and Mult-Tech iSMS alerting.
Plunging into plugins, hardware man Martin recommended a convenient alternative to SNMP monitoring for environment sensors. A range of monitoring plugins for HW Group devices, developed in house are now available under GPL at www.monitoringexchange.org.
Meanwhile, Birger thanked Eric Pearce for his article “Using an SMS Server to Provide a Robust Alerting Service for Nagios” in Linux Journal. In his comprehensive guide on using Multi-Tech iSMS hardware (otherwise known as SMSFinder) for SMS alerting, Eric suggested the NETWAYS iSMS plugin for simultaneous interaction with multiple servers. But beforehand, he kindly contacted us first with a few suggestions for improvement, which we gladly obliged and must give credit for.
Moving onto events, Manuela got excited about the high calibre speakers, latest trends and juicy steaks awaiting us at the OSDC on 23-24 June. From Rainer Jung, Apache Software Foundation to Michael Schlenzka, Jaspersoft, and Jörg Möllenkamp, Sun Microsystems, the OSDC promises 2 jam-packed days. Perhaps the speakers or perhaps the BBQ she has planned outdoors, we are looking forward to the OSDC as much as the summer.
With the world’s largest IT expo round the corner, Manuela went on to tip off the first ever dedicated open source forum at CeBIT where Julian and Bernd will be appearing. So if you’re round check out “Monitoring large IT infrastructures with Nagios and Icinga” or “An open source data warehouse for IT management” to see the boys on stage, or swing by Hall 9, Stand B20 for a chat. Email info@netways.de to cash in on the handful of complimentary tickets still on hand!

Nagios und das NETWAYS iSMS Plugin im linuxjournal

Im Linux Journal ist ein sehr gelungener und ausführlicher Artikel zum Thema SMS Alarme von Eric Pearce erschienen. Unter dem Titel Using an SMS Server to Provide a Robust Alerting Service for Nagios wird im Detail beschrieben, wie das Multi-Tech iSMS  aka SMSFinder als verlässliche Hardware zur Alarmierung via SMS eingesetzt werden kann. Nur am Rande wird erwähnt, dass man den iSMS auch gleichzeitig von mehreren Servern aus ansprechen kann. Die Aussagen im Artikel lassen sich so auch 1 zu 1 auf Icinga übertragen.
Wir freuen uns natürlich, dass Eric unsere Software eingesetzt hat. Er hat uns im Vorfeld kontaktiert und uns auf Verbesserungsmöglichkeiten hingewiesen die wir gern umgesetzt haben. So ist das Plugin zur SMS Alarmierung noch besser geworden.
Ein Anwendungsfall und die zugehörige Dokumentation in diesem Umfang ist ein Aushängeschild, das wir sehr gern vorzeigen.