Seite wählen

NETWAYS Blog

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.

Bernd Erk
Bernd Erk
CEO

Bernd ist Geschäftsführer der NETWAYS Gruppe und verantwortet die Strategie und das Tagesgeschäft. Bei NETWAYS kümmert er sich eigentlich um alles, was andere nicht machen wollen oder können (meistens eher wollen). Darüber hinaus startete er früher das wöchentliche Lexware-Backup, welches er nun endlich automatisiert hat. So investiert er seine ganze Energie in den Rest der Truppe und versucht für kollektives Glück zu sorgen. In seiner Freizeit macht er mit sinnlosen Ideen seine Frau verrückt und verbündet sich dafür mit seinen beiden Söhnen und seiner Tochter.

Update für Starface check

Wir 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.

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!

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:~$

OSMC Ticker: Nagios Plugins – New features and future projects

OSMC: Thomas Guyot-Sionnest - Nagios Plugins
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.