add Load and Memory fields to Servers

This commit is contained in:
Isaac Connor 2017-10-24 11:58:44 -07:00
parent 59e50bbbef
commit 12fd1c151e
1 changed files with 6 additions and 0 deletions

View File

@ -457,6 +457,12 @@ CREATE TABLE `Servers` (
`Hostname` TEXT,
`Name` varchar(64) NOT NULL default '',
`State_Id` int(10) unsigned,
`Status` enum('Unknown','NotRunning','Running') NOT NULL default 'Unknown',
`Load` DECIMAL(5,1),
`TotalMem` bigint unsigned default null,
`FreeMem` bigint unsigned default null,
`TotalSwap` bigint unsigned default null,
`FreeSwap` bigint unsigned default null,
PRIMARY KEY (`Id`)
) ENGINE=@ZM_MYSQL_ENGINE@;