raX Lead Developer
Joined: 13 Oct 2001 Posts: 2234 Location: Carlisle, PA
|
Posted: Mon Oct 27, 2003 8:17 am Post subject: |
|
|
The version of cactid in CVS has been modified to use the new fields in the 'host' table. It will segfault unless you are using the following table structure for 'host':
| Code: | CREATE TABLE host (
id mediumint(8) unsigned NOT NULL auto_increment,
host_template_id mediumint(8) unsigned NOT NULL default '0',
description varchar(150) NOT NULL default '',
hostname varchar(250) default NULL,
snmp_community varchar(100) default NULL,
snmp_version tinyint(1) unsigned NOT NULL default '1',
snmp_username varchar(50) default NULL,
snmp_password varchar(50) default NULL,
snmp_port mediumint(5) unsigned NOT NULL default '161',
snmp_timeout mediumint(8) unsigned NOT NULL default '500',
disabled char(2) default NULL,
status tinyint(2) NOT NULL default '0',
PRIMARY KEY (id),
UNIQUE KEY id (id),
KEY id_2 (id)
) TYPE=MyISAM; |
-Ian |
|