From 8793b32c8e8745e04571a30735b210f68b23ef92 Mon Sep 17 00:00:00 2001 From: vogelor <vogelor@ispconfig3> Date: Mon, 24 Nov 2008 12:51:48 -0500 Subject: [PATCH] Monitor Module now only shows the state of the "active" services Monitor Module now has system state --- install/sql/ispconfig3.sql | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/install/sql/ispconfig3.sql b/install/sql/ispconfig3.sql index 774b4a0..e7ccf33 100644 --- a/install/sql/ispconfig3.sql +++ b/install/sql/ispconfig3.sql @@ -1102,13 +1102,9 @@ `type` varchar(255) NOT NULL, `created` int(11) NOT NULL, `data` mediumtext NOT NULL, - `state` enum('unknown','ok','warning','critical', 'error') NOT NULL default 'unknown', + `state` enum('no_state', 'unknown', 'ok', 'info', 'warning', 'critical', 'error') NOT NULL default 'unknown', PRIMARY KEY (`server_id`,`type`,`created`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; - - -SET FOREIGN_KEY_CHECKS = 1; - @@ -1373,6 +1369,7 @@ INSERT INTO country VALUES ('ZW','ZIMBABWE','Zimbabwe','ZWE','716'); +SET FOREIGN_KEY_CHECKS = 1; -- Gitblit v1.9.1