-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.sensatronics.senturion.txt
119 lines (87 loc) · 4.8 KB
/
com.sensatronics.senturion.txt
1
<!-- Senturion Environmental Monitor Probe (com.sensatronics.senturion.txt) Custom Probe for InterMapper (http://www.intermapper.com) Please feel free to use this as a base for further development. 15 Oct 2007 Original version -reb 30 Sep 2008 Changed to use maxvars=1 because it got "tooBig" result -reb 5 Nov 2008 Added values for external probes -reb--><header> "type" = "custom-snmp" "package" = "com.sensatronics" "probe_name" = "senturion" "human_name" = "Senturion Environment Monitor" "version" = "1.1" "address_type" = "IP,AT" "port_number" = "161" "display_name" = "Senturion Environment Monitor" "flags" = "NOLINKS"</header><snmp-device-properties> maxvars="1"</snmp-device-properties>-- The <description> contains text that will be displayed in the probe configuration window. -- Describe the probe as much as necessary so that people will understand what it does and how it works.<description>\GB\Senturion Environment Monitor\P\The Senturion Environment Monitor from \u4=http://sensatronics.com\SensaTronics\p0\ is a hardware probe for monitoring the environment.The basic unit monitors temperature, humidity, and light levels. It can also be expanded by plugging in up to 8 additional sensors to measure other environmental values.This probe compares the received temperature values against the warning and alarm thresholds. It also compares the humidity against the high and low thresholds.</description>-- Parameters are user-settable values that the probe uses for its comparisons.-- Specify the default values here. The customer can change them and they will be retained for each device.<parameters> "HiTempAlarm" = "81" -- Hi temperature alarm "HiTempWarn" = "80" -- Hi temperature warning "LoTempWarn" = "50" -- Lo temperature warning "LoTempAlarm" = "40" -- Loi temperature alarm "HiHumidAlarm" = "45" -- Hi Humidity alarm "LoHumidAlarm" = "35" -- Lo Humidity alarm </parameters>-- SNMP values to be retrieved from the device, and -- Specify the variable name, its OID, a format (usually DEFAULT) and a short description.-- CALCULATION variables are computed from other values already retrieved from the device. <snmp-device-variables> tempLegend, 1.3.6.1.4.1.16174.1.1.5.2.1.1.0 , DEFAULT, "" humLegend, 1.3.6.1.4.1.16174.1.1.5.2.1.2.0 , DEFAULT, "" lightLegend, 1.3.6.1.4.1.16174.1.1.5.2.1.3.0 , DEFAULT, "" tempReading, 1.3.6.1.4.1.16174.1.1.5.2.2.1.0 , INTEGER, "temp - in tenths of seconds" humReading, 1.3.6.1.4.1.16174.1.1.5.2.2.2.0 , INTEGER, "humidity - in tenths of %RH" lightReading, 1.3.6.1.4.1.16174.1.1.5.2.2.3.0 , INTEGER, "light - in tenths of lux" probe1Name, 1.3.6.1.4.1.16174.1.1.5.2.1.1.0, DEFAULT, "" probe100Name, 1.3.6.1.4.1.16174.1.1.5.2.1.100.0, DEFAULT, "" probe300Name, 1.3.6.1.4.1.16174.1.1.5.2.1.300.0, DEFAULT, "" probe500Name, 1.3.6.1.4.1.16174.1.1.5.2.1.500.0, DEFAULT, "" probe1Value, 1.3.6.1.4.1.16174.1.1.5.2.2.1.0, DEFAULT, "" probe100Value, 1.3.6.1.4.1.16174.1.1.5.2.2.100.0, DEFAULT, "" probe300Value, 1.3.6.1.4.1.16174.1.1.5.2.2.300.0, DEFAULT, "" probe500Value, 1.3.6.1.4.1.16174.1.1.5.2.2.500.0, DEFAULT, "" tempVal, ($tempReading / 10), CALCULATION, "Temperature" humVal, ($humReading / 10), CALCULATION, "Humidity" lightVal, ($lightReading / 10), CALCULATION, "Light reading" val100, ($probe100Value / 10), CALCULATION, "Probe 100" val300, ($probe300Value / 10), CALCULATION, "Probe 300" val500, ($probe500Value / 10), CALCULATION, "Probe 500" uptime, sysUpTime.0, DEFAULT, "uptime" </snmp-device-variables>-- Specify rules for setting the device into Alarm or Warning state<snmp-device-thresholds> alarm: $tempVal > $HiTempAlarm "Temp very high (> $HiTempAlarm)" alarm: $tempVal < $LoTempAlarm "Temp very low (< $LoTempAlarm)" warning: $tempVal > $HiTempWarn "Temp high (> $HiTempWarn)" warning: $tempVal < $LoTempWarn "Temp low (< $LoTempWarn)" alarm: $humVal > $HiHumidAlarm "Humidity high (> $HiHumidAlarm)" alarm: $humVal < $LoHumidAlarm "Humidity low (< $LoHumidAlarm)"</snmp-device-thresholds>-- The <snmp-device-display> section specifies the text that will be appended -- to the device's Staus Window. <snmp-device-display>\B5\Senturion Environmental Monitor\0P\ \U2=http://${deviceaddress}\Senturion web page\P0\ \4\ ${eval:sprintf("%16s","$tempLegend")}:\0\ ${chartable:###.#:$tempVal} \3ig\degrees\pm0\ \4\ ${eval:sprintf("%16s",$humLegend)}:\0\ ${chartable:###.#:$humVal} \3ig\%RH\pm0\ \4\ ${eval:sprintf("%16s",$lightLegend)}:\0\ ${chartable:###.#:$lightVal} \3ig\Lux\pm0\ \4\$probe100Name:\0\ ${chartable:###.#:$val100} \3ig\degrees\pm0\ \4\$probe300Name:\0\ ${chartable:###.#:$val300} \3ig\degrees\pm0\ \4\$probe500Name:\0\ ${chartable:###.#:$val500} \3ig\degrees\pm0\ \4\ Uptime:\0\ $uptime</snmp-device-display>