From cf6cc8c7c17e7e942d0018ddcfccecdbaee86a03 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 30 Jul 2007 05:22:32 +0000
Subject: [PATCH] Add two new configuration attributes, ds-cfg-enabled-alert-type and ds-cfg-disabled-alert-type to alert handler configuration entries.  If a set of enabled alert types is given, then only alerts with one of those types will be passed to the associated alert handler.  If a set of disabled alert types is given, then only alerts without one of those types will be passed to the associated alert handler.  If both enabled and disabled lists are provided, then only alerts with a type on the enabled list and not on the disabled list will be processed.

---
 opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/AlertHandlerConfiguration.xml |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/AlertHandlerConfiguration.xml b/opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/AlertHandlerConfiguration.xml
index f69c666..05ea2ab 100644
--- a/opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/AlertHandlerConfiguration.xml
+++ b/opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/AlertHandlerConfiguration.xml
@@ -85,5 +85,62 @@
     </adm:profile>
   </adm:property>
 
+  <adm:property name="enabled-alert-type" mandatory="false" multi-valued="true">
+    <adm:synopsis>
+      Specifies the names of the alert types that are enabled for this alert
+      handler.  If there are any values for this attribute, then only alerts
+      with one of the specified types will be allowed (unless they are also
+      included in the disabled alert types).  If there are no values for this
+      attribute, then any alerts with a type not included in the list of
+      disabled alert types will be allowed.
+    </adm:synopsis>
+    <adm:default-behavior>
+      <adm:alias>
+        <adm:synopsis>
+          All alerts with types not included in the set of disabled alert types
+          will be allowed.
+        </adm:synopsis>
+      </adm:alias>
+    </adm:default-behavior>
+    <adm:syntax>
+      <adm:string />
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:oid>1.3.6.1.4.1.26027.1.1.457</ldap:oid>
+        <ldap:name>ds-cfg-enabled-alert-type</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
+
+  <adm:property name="disabled-alert-type" mandatory="false"
+    multi-valued="true">
+    <adm:synopsis>
+      Specifies the names of the alert types that are disabled for this alert
+      handler.  If there are any values for this attribute, then no alerts with
+      any of the specified types will be allowed.  If there are no values for
+      this attribute, then only alerts with a type included in the set of
+      enabled alert types will be allowed, or if there are no values for the
+      enabled alert types option then all alert types will be allowed.
+    </adm:synopsis>
+    <adm:default-behavior>
+      <adm:alias>
+        <adm:synopsis>
+          If there is a set of enabled alert types, then only alerts with one of
+          those types will be allowed.  Otherwise, all alerts will be allowed.
+        </adm:synopsis>
+      </adm:alias>
+    </adm:default-behavior>
+    <adm:syntax>
+      <adm:string />
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:oid>1.3.6.1.4.1.26027.1.1.458</ldap:oid>
+        <ldap:name>ds-cfg-disabled-alert-type</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
+
 </adm:managed-object>
 

--
Gitblit v1.10.0