-- phpMyAdmin SQL Dump
-- version 3.5.8.1
-- http://www.phpmyadmin.net
--
-- Host: PRIFMONDB01
-- Generation Time: May 12, 2014 at 09:11 AM
-- Server version: 5.5.31-30.3
-- PHP Version: 5.3.3

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `zabbix`
--

-- --------------------------------------------------------

--
-- Table structure for table `service_alarms`
--

CREATE TABLE IF NOT EXISTS `service_alarms` (
  `servicealarmid` bigint(20) unsigned NOT NULL,
  `serviceid` bigint(20) unsigned NOT NULL,
  `clock` int(11) NOT NULL DEFAULT '0',
  `value` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`servicealarmid`),
  KEY `service_alarms_1` (`serviceid`,`clock`),
  KEY `service_alarms_2` (`clock`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `service_alarms`
--

INSERT INTO `service_alarms` (`servicealarmid`, `serviceid`, `clock`, `value`) VALUES
(6429, 42, 1393661200, 2),
(6430, 42, 1393667816, 0),
(6431, 42, 1393747521, 2),
(6432, 42, 1393754139, 0),
(6441, 42, 1393823291, 1),
(6442, 42, 1393840696, 0),
(6491, 42, 1393920413, 2),
(6492, 42, 1393927031, 0),
(6541, 42, 1394006825, 2),
(6542, 42, 1394013434, 0),
(6575, 42, 1394045664, 1),
(6576, 42, 1394045965, 0),
(6581, 42, 1394093196, 2),
(6582, 42, 1394099810, 0),
(6613, 42, 1394179543, 2),
(6614, 42, 1394186157, 0),
(6673, 42, 1394266173, 2),
(6674, 42, 1394272778, 0),
(6683, 42, 1394348868, 0),
(6686, 42, 1394355477, 0),
(6699, 42, 1394413669, 0),
(6700, 42, 1394441776, 0),
(6773, 42, 1394521531, 2),
(6774, 42, 1394528141, 0),
(6813, 42, 1394608177, 2),
(6814, 42, 1394614780, 0),
(6867, 42, 1394694514, 2),
(6868, 42, 1394701125, 0),
(6905, 42, 1394780896, 2),
(6906, 42, 1394787502, 0),
(6923, 42, 1394838957, 1),
(6924, 42, 1394839258, 0),
(6927, 42, 1394867222, 2),
(6928, 42, 1394873828, 0),
(6969, 42, 1394953527, 2),
(6970, 42, 1394960138, 0),
(6979, 42, 1395018469, 2),
(6980, 42, 1395046714, 0),
(7027, 42, 1395126388, 2),
(7028, 42, 1395132993, 0),
(7083, 42, 1395212708, 2),
(7084, 42, 1395219316, 0);

--
-- Constraints for dumped tables
--

--
-- Constraints for table `service_alarms`
--
ALTER TABLE `service_alarms`
  ADD CONSTRAINT `c_service_alarms_1` FOREIGN KEY (`serviceid`) REFERENCES `services` (`serviceid`) ON DELETE CASCADE;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
