Environment Monitoring 2011 4 Partial List of Sensor

advertisement
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
2011
2
Environment Monitoring
Partial List of Sensor
• Temperature
Application in a Corporate
Environment
( IT Sector )
• Humidity
Frequently Used
• Illumination
• Electrical Energy
• Air Quality /Gas
• Level & Leak
Moderately Used
• Position/Proximity
• Acoustic/Ultrasound
Rarely Used
• Pressure
2011
4
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)
2011
5
Esensors Products
Websensor Product Family
EM08 & EM01b Websensor
Measured Parameters
• Temperature
• Humidity
• Illumination
Add-on Modules
• Thermistor
• Battery Voltage
• Contact Closure
• Water Flooding
2011
7
Power Meter Product Family
PM21 & PM31 Power meter
Measured Parameters
• Voltage
• Current
• True Power
• Power Factor
• Apparent Power
• Reactive Power
• Harmonic Power
• Energy Consumption
2011
8
Application with Nagios
System Architecture
Hardware Architecture
Sensing
Element
Signal
Conditioning
Microcontroller
Unit
Ethernet / Wi-fi
Module
Software Architecture
Microcontroller Unit
Ethernet
Wi-fi
ARP
ICMP
IP
TCP
UDP
HTTP, SNMP,
DHCP, SMTP
HTTP Request
HTTP Response
Nagios Server
2011
10
Applications
PM21: Monitors
Power to UPS
EM01B: Monitors to
Server Room Lighting,
Temperature & Humidity
AQM: Monitors HVAC
Ducts for CO2 / O2
Nagios Server
EM08F:Monitors
Office Room
Humidity & Temperature
ES11: Monitors
Water Flooding
PM21: Controls
Office Lighting
2011
11
Application –
Simplified Plugin Execution
Start
PM21 Plugin
Architecture
Read <Host IP>
<Sensor> <Limits>
Write To Socket
Read Host
Data, Time
Process Data
YES
Send Alert
Turn Relay OFF
Threshold
Violation
Write To Socket
Relay Control
NO
Status OK
Turn Relay ON
Stop
Path: /---/nagios/libexec/check_pm21
2011
12
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_groups
powermeter-admins }
Service Definition & Thresholds: /---/nagios/etc/powermeters.cfg
define service{
use
powermeter-service
hostgroup_name
Powermeters
service_description PM21 True Power
check_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$
}
2011
13
Application – Nagios Host List
2011
14
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
2011
15
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
2011
16
End
www.eesensors.com
Download