summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/defines.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/defines.inc.php')
-rw-r--r--frontends/php/include/defines.inc.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontends/php/include/defines.inc.php b/frontends/php/include/defines.inc.php
index 1b8bf426..76fbdc72 100644
--- a/frontends/php/include/defines.inc.php
+++ b/frontends/php/include/defines.inc.php
@@ -42,6 +42,17 @@
define("AUDIT_RESOURCE_ESCALATION_RULE",9);
define("AUDIT_RESOURCE_AUTOREGISTRATION",10);
+ define("CONDITION_TYPE_GROUP", 0);
+ define("CONDITION_TYPE_HOST", 1);
+ define("CONDITION_TYPE_TRIGGER", 2);
+ define("CONDITION_TYPE_TRIGGER_NAME", 3);
+ define("CONDITION_TYPE_TRIGGER_SEVERITY",4);
+ define("CONDITION_TYPE_TRIGGER_VALUE", 5);
+ define("CONDITION_TYPE_TIME_PERIOD", 6);
+
+ define("CONDITION_OPERATOR_EQUAL", 0);
+ define("CONDITION_OPERATOR_NOT_EQUAL", 1);
+
define("HOST_STATUS_MONITORED", 0);
define("HOST_STATUS_NOT_MONITORED", 1);
// define("HOST_STATUS_UNREACHABLE", 2);