Commit d4b622f3 authored by Kirk Webb's avatar Kirk Webb

Table additions to support slothd/idle collection: node_idlestats, iface_counters.

parent 88f2afaa
......@@ -236,6 +236,20 @@ CREATE TABLE groups (
KEY unix_gid (unix_gid)
) TYPE=MyISAM;
#
# Table structure for table 'iface_counters'
#
CREATE TABLE iface_counters (
node_id varchar(10) NOT NULL default '',
tstamp datetime NOT NULL default '0000-00-00 00:00:00',
mac varchar(12) NOT NULL default '000000000000',
ipkts int NOT NULL default '0',
opkts int NOT NULL default '0',
PRIMARY KEY (node_id, tstamp, mac)
) TYPE = MyISAM;
#
# Table structure for table 'images'
#
......@@ -372,6 +386,21 @@ CREATE TABLE next_reserve (
PRIMARY KEY (node_id)
) TYPE=MyISAM;
#
# Table structure for table 'node_idlestats'
#
CREATE TABLE node_idlestats (
node_id varchar(10) NOT NULL default '',
tstamp datetime NOT NULL default '0000-00-00 00:00:00',
last_tty datetime NOT NULL default '0000-00-00 00:00:00',
load_1min float NOT NULL default '0',
load_5min float NOT NULL default '0',
load_15min float NOT NULL default '0',
PRIMARY KEY (node_id, tstamp)
) TYPE = MyISAM;
#
# Table structure for table 'node_types'
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment