17
ironment Monitoring with Nag Arun Ramanathan Esensors Inc [email protected]

Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

  • Upload
    nagios

  • View
    1.634

  • Download
    3

Embed Size (px)

DESCRIPTION

Arun Ramanathans presentation on environmental monitoring with Nagios. The presentation was given during the Nagios World Conference North America held Sept 27-29th, 2011 in Saint Paul, MN. For more information on the conference (including photos and videos), visit: http://go.nagios.com/nwcna

Citation preview

Page 1: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

Environment Monitoring with Nagios

Arun Ramanathan

Esensors Inc

[email protected]

Page 2: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

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

Page 3: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

Environment Monitoring

Page 4: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

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 )

Page 5: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

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)

Page 6: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

Esensors Products

Page 7: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

2011 7

Websensor Product Family

Measured Parameters

• Temperature

• Humidity

• Illumination

Add-on Modules

• Thermistor

• Battery Voltage

• Contact Closure

• Water Flooding

EM08 & EM01b Websensor

Page 8: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

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

Page 9: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

Application with Nagios

Page 10: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring 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

Page 11: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

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

Page 12: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

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

Page 13: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

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

Page 14: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

2011 14

Application – Nagios Host List

Page 15: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

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

Page 16: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

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

Page 17: Nagios Conference 2011 - Arun Ramanathan - Environment Monitoring With Nagios

End

www.eesensors.com