environment monitoring with nagios
DESCRIPTION
Environment Monitoring with Nagios. Arun Ramanathan. [email protected]. 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 - PowerPoint PPT PresentationTRANSCRIPT
Environment Monitoring with Nagios
Arun Ramanathan
Esensors Inc
2011 2
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
Environment Monitoring
2011 4
Partial List of Sensor
• Temperature
• Humidity
• Illumination
• Electrical Energy
• Air Quality /Gas
• Level & Leak
• Position/Proximity
• Acoustic/Ultrasound
• Pressure
Frequently Used
Moderately Used
Rarely Used
Application in a CorporateEnvironment ( IT Sector )
2011 5
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)
Esensors Products
2011 7
Websensor Product Family
Measured Parameters
• Temperature
• Humidity
• Illumination
Add-on Modules
• Thermistor
• Battery Voltage
• Contact Closure
• Water Flooding
EM08 & EM01b Websensor
2011 8
Power Meter Product Family
Measured Parameters
• Voltage
• Current
• True Power
• Power Factor
• Apparent Power
• Reactive Power
• Harmonic Power
• Energy Consumption
PM21 & PM31 Power meter
Application with Nagios
2011 10
System Architecture
Sensing ElementSensing Element
Signal Conditioning
Signal Conditioning
MicrocontrollerUnit
MicrocontrollerUnit
Ethernet / Wi-fiModule
Ethernet / Wi-fiModule
Hardware Architecture
EthernetWi-fi
EthernetWi-fi
ARPARP ICMPIP
ICMPIP
TCPUDPTCPUDP
HTTP, SNMP, DHCP, SMTPHTTP, SNMP, DHCP, SMTP
Software Architecture
HTTP Request HTTP Request
HTTP Response
Microcontroller Unit
Nagios Server
2011 11
Applications
Nagios Server
PM21: MonitorsPower to UPS
EM08F:Monitors Office Room
Humidity & Temperature
EM01B: Monitors to Server Room Lighting,
Temperature & Humidity
PM21: Controls Office Lighting
AQM: Monitors HVAC Ducts for CO2 / O2
ES11: Monitors Water Flooding
2011 12
Application – Simplified Plugin Execution
StartStart
Write To SocketWrite To Socket
Read Host Data, TimeRead Host Data, Time
Read <Host IP> <Sensor> <Limits>
Read <Host IP> <Sensor> <Limits>
Threshold Violation
Threshold Violation
Process DataProcess Data
Status OKStatus OKSend AlertSend AlertYES NO
Write To SocketRelay Control
Write To SocketRelay ControlTurn Relay
OFFTurn Relay ON
StopStop
PM21 Plugin Architecture
Path: /---/nagios/libexec/check_pm21
2011 13
Application – Config File Definitions
define host{ use powermeter-host
host_name powermeter1 alias powermeter1 address 192.168.1.107contact_groups powermeter-admins }
HOST Definition: /---/nagios/etc/powermeters.cfg
define service{ use powermeter-service hostgroup_name Powermeters service_description PM21 True Powercheck_command check_PM21_ptrue!100!500! 20!1000 }
Service Definition & Thresholds: /---/nagios/etc/powermeters.cfg
define command{ command_name check_PM21_ptrue command_line $USER1$/check_pm21 $HOSTADDRESS$ A $ARG1$ $ARG2$ $ARG3$ $ARG4$ }
Command Definition : /---/nagios/etc/esensors.cfg
2011 14
Application – Nagios Host List
2011 15
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 16
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