Tag Archive for 'Plugins'

Weekly Snap: UNetbootin, Python Futures, AKCP sensors & Check_Interfaces

camera Weekly Snap: UNetbootin, Python Futures, AKCP sensors & Check Interfaces16 – 20 April got into the spring mood with ideas for data centers, live USB drives, and check plugin updates.

Starting with tips, Thilo recommended UNetbootin for no-fuss live USB drives, and Gunnar played with the “futures” feature in Python 3.2.

Georg got ready for warmer temperatures reviewing AKCP environment sensors for data centers, while Lennart announced version 1.2 of the check_interfaces plugin with two new features, ready for download on www.netways.org.

To end the week, Eva offered last minute tickets to our Open Source Data Center Conference that sold out just two days later. We look forward to seeing you for the kick off on Wednesday!

share save 171 16 Weekly Snap: UNetbootin, Python Futures, AKCP sensors & Check Interfaces

Weekly Snap: Averting Java Plugins, Playing with HTML 5 & Hooks

camera Weekly Snap: Averting Java Plugins, Playing with HTML 5 & Hooks30 Jan – 3 Feb turned over a new month with expo reflections, an OSDC program, and a nifty Java idea for Icinga/Nagios plugins – all topped off with our 100th development blog post.

Bernd brought home a few impressions from his visit to the Cloud Expo Europe in London and Lennart found a way around writing Java plugins for Icinga / Nagios.

From the development team, Angsar toyed with the idea of programming games in HTML5 while Marius showed how to add hooks in Perl to make patching vendor code a little easier.

Pamela closed the Open Source Data Center conference Call for Papers, and announced the preliminary program of speakers. She also reminded early birds to get in before  15 February for special conference rates.

share save 171 16 Weekly Snap: Averting Java Plugins, Playing with HTML 5 & Hooks

Switch monitoring via SNMP

Chances are you will at some point need to monitor a switch, and the Nagios community offers many plugins to do this.

Because no two setups are exactly the same, there are two interface checks actively maintained by NETWAYS which are designed for very different environments.

The first plugin was designed for monitoring large numbers of switches over low-bandwidth links, and is optimized for minimal system load.

check_interfaces (www.netways.org/projects/check-interfaces)
check interface 300x176 Switch monitoring via SNMP

* very fast c-based plugin
* uses bulk get mode to reduce traffic
* runs on embedded appliances
* no external status files required
* SNMP v1, 2c and 3 supported
* 10GB port support
* fully integrated into Nagios 3 / Icinga
* 64 bit counter support
* Interface aliases
* Human-readable bandwidth measurement
* PNP compatible output


The second plugin is orientated towards large switches, and offers a graphical overview of the switch status.

check_interface_table_v2 (www.netways.org/projects/plugins/files)
check interface table v2 Switch monitoring via SNMP

* adapted from check_interface_table from ITdesign
* Perl-based plugin
* Separate colour HTML overview
* Monitor switch ports for changes
* VLAN support
* 64 bit counter support
* Interface aliases
* Human-readable bandwidth measurement
* PNP compatible output

Both are naturally GPL-Licensed and available for download from the usual places.

share save 171 16 Switch monitoring via SNMP

Christ Elektronik Stromleiste CLM5-IP: Neues Plugin

christ elektronik stromleiste clm5 ip power panel Christ Elektronik Stromleiste CLM5 IP: Neues PluginFür die Stromleiste CLM5-IP von Christ Elektronik konnte ich heute ein passendes Nagios/Icinga-Plugin freigeben. Neben dem aktuellen Stromverbrauch der gewünschten Outlets lassen sich auch angeschlossene Temperatur-Sensoren oder sonstige analoge sowie digitale Sensoren abfragen – die jeweiligen Schwellwerte sind frei definierbar. Zudem werden jeweils Performance-Daten zur Erstellung von Trendgrafiken mit ausgegeben.

Das Plugin kann wie üblich unter www.netways.org heruntergeladen werden.

share save 171 16 Christ Elektronik Stromleiste CLM5 IP: Neues Plugin

Nagios Plugins 1.4.15

