Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hardware:temper [2019/12/10 15:46]
Robbie Ferguson
hardware:temper [2020/06/01 20:33] (current)
Robbie Ferguson
Line 1: Line 1:
 ====TEMPer==== ====TEMPer====
  
-{{ :​hardware:​51sak_walnl._sl1000_.jpg?​nolink&​400|}}The TEMPer is an affordable (under $20) USB digital thermometer that accurately senses temperatures from -55 to +125 degrees Celsius / -67 to +257 degrees Fahrenheit. This is an ideal addition to the server room to generate alerts should temperatures fall outside a safe threshold.+{{ :​hardware:​51sak_walnl._sl1000_.jpg?​nolink&​400|}}The TEMPer is an affordable (starting at under $20) USB digital thermometer that accurately senses temperatures from -55 to +125 degrees Celsius / -67 to +257 degrees Fahrenheit. This is an ideal addition to the server room to generate alerts should temperatures fall outside a safe threshold.
  
 TEMPer devices work on all NEMS Linux hardware platforms. It will also work on the NEMS Linux virtual appliance, however you must connect the hardware to the virtual machine, which is beyond the scope of this documentation (please refer to the documentation for your hypervisor). TEMPer devices work on all NEMS Linux hardware platforms. It will also work on the NEMS Linux virtual appliance, however you must connect the hardware to the virtual machine, which is beyond the scope of this documentation (please refer to the documentation for your hypervisor).
Line 13: Line 13:
 ===Setting up check_temper=== ===Setting up check_temper===
  
-Simply add //check_temper// as a service to your NEMS host, having connected the TEMPer device to your NEMS Server'​s USB port. You may specify your temperature thresholds in either degrees Celsius or Fahrenheit. NEMS will automatically determine which you are using.+Simply add //check_temper_temp//​ or //​check_temper_hum// as a service to your NEMS host, having connected the TEMPer device to your NEMS Server'​s USB port. You may specify your temperature thresholds in either degrees Celsius or Fahrenheit. NEMS will automatically determine which you are using
 + 
 +Sample check commands are already included in NEMS Linux 1.5.2+ in the demo config. If you're deploying a new NEMS Server, simply plug in your TEMPer device and these checks will automatically detect it and begin registering data.
  
 ===Buy TEMPer Thermal Sensor=== ===Buy TEMPer Thermal Sensor===
  
   * [[https://​www.amazon.com/​s/​ref=as_li_ss_tl?​k=temper+usb+sensor&​ref=nb_sb_noss&​linkCode=sl2&​tag=nems-linux-20&​linkId=5a736a3096cfce9a9e27e033115b3080&​language=en_US|Amazon.com]]   * [[https://​www.amazon.com/​s/​ref=as_li_ss_tl?​k=temper+usb+sensor&​ref=nb_sb_noss&​linkCode=sl2&​tag=nems-linux-20&​linkId=5a736a3096cfce9a9e27e033115b3080&​language=en_US|Amazon.com]]
-  * [[https://​www.amazon.ca/​s/​ref=as_li_ss_tl?​k=temper+usb+sensor&​ref=nb_sb_noss_2&​linkCode=sl2&​tag=nemslinux-20&​linkId=5455f0c524db94fff5d7a43841d61df8&​language=en_CA|Amazon.ca]] 
   * [[https://​www.amazon.co.uk/​s/​ref=as_li_ss_tl?​k=temper+usb+sensor&​ref=nb_sb_noss&​linkCode=sl2&​tag=nemslinux-21&​linkId=0d3af2c3db4e8e4d27cd6420364bb94b&​language=en_GB|Amazon.co.uk]]   * [[https://​www.amazon.co.uk/​s/​ref=as_li_ss_tl?​k=temper+usb+sensor&​ref=nb_sb_noss&​linkCode=sl2&​tag=nemslinux-21&​linkId=0d3af2c3db4e8e4d27cd6420364bb94b&​language=en_GB|Amazon.co.uk]]
 +  * [[http://​www.pcsensor.com/​usb-temperature-humidity.html|From the Manufacturer]]
  
 ===Supported Devices=== ===Supported Devices===
Line 25: Line 27:
 Support is provided via [[https://​github.com/​urwen/​temper|temper]]. Support is provided via [[https://​github.com/​urwen/​temper|temper]].
  
-Currently, ​temperature data is supportedHumidity ​sensors ​will be supported in a future update.+NEMS Linux 1.5.x supports TEMPer ​temperature data. NEMS Linux 1.6+ also includes support for humidity ​sensors.
  
 ^ Product ^ Id ^ Firmware ^ Temperature ^ Humidity ^ Sensor Location ^ Notes ^ ^ Product ^ Id ^ Firmware ^ Temperature ^ Humidity ^ Sensor Location ^ Notes ^
Line 48: Line 50:
 ===Adding to your NEMS NConf=== ===Adding to your NEMS NConf===
  
-//check_temper// allows ​you to add TEMPer devices to your NEMS Server. The check has 4 thresholds: Critical Low, Warning Low, Warning High, Critical High. The number you enter may be in //either// degrees Celsius or Fahrenheit. The system will automatically detect which you are using. The OK temperature will be any temperature that falls between Warning Low and Warning High. This way, you can receive alerts from your NEMS Server should the room temperature be either too cold or too hot.+TEMPer check commands are already pre-configured in the NEMS Linux 1.5.2+ demo data. If you have removed them, or are using an older version of NEMS Linux, you can add the checks yourself. 
 + 
 +//check_temper_temp// (temperature check) and //​check_temper_hum//​ (humidity check) allow you to add TEMPer devices to your NEMS Server. The check has 4 thresholds: Critical Low, Warning Low, Warning High, Critical High. The number you enter may be in //either// degrees Celsius or Fahrenheit ​in the case of //​check_temp_temp//​. The system will automatically detect which you are using. The OK temperature will be any temperature that falls between Warning Low and Warning High. This way, you can receive alerts from your NEMS Server should the room temperature be either too cold or too hot. For //​check_temp_hum//,​ the thresholds are in percent (just enter the number, not the percent sign).
  
 ===Configuring NEMS Linux 1.5=== ===Configuring NEMS Linux 1.5===
Line 61: Line 65:
   - Submit   - Submit
   - Add //​check_temper//​ as normal.   - Add //​check_temper//​ as normal.
 +
 +===Humidity Sensor Support===
 +
 +Sample command line for humidity sensor:
 +
 +/​usr/​lib/​nagios/​plugins/​check_temper 20 35 65 80 hum
 +
 +===Check Commands===
 +
 +As of NEMS Linux 1.5.2, both the temperature and humidity sensors are supported, and check commands are included in NEMS NConf.
 +
 +  * check_temper_temp
 +  * check_temper_hum
 +
 +===Calibration===
 +
 +As of NEMS Linux 1.6, both the thermal sensor and humidity sensor can be calibrated within NEMS SST to ensure the highest level of accuracy.
  • hardware/temper.1576010766.txt.gz
  • Last modified: 2019/12/10 15:46
  • by Robbie Ferguson