ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject ambari git commit: AMBARI-8300 - Alerts: Remove Nagios Remnants From Ambari Server Code (part 2) (jonathanhurley)
Date Thu, 13 Nov 2014 04:26:02 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 291974ee6 -> 16b84e77f


AMBARI-8300 - Alerts: Remove Nagios Remnants From Ambari Server Code (part 2) (jonathanhurley)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/16b84e77
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/16b84e77
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/16b84e77

Branch: refs/heads/trunk
Commit: 16b84e77f17d9636be4eea984d7dd4d3aae5fe26
Parents: 291974e
Author: Jonathan Hurley <jhurley@hortonworks.com>
Authored: Wed Nov 12 23:25:49 2014 -0500
Committer: Jonathan Hurley <jhurley@hortonworks.com>
Committed: Wed Nov 12 23:25:49 2014 -0500

----------------------------------------------------------------------
 .../ambari/server/controller/internal/AbstractProviderModule.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/16b84e77/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
index eb57877..cae9200 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
@@ -436,6 +436,8 @@ public abstract class AbstractProviderModule implements ProviderModule,
Resource
               this,
               PropertyHelper.getPropertyId("Clusters", "cluster_name")));
           providers.add(new NagiosPropertyProvider());
+          providers.add(new AlertSummaryPropertyProvider(type,
+              "Clusters/cluster_name", null));
           break;
         case Service:
           providers.add(new NagiosPropertyProvider());


Mime
View raw message