[Nagios-checkins] ndoutils/db mysql-upgrade-1.4b8.sql, 1.1, 1.2 mysql.sql, 1.6, 1.7

Hendrik Bäcker hendrikb at users.sourceforge.net
Thu Aug 27 09:38:45 UTC 2009


Update of /cvsroot/nagios/ndoutils/db
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv27967/db

Modified Files:
	mysql-upgrade-1.4b8.sql mysql.sql 
Log Message:
Support for 8192 chars of performancedata


Index: mysql-upgrade-1.4b8.sql
===================================================================
RCS file: /cvsroot/nagios/ndoutils/db/mysql-upgrade-1.4b8.sql,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mysql-upgrade-1.4b8.sql	1 Jul 2009 19:04:12 -0000	1.1
--- mysql-upgrade-1.4b8.sql	27 Aug 2009 09:38:43 -0000	1.2
***************
*** 9,10 ****
--- 9,14 ----
  ALTER TABLE `nagios_notifications` ADD COLUMN `long_output` varchar(8192) NOT NULL default '' AFTER `output`;
  
+ ALTER TABLE `nagios`.`nagios_hostchecks` MODIFY COLUMN `perfdata` VARCHAR(8192) NULL;
+ ALTER TABLE `nagios`.`nagios_hoststatus` MODIFY COLUMN `perfdata` VARCHAR(8192) NULL;
+ ALTER TABLE `nagios`.`nagios_servicechecks` MODIFY COLUMN `perfdata` VARCHAR(8192) NULL;
+ ALTER TABLE `nagios`.`nagios_servicestatus` MODIFY COLUMN `perfdata` VARCHAR(8192) NULL;

Index: mysql.sql
===================================================================
RCS file: /cvsroot/nagios/ndoutils/db/mysql.sql,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** mysql.sql	1 Jul 2009 19:04:12 -0000	1.6
--- mysql.sql	27 Aug 2009 09:38:43 -0000	1.7
***************
*** 503,507 ****
    `output` varchar(255) character set latin1 NOT NULL default '',
    `long_output` varchar(8192) NOT NULL default '',
!   `perfdata` varchar(255) character set latin1 NOT NULL default '',
    PRIMARY KEY  (`hostcheck_id`),
    UNIQUE KEY `instance_id` (`instance_id`,`host_object_id`,`start_time`,`start_time_usec`)
--- 503,507 ----
    `output` varchar(255) character set latin1 NOT NULL default '',
    `long_output` varchar(8192) NOT NULL default '',
!   `perfdata` varchar(8192) character set latin1 NOT NULL default '',
    PRIMARY KEY  (`hostcheck_id`),
    UNIQUE KEY `instance_id` (`instance_id`,`host_object_id`,`start_time`,`start_time_usec`)
***************
*** 696,700 ****
    `output` varchar(255) character set latin1 NOT NULL default '',
    `long_output` varchar(8192) NOT NULL default '',
!   `perfdata` varchar(255) character set latin1 NOT NULL default '',
    `current_state` smallint(6) NOT NULL default '0',
    `has_been_checked` smallint(6) NOT NULL default '0',
--- 696,700 ----
    `output` varchar(255) character set latin1 NOT NULL default '',
    `long_output` varchar(8192) NOT NULL default '',
!   `perfdata` varchar(8192) character set latin1 NOT NULL default '',
    `current_state` smallint(6) NOT NULL default '0',
    `has_been_checked` smallint(6) NOT NULL default '0',
***************
*** 1003,1007 ****
    `output` varchar(255) character set latin1 NOT NULL default '',
    `long_output` varchar(8192) NOT NULL default '',
!   `perfdata` varchar(255) character set latin1 NOT NULL default '',
    PRIMARY KEY  (`servicecheck_id`),
    KEY `instance_id` (`instance_id`),
--- 1003,1007 ----
    `output` varchar(255) character set latin1 NOT NULL default '',
    `long_output` varchar(8192) NOT NULL default '',
!   `perfdata` varchar(8192) character set latin1 NOT NULL default '',
    PRIMARY KEY  (`servicecheck_id`),
    KEY `instance_id` (`instance_id`),
***************
*** 1194,1198 ****
    `output` varchar(255) character set latin1 NOT NULL default '',
    `long_output` varchar(8192) NOT NULL default '',
!   `perfdata` varchar(255) character set latin1 NOT NULL default '',
    `current_state` smallint(6) NOT NULL default '0',
    `has_been_checked` smallint(6) NOT NULL default '0',
--- 1194,1198 ----
    `output` varchar(255) character set latin1 NOT NULL default '',
    `long_output` varchar(8192) NOT NULL default '',
!   `perfdata` varchar(8192) character set latin1 NOT NULL default '',
    `current_state` smallint(6) NOT NULL default '0',
    `has_been_checked` smallint(6) NOT NULL default '0',





More information about the Nagios-commits mailing list