Seite wählen

Neues Check-Plugin für Gude Sensoren

von | Dez 6, 2011 | Hardware, Monitoring & Observability

Die Gude Sensoren, die Sie bei uns im Shop bekommen können, haben ein neues Plugin bekommen.
Es werden folgende Geräte zur Überwachung von Temperatur, Luftfeuchtigkeit und Strom/Spannung unterstützt:

  • expert net control 2101/2151
  • expert net control 2120 2100/2150
  • expert sensor box 7212 (noch nicht verfügbar)
  • Gude Stromleisten inkl. Verbrauchsmessung (noch nicht verfügbar)


Das Plugin (check_gude.pl) für Nagios/Icinga ist hier zu finden.
Beispiele für den Aufruf des Plugins:
check_gude.pl -H sensorbox -k Temp1 -w 15 -c 25
may give you:
expert sensor box 7212: WARNING – WARNING: Temp1=22.9C (w:15, c:25)
You may check multiple values at a time:
check_gude.pl -H sensorbox -k Temp1 -w 15 -c 25 -k Hygro1 -w 10 -c 20
with the following result:
expert sensor box 7212: CRITICAL – CRITICAL: Hygro1=39.1% (w:10, c:20) WARNING: Temp1=22.9C (w:15, c:25)
Further on you may rename keys:
check_gude.pl -H sensorbox -k Temp1 -w 15 -c 25 -k Hygro1 -w 10 -c 20 -l Humidity
with leads to this:
expert sensor box 7212: CRITICAL – CRITICAL: Humidity=39% (w:10, c:20)
You can give it an [other] unit
check_gude.pl -H sensorbox -k Temp1 -w 15 -c 25 -u °
may give you:
expert sensor box 7212: WARNING – WARNING: Temp1=22.9° (w:15, c:25)
And you can multiply it by a factor:
check_gude.pl -H sensorbox -k Temp1 -w 15 -c 25 -u “ -f 1
may give you:
expert sensor box 7212: CRITICAL – CRITICAL: Temp1=229 (w:15, c:25)
note: because there is a default factor of 0.1 for the temperature,
a factor of 1 leads to this (SNMP gives tenth of a degree often).
Some more examples:
check_gude.pl -H netcontrol -k Temp1 -w 11 -c 21 -k Temp2 -w 12 -c 22
expert net control 2151: CRITICAL – CRITICAL: Temp1=-999.9C (w:11, c:21) WARNING: Temp2=21C (w:12, c:22)
there is no sensor connected for Temp1.
Test if there is something connected to the Input1:
check_gude.pl -H nc2i2o -k Input1 -w 1: -c 1:
expert net control 2i2o 2100/2150: OK – OK: Input1=1 (w:1:, c:1:)
check_gude.pl -H nc2i2o -k Input1 -w 1: -c 1:
expert net control 2i2o 2100/2150: CRITICAL – CRITICAL: Input1=0 (w:1:, c:1:)
Test if there is nothing connected to the Input1:
check_gude.pl -H nc2i2o -k Input1 -w :0 -c :0
expert net control 2i2o 2100/2150: OK – OK: Input1=0 (w::0, c::0)
check_gude.pl -H nc2i2o -k Input1 -w :0 -c :0
expert net control 2i2o 2100/2150: CRITICAL – CRITICAL: Input1=1 (w::0, c::0)
Everything between 215V and 235V is OK:
check_gude.pl -H powercontrol -k Voltage1 -w 215:235 -c 210:240
Expert Power Control 1100: OK – OK: Voltage1=230V (w:215:235, c:210:240)
Test port state:
check_gude.pl -H powercontrol -k PortState1 -w :0 -c :0
Expert Power Control 1100: CRITICAL – CRITICAL: PortState1=1 (0=off, 1=on) (w::0, c::0)

0 Kommentare

Trackbacks/Pingbacks

  1. Weekly Snap: inGraph release, Gude hardware, IPv6 & DKIM tips › NETWAYS Blog - [...] the topic of releases, Birger shared a new check plugin for Gude sensors to go with the new temperature,…

Einen Kommentar abschicken

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Mehr Beiträge zum Thema Hardware | Monitoring & Observability