170 likes | 184 Views
Environment Monitoring with Nagios. Arun Ramanathan. aram@eesensors.com. Esensors Inc. Agenda. Environment Monitoring Partial List of Sensors Methods of Data Acquisition Esensors Products Websensor family Power meter family Application with Nagios System Architecture Applications
E N D
Environment Monitoring with Nagios Arun Ramanathan aram@eesensors.com Esensors Inc
Agenda Environment Monitoring Partial List of Sensors Methods of Data Acquisition Esensors Products Websensor family Power meter family Application with Nagios System Architecture Applications Advantages Future Goals
Partial List of Sensor Application in a CorporateEnvironment ( IT Sector ) • Temperature • Humidity • Illumination • Electrical Energy • Air Quality /Gas • Level & Leak • Position/Proximity • Acoustic/Ultrasound • Pressure Frequently Used Moderately Used Rarely Used
Methods of Data Acquisition Wired Serial RS232 USB Ethernet IEEE802.3 (10BaseT & 100BaseT) Wireless Subnetwork access protocol SNAP 433 MHz ZigBee 802.15.4 standard 6loWPAN Bluetooth Wi-Fi 802.11 standard Cellular Network (GSM/CDMA)
Websensor Product Family EM08 & EM01b Websensor Measured Parameters • Temperature • Humidity • Illumination Add-on Modules • Thermistor • Battery Voltage • Contact Closure • Water Flooding
Power Meter Product Family PM21 & PM31 Power meter Measured Parameters • Voltage • Current • True Power • Power Factor • Apparent Power • Reactive Power • Harmonic Power • Energy Consumption
System Architecture Hardware Architecture Sensing Element Signal Conditioning MicrocontrollerUnit Ethernet / Wi-fiModule Software Architecture Microcontroller Unit Ethernet Wi-fi ARP ICMPIP TCPUDP HTTP, SNMP, DHCP, SMTP HTTP Request HTTP Response Nagios Server
Applications PM21: MonitorsPower to UPS EM01B: Monitors to Server Room Lighting, Temperature & Humidity AQM: Monitors HVAC Ducts for CO2 / O2 ES11: Monitors Water Flooding Nagios Server EM08F:Monitors Office Room Humidity & Temperature PM21: Controls Office Lighting
Application – Simplified Plugin Execution Start PM21 Plugin Architecture Read <Host IP> <Sensor> <Limits> Write To Socket Read Host Data, Time Process Data Threshold Violation YES NO Send Alert Status OK Write To SocketRelay Control Turn Relay ON Turn Relay OFF Stop Path: /---/nagios/libexec/check_pm21
Application – Config File Definitions HOST Definition: /---/nagios/etc/powermeters.cfg define host{ use powermeter-host host_name powermeter1 alias powermeter1 address 192.168.1.107 contact_groupspowermeter-admins } Service Definition & Thresholds: /---/nagios/etc/powermeters.cfg define service{ use powermeter-service hostgroup_namePowermetersservice_description PM21 True Powercheck_command check_PM21_ptrue!100!500! 20!1000 } Command Definition : /---/nagios/etc/esensors.cfg define command{ command_name check_PM21_ptrue command_line $USER1$/check_pm21 $HOSTADDRESS$ A $ARG1$ $ARG2$ $ARG3$ $ARG4$ }
Advantages Integrates into your existing network & Nagios server Extends the monitoring capability to Nagios Helps maintain a healthy office environment Prevents server crash due to external factors than cant be detected by the sensors in Computer Monitors voltage fluctuation that can affect sensitive equipment Optimize your organization’s energy demands Enables Remote monitoring
Future Goals Integration of HVAC, fire, security and other building services Deploy Smart Sensors in corporate & home environment to optimize energy consumption Monitor resource utilization and provide statistical data to improve budget management
End www.eesensors.com