Ver Fonte

AMBARI-12956. Host Checks: should not warn on nagios, ganglia or puppet packages (aonishuk)

Andrew Onishuk há 9 anos atrás
pai
commit
e6fb3934ba

+ 1 - 1
ambari-agent/src/main/python/ambari_agent/HostInfo.py

@@ -143,7 +143,7 @@ class HostInfoLinux(HostInfo):
   # Set of default users (need to be replaced with the configured user names)
   DEFAULT_USERS = [
     "hive", "ambari-qa", "oozie", "hbase", "hcat", "mapred",
-    "hdfs", "rrdcached", "zookeeper", "flume", "sqoop", "sqoop2",
+    "hdfs", "zookeeper", "flume", "sqoop", "sqoop2",
     "hue", "yarn", "tez", "storm", "falcon", "kafka", "knox", "ams",
     "hadoop", "spark", "accumulo", "atlas", "mahout", "ranger", "kms"
   ]

+ 3 - 2
ambari-server/src/main/resources/custom_actions/scripts/check_host.py

@@ -89,12 +89,13 @@ class CheckHost(Script):
 
   # ignore required packages
   IGNORE_PACKAGES = [
-    "epel-release", "ambari-server", "ambari-agent"
+    "epel-release", "ambari-server", "ambari-agent", "nagios",
+    # ganglia related:
+    "ganglia", "libganglia", "libconfuse", "perl", "rrdtool", "python-rrdtool", "gmetad", "librrd", "rrdcached"
   ]
   
   # Additional packages to look for (search packages that start with these)
   ADDITIONAL_PACKAGES = [
-    "rrdtool", "rrdtool-python", "ganglia", "gmond", "gweb", "libconfuse",
     "ambari-log4j"
   ]