Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
icinga
:
production
>
icinga-nagtrap
> nagtrap-1.5.0_dbschema.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagtrap-1.5.0_dbschema.patch of Package icinga-nagtrap
--- db/nagtrap-1.5.sql.orig 2013-11-02 12:27:07.784398490 +0100 +++ db/nagtrap-1.5.sql 2013-11-04 15:41:22.068566997 +0100 @@ -41,7 +41,7 @@ `formatline` varchar(255) DEFAULT NULL, `trapread` int(11) DEFAULT '0', PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1820395 ; +) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `snmptt` @@ -71,7 +71,7 @@ `formatline` varchar(255) DEFAULT NULL, `trapread` int(11) DEFAULT '0', PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=131 ; +) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `snmptt_archive` @@ -92,7 +92,7 @@ `jobtime` int(50) NOT NULL, `message` varchar(255) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; +) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `snmptt_jobs` @@ -114,7 +114,7 @@ `total_translated` bigint(20) DEFAULT NULL, `total_ignored` bigint(20) DEFAULT NULL, `total_unknown` bigint(20) DEFAULT NULL -) ENGINE=MyISAM DEFAULT CHARSET=latin1; +) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `snmptt_statistics` @@ -128,7 +128,7 @@ -- CREATE TABLE IF NOT EXISTS `snmptt_unknown` ( - `id` mediumint(9) NOT NULL, + `id` mediumint(9) NOT NULL AUTO_INCREMENT, `trapoid` varchar(100) DEFAULT NULL, `enterprise` varchar(100) DEFAULT NULL, `community` varchar(20) DEFAULT NULL, @@ -137,5 +137,6 @@ `uptime` varchar(20) DEFAULT NULL, `traptime` varchar(30) DEFAULT NULL, `formatline` varchar(255) DEFAULT NULL, - `trapread` int(11) DEFAULT '0' -) ENGINE=MyISAM DEFAULT CHARSET=latin1; + `trapread` int(11) DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;