title: Server Database Monitoring
body: <p>I am doing a project of Internet of things. I got a raspberry pi with various sensors, this raspberry write data on a SQL Server Database every minute.
  I have a platform in ruby on rails to users see the data.
  I want to create a new feature, users can create multiple alarms. I got a form in a page of application to users define alarms. </p>
  
  <p>Example: User set maximum temperature in Friday to 23º. If temperature up to 23º in Friday the user receive a message (this is a easy alarm can be more difficult).</p>
  
  <p>How can I do this?</p>
  
  <p>I don't want to create triggers in SQL sever cause the querys can be hard (I dont have experience on SQL Server).</p>