TheWitness wrote:That's odd. Do this:
Are you using DSSTats?
TheWitness
No DSSTats:
mysql> show create table thold_data;
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table |
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| thold_data | CREATE TABLE `thold_data` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(100) default NULL,
`rra_id` int(11) NOT NULL default '0',
`data_id` int(11) NOT NULL default '0',
`graph_id` int(11) NOT NULL default '0',
`graph_template` int(11) NOT NULL default '0',
`data_template` int(11) NOT NULL default '0',
`thold_hi` varchar(100) default NULL,
`thold_low` varchar(100) default NULL,
`thold_fail_trigger` int(10) unsigned default NULL,
`thold_fail_count` int(11) NOT NULL default '0',
`time_hi` varchar(100) default NULL,
`time_low` varchar(100) default NULL,
`time_fail_trigger` int(12) NOT NULL default '1',
`time_fail_length` int(12) NOT NULL default '1',
`thold_warning_hi` varchar(100) default NULL,
`thold_warning_low` varchar(100) default NULL,
`thold_warning_fail_trigger` int(10) unsigned default NULL,
`thold_warning_fail_count` int(11) NOT NULL default '0',
`time_warning_hi` varchar(100) default NULL,
`time_warning_low` varchar(100) default NULL,
`time_warning_fail_trigger` int(12) NOT NULL default '1',
`time_warning_fail_length` int(12) NOT NULL default '1',
`thold_alert` int(1) NOT NULL default '0',
`thold_enabled` enum('on','off') NOT NULL default 'on',
`thold_type` int(3) NOT NULL default '0',
`bl_ref_time_range` int(10) unsigned default NULL,
`bl_pct_down` varchar(100) default NULL,
`bl_pct_up` varchar(100) default NULL,
`bl_fail_trigger` int(10) unsigned default NULL,
`bl_fail_count` int(11) unsigned default NULL,
`bl_alert` int(2) NOT NULL default '0',
`lastread` varchar(100) default NULL,
`lasttime` timestamp NOT NULL default '0000-00-00 00:00:00',
`oldvalue` varchar(100) default NULL,
`repeat_alert` int(10) unsigned default NULL,
`notify_default` enum('on','off') default NULL,
`notify_extra` varchar(512) default NULL,
`notify_warning_extra` varchar(512) default NULL,
`notify_warning` int(10) unsigned default NULL,
`notify_alert` int(10) unsigned default NULL,
`host_id` int(10) default NULL,
`syslog_priority` int(2) NOT NULL default '3',
`data_type` int(12) NOT NULL default '0',
`cdef` int(11) NOT NULL default '0',
`percent_ds` varchar(64) NOT NULL default '',
`expression` varchar(70) NOT NULL default '',
`template` int(11) NOT NULL default '0',
`template_enabled` char(3) NOT NULL default '',
`tcheck` int(1) NOT NULL default '0',
`exempt` char(3) NOT NULL default 'off',
`restored_alert` char(3) NOT NULL default 'off',
`bl_thold_valid` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
KEY `host_id` (`host_id`),
KEY `rra_id` (`rra_id`),
KEY `data_id` (`data_id`),
KEY `graph_id` (`graph_id`),
KEY `template` (`template`),
KEY `thold_enabled` (`thold_enabled`),
KEY `template_enabled` (`template_enabled`),
KEY `tcheck` (`tcheck`)
) ENGINE=MyISAM AUTO_INCREMENT=18500 DEFAULT CHARSET=latin1 COMMENT='Threshold data' |
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)