Bereits vor zwei Tagen wurde eine neue Version der Nagios-Plugins released. Neben vielen Bugfixes wurden auch die beiden Plugins check_disk_smb und check_ntp_peer erweitert. Der Patch des Letztgenannten von Holger Weiß gibt dem User die Möglichkeit die Anzahl gültiger NTP-Source zu überwachen und mit Thresholds dann als Warning und Critical zu bewerten.

Die neue Version gibt es wie immer bei Sourceforge.

share save 171 16 Nagios Plugins 1.4.15

Update für Starface check

starface logo1 Update für Starface checkWir setzen ja in vielen Projekten die Voice Appliance von Starface zur Alarmierung ein. Inzwischen ist deren Firmware bei Version 4 angekommen. Das von uns zur Verfügung gestellte Check Plugin check_starface.pl zur Überwachung der Appliance haben wir überarbeitet und somit ist nun auch der reibungslose Betrieb mit der aktuellen Firmware wieder sichergestellt.

Wie immer unter GPL und bereit zum Download auf Monitoringexchange und netways.org.

share save 171 16 Update für Starface check

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

camera Weekly Snap: Plugins for iSMS & HW Group, speeches for OSDC & CeBITFeb 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!

share save 171 16 Weekly Snap: Plugins for iSMS & HW Group, speeches for OSDC & CeBIT

Quick Tip: Testing Nagios Plugins

Sometimes when testing a Nagios Plugin on the command line, it’s useful to know the exit code.
You can always use echo $?, but that becomes tedious if you have to type it often.
Additionally you have to remember what the exit codes mean.

The following snippet adds a prompt that changes colour according to the exit code; 0 is green, 1 is yellow, 2 is red and 3 is grey. This makes it easy to see at a glance what the exit code was.

Add the following to a file e.g. debug.sh

export colormap=([0]=32 [1]=33 [2]=31 [3]=37)
export PS1='\[\e[${colormap[$?]}m\]\u@\h:\w\$\[\e[30m\] '

Then source it in .bashrc or on the command line with

source debug.sh

and enjoy.


nagios@localhost:~$ ./check_plugin 192.168.0.1
OK - 1824 bytes in 0.002 seconds
nagios@localhost:~$ ./check_plugin 192.168.0.2
Unable to open TCP socket
nagios@localhost:~$

share save 171 16 Quick Tip: Testing Nagios Plugins

OSMC Ticker: Nagios Plugins – New features and future projects

Foto 2 300x225 OSMC Ticker: Nagios Plugins   New features and future projects

Thomas Guyot-Sionnest is speaking about the history and future of the standard nagios plugins. Where we are and where we will go.

One of the things we will see in the future is “Advanced Configuration” of checks via .ini file. You may refer to a hostgroup within the configuration of a plugin. Furthermore there will be a plugin library. So it will be easier to release new plugins.

Additionally there is a new way to specify thresholds for warning or critical values that is meant to be much easier than the way we are used to.

share save 171 16 OSMC Ticker: Nagios Plugins   New features and future projects

OSMC Ticker: Entwicklung von SNMP Plugins

Gerade eben hat Martin Hefter mit seinem Vortrag “Entwicklung von SNMP Plugins mit Net::SNMP und Nagios::Plugin” einen Track der diesjährigen Open Source Monitoring Conference eröffnet.

Martin beschäftigt sich bereits seit vielen Jahren mit Nagios und hat bereits während seinem Studium einige Installation in großen Umgebung durchgeführt. Seit Februar 2008 arbeitet er nun für die Schenker Deutschland AG im Zentral-Hub in Friedewald als Leiter der EDV.

Da viele Plugins auf SNMP basieren und dieses Protokoll in verschiedenen Versionen der einzige Weg ist, um einen Großteil von Hardwarekomponenten zu überwachen, haben Pluginentwickler häufig mit SNMP bei der Pluginentwicklung zu tun.

Der Vortrag gibt einen guten Überblick über die Basis der Entwicklung mit Perl und Verwendung der zur Verfügung stehenden Module und Bibliotheken. Gerade mit Nagios::Plugin werden dem Entwickler viele Aufgaben zur richtigen Erstellung eines Nagios/Icinga-Plugins abgenommen und es bietet einen guten Leitfaden für eigene Lösungen und Weiterentwicklungen bestehender Implementierungen.

share save 171 16 OSMC Ticker: Entwicklung von SNMP Plugins