ASNMTAP
view release on metacpan or search on metacpan
applications/tools/mysql/asnmtap-3.002.003-distributed_mysql-v5.0.x.sql view on Meta::CPAN
# ---------------------------------------------------------------------------------------------------------
# © Copyright 2003-2011 by Alex Peeters [alex.peeters@citap.be]
# ---------------------------------------------------------------------------------------------------------
# 2011/mm/dd, v3.002.003, asnmtap-3.002.003-distributed_mysql-v5.0.x.sql
# ---------------------------------------------------------------------------------------------------------
SET NAMES utf8;
SET SQL_MODE='';
create database if not exists `asnmtap`;
USE `asnmtap`;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO';
/*Table structure for table catalog */
DROP TABLE IF EXISTS `catalog`;
CREATE TABLE `catalog` (
`catalogID` varchar(5) NOT NULL default 'CID',
`catalogName` varchar(64) NOT NULL default '',
`catalogType` ENUM('central','federated','probe','distributed') NOT NULL DEFAULT 'probe',
`databaseFQDN` varchar(64) NOT NULL default 'localhost',
`databasePort` varchar(4) NOT NULL default '3306',
`lastEventsID` int(11) NOT NULL default '0',
`lastCommentsID` int(11) NOT NULL default '0',
`activated` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`catalogID`),
KEY `catalogName` (`catalogName`)
) ENGINE=InnoDB;
/* Data for the table catalog */
insert into `catalog` (`catalogID`,`catalogName`,`catalogType`,`databaseFQDN`,`databasePort`,`lastEventsID`,`lastCommentsID`,`activated`) values ('CID','Central System Enterprise','central','localhost','3306',0,0,1);
/*Table structure for table `collectorDaemons` */
DROP TABLE IF EXISTS `collectorDaemons`;
CREATE TABLE `collectorDaemons` (
`catalogID` varchar(5) NOT NULL default 'CID',
`collectorDaemon` varchar(64) NOT NULL default '',
`groupName` varchar(64) NOT NULL default '',
`serverID` varchar(11) NOT NULL default '',
`mode` char(1) NOT NULL default 'C',
`dumphttp` char(1) NOT NULL default 'N',
`status` char(1) NOT NULL default 'N',
`debugDaemon` char(1) NOT NULL default 'F',
`debugAllScreen` char(1) NOT NULL default 'F',
`debugAllFile` char(1) NOT NULL default 'F',
`debugNokFile` char(1) NOT NULL default 'F',
`activated` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`catalogID`,`collectorDaemon`),
KEY `catalogID` (`catalogID`),
KEY `serverID` (`serverID`),
KEY `collectorDaemon` (`collectorDaemon`),
KEY `collectorDaemons_ibfk_1` (`catalogID`,`serverID`),
CONSTRAINT `collectorDaemons_ibfk_1` FOREIGN KEY (`catalogID`, `serverID`) REFERENCES `servers` (`catalogID`, `serverID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `collectorDaemons` */
insert into `collectorDaemons` (`catalogID`,`collectorDaemon`,`groupName`,`serverID`,`mode`,`dumphttp`,`status`,`debugDaemon`,`debugAllScreen`,`debugAllFile`,`debugNokFile`,`activated`) values ('CID','asnmtap01','Admin Collector [asnmtap01]','asnmtap...
insert into `collectorDaemons` (`catalogID`,`collectorDaemon`,`groupName`,`serverID`,`mode`,`dumphttp`,`status`,`debugDaemon`,`debugAllScreen`,`debugAllFile`,`debugNokFile`,`activated`) values ('CID','asnmtap02','Admin Collector [asnmtap02]','asnmtap...
( run in 2.699 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )