From bdc8ceea3eb14af87b2161b9a1e07ba0bde664da Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Fri, 21 Mar 2014 14:53:43 +0000 Subject: [PATCH] 2014-03-21 Miguel de Dios * include/constants.php: added lost constant for "SERVICE_STATUS_ALERT". git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9629 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/constants.php | 1 + 2 files changed, 6 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d4503bab72..d1fb1a5fc8 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-03-21 Miguel de Dios + + * include/constants.php: added lost constant for + "SERVICE_STATUS_ALERT". + 2014-03-21 Miguel de Dios * godmode/reporting/visual_console_builder.wizard.php, diff --git a/pandora_console/include/constants.php b/pandora_console/include/constants.php index 3f30a42ef5..3cc5e5c644 100644 --- a/pandora_console/include/constants.php +++ b/pandora_console/include/constants.php @@ -218,6 +218,7 @@ define('SERVICE_STATUS_UNKNOWN', -1); define('SERVICE_STATUS_NORMAL', 0); define('SERVICE_STATUS_CRITICAL', 1); define('SERVICE_STATUS_WARNING', 2); +define('SERVICE_STATUS_ALERT', 4); //Default weights define('SERVICE_WEIGHT_CRITICAL', 1); define('SERVICE_WEIGHT_WARNING', 0.5